Closed Bug 932855 Opened 11 years ago Closed 9 years ago

[bluedroid] Support RSSI and device type field for BluetoothDevice

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: shawnjohnjr, Assigned: shawnjohnjr)

References

Details

Attachments

(2 files, 1 obsolete file)

Currently bluedroid stack returns RSSI and device type (to distinguish two different types, such as BR/EDR or LE device type). Actually bluez also returns these two fields. It is nice to have RSSI value and we can use RSSI to sort device lists. So use can see the nearest device on the top of device list.

10-30 10:58:08.400 I/Gecko   (  178): [Parent 178] WARNING: Not handling device property: Type: file ../../../../../workspace1/b2g-inbound/b2g-inbound-src/dom/bluetooth/BluetoothDevice.cpp, line 157
10-30 10:58:08.400 I/Gecko   (  178): [Parent 178] WARNING: Not handling device property: RSSI: file ../../../../../workspace1/b2g-inbound/b2g-inbound-src/dom/bluetooth/BluetoothDevice.cpp, line 157
Depends on: 931802
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Attachment #824744 - Attachment description: Support RSSI and device type field for BluetoothDevice → Part1: Support RSSI and device type field for BluetoothDevice
Bug 932855 - Part 1: Support RSSI and device type field for BluetoothDevice

Type field defines the following device types:
* BR/EDR
* LE
* BR/EDR/LE (a.k.a Dual mode)

Receive Signal Strength Indicator (RSSI) field defines signed 8-bit value,
and is interpreted as an indication of arriving signal strength at the antenna
measured in dBm. This field had been defined in both BREDR and LE spec, which is
required to expose.
Attachment #8343579 - Attachment description: Bug932855-Part1-webidl.patch → Bug 932855 - Part 1: Support RSSI and device type field for BluetoothDevice
This bug will be the first step to support Bluetooth 4.0 (aka BLE).
Comment on attachment 8343581 [details] [diff] [review]
Bug 932855 - Part 2: Support RSSI and device type field for BluetoothDevice

Hi Shawn,

Since BLE is scheduled to be implemented on Firefox OS 2.2, I'm going to cancel your review request for now. The patch should still work at that time, may need to rebase, though.

Thank you anyway :)
Attachment #8343581 - Flags: review?(echou)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: