The constraint is actually in the Bluetooth
Specification, which specifies that RSSI is a single signed octet (byte) with a
range of -127 to +127 in dB. I have attached a screenshot of the section
for you.
If you wish, you can return the signed integer
returned from BlueZ and convert it yourself to a float, but recognize that the
underlying value is an integer.
If you have not done so already, suggest you get a
copy of the Bluetooth specification, which describes the BT protocol and stack
in detail. The specification is available from the Bluetooth SIG, at http://www.bluetooth.org/
Best regards,
David Stockwell
|
Attachment:
RSSI.JPG
Description: JPEG image
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
_______________________________________________ Bluez-devel mailing list Bluez-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/bluez-devel