2008-06-22 22:41:22

by David Stockwell

[permalink] [raw]
Subject: Re: [Bluez-devel] RSSI value in floating point

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
----- Original Message -----
From: Khairulmizam Samsudin
To: BlueZ development
Sent: Saturday, June 21, 2008 8:59 PM
Subject: Re: [Bluez-devel] RSSI value in floating point


1. Thanks. That saved me a lot of time
2. Assuming that I purchase a development kit. Would it be possible to modify bluetooth stack to achieve the objective?

Regards
xource

Marcel Holtmann wrote:
Hi,

I have inspect bluez-libs codes and seems that some modification can
make it happen. However, would the devices it self return RSSI in
floating point?

simple answer is no. The RSSI is a signed integer.

Regards

Marcel



-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


Attachments:
RSSI.JPG (52.04 kB)
(No filename) (247.00 B)
(No filename) (164.00 B)
Download all attachments