manniru / bluecove

Automatically exported from code.google.com/p/bluecove
0 stars 0 forks source link

Exception on using RemoteDeviceHelper.getRSSI(); #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. System.out.println("RSSI"+ RemoteDeviceHelper.readRSSI(device));

2. LocalDevice.getProperty("bluecove.nativeFunction:getRemoteDeviceRSSI:" + 
deviceAddress)   /// returns null   

What is the expected output? What do you see instead?
int to represent the RSSI value instead exceptio appears

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

What BlueCove version are you using (include build number for SNAPSHOT)? On 
what operating system and jvm? Is this 64-bit or 32-bit OS and jvm?

windowsXP jvm 1.6.0_03  BlueCovev 2.1.1 snapshot  

Please provide any additional information below.
Please use "Attach a file" when uploading stack traces or other big files!

does .getRSSI works on windows platform?

Original issue reported on code.google.com by Hinna.Kh...@gmail.com on 4 Nov 2009 at 4:28

GoogleCodeExporter commented 9 years ago
This API Extension is only available on WIDCOMM/windows, Mac and Linux.
Will not work on MS stack.

@see com.intel.bluetooth.BluetoothStack#getFeatureSet()
FEATURE_RSSI

or  LocalDevice.getProperty("bluecove.feature.rssi")

Original comment by skarzhev...@gmail.com on 8 Jan 2010 at 5:15