Opened 12 years ago

Last modified 6 years ago

#1916 new enhancement

[Bluetooth] Provide RSSI for discovered Bluetooth device

Reported by: andreasf Owned by: oruizdorantes
Priority: normal Milestone: Unscheduled
Component: Network & Internet/Bluetooth Version: R1/pre-alpha1
Keywords: Cc: oruizdorantes
Blocked By: Blocking:
Platform: All


In DeviceListener::DeviceDiscovered, please add support for retrieving the Received Signal Strength Indicator (RSSI), delivered by INQUIRY_RESULT_WITH_RSSI and newer HCI events.

BlueZ' D-Bus callback interface always provides it as argument and sets it to some invalid value for the legacy INQUIRY_RESULT.

Change History (6)

comment:1 by andreasf, 12 years ago

Sorry, in DiscoveryListener obviously.

comment:2 by oruizdorantes, 12 years ago

At the moment as you saw the most standard HCI events and commands are used. I am not sure if the RSSI features are supported by 1.0 or 1.1 dongles. But the kit can find out which version of the specs the device is supporing. So there would be no problem as you comment to use the extended version of those commands. And I am really willing to! showing the signal strench in the preferences will be so nice!

in reply to:  2 comment:3 by andreasf, 12 years ago

Cc: oruizdorantes added

Replying to oruizdorantes:

I am not sure if the RSSI features are supported by 1.0 or 1.1 dongles.

HCI 1.0/1.1 only support reading the RSSI of a connection. To my knowledge, there are three inquiry modes to date, and the devices I've seen all run in backward compatible mode, so that 1.2, 2.0 and 2.1 can work without this. The inquiry mode would later need to be changed via HCI command, depending on the HCI version read from the device or by trial-and-error.

But the most urgent thing to consider here is the method signature of the listener class. The actual implementation of the data acquisition is not as urgent, since it is hidden from the user.

comment:4 by oruizdorantes, 12 years ago

Owner: changed from axeld to oruizdorantes

comment:5 by modeenf, 8 years ago

Component: KitsNetwork & Internet/Bluetooth

comment:6 by luroh, 6 years ago

Milestone: R1Unscheduled

Moving Bluetooth related tickets out of R1 milestone.

Note: See TracTickets for help on using tickets.