Closed Bug 1159555 Opened 10 years ago Closed 10 years ago

[bluetooth2] |BluetoothGattService.characteristics| has duplicated characteristics if |BluetoothGatt.discoverServices()| is called more than once.

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1159552

People

(Reporter: brsun, Unassigned)

Details

This would be a similar issue to bug 1159552. |BluetoothGattService.characteristics| [1] has duplicated characteristics if |BluetoothGatt.discoverServices()| is called more than once. |BluetoothGattService.mCharacteristics| might need to be cleared in |BluetoothGattService::HandleCharacteristicsDiscovered()| [3] in Gecko. [1] https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothGattService#characteristics [2] https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothGatt#discoverServices.28.29 [3] https://dxr.mozilla.org/mozilla-central/source/dom/bluetooth/bluetooth2/BluetoothGattService.cpp#87
Handle this issue in bug 1159552.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.