Exception on using RemoteDeviceHelper.getRSSI();

View: New views
1 Messages — Rating Filter:   Alert me  

Exception on using RemoteDeviceHelper.getRSSI();

by Hina Khalid :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

public void deviceDiscovered(RemoteDevice device, DeviceClass devClass) {
        try {System.out.println("<<<<<<<<<<<"+ device.getFriendlyName(false));
          System.out.println("RSSI"+ RemoteDeviceHelper.readRSSI(device));
        
            Log.add("Device discovered: " + device.getFriendlyName(false));
        } catch (IOException ex) {
            ex.printStackTrace();
            //Logger.getLogger("global").log(Level.SEVERE, null, ex);
        }



on using the remoteDeviceHelper in bluecove 2.1.1 following exception appears



com.intel.bluetooth.NotSupportedIOException: Not Supported on winsock
        at com.intel.bluetooth.RemoteDeviceHelper.readRSSI(RemoteDeviceHelper.java:570)
        at com.substanceofcode.bluetooth.BluetoothBrowser.deviceDiscovered(BluetoothBrowser.java:47)
        at com.intel.bluetooth.BluetoothStackMicrosoft$3.runDeviceInquiry(BluetoothStackMicrosoft.java:423)
        at com.intel.bluetooth.DeviceInquiryThread.run(DeviceInquiryThread.java:103)


--
Hina Khalid
Lecturer
Department of Computer Science & Engineering
UET, Lahore

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Placelab-users mailing list
Placelab-users@...
https://lists.sourceforge.net/lists/listinfo/placelab-users