bluetooth: android: GattCharacteristicValueChanged should be called after reading a characteristic |
|||
Issue description
Google Chrome: 53.0.2767.6 (Build officiel) dev (32 bits)
Révision: 16512 caed1717282cb9be493bd17f8a93ff6fba9-refs/branch-heads/2767@{#11}
Système d'exploitation: Android 6.0.1; Nexus 5 Build/MOB30M
What steps will reproduce the problem?
(1) Go to https://beaufortfrancois.github.io/samples/web-bluetooth/read-characteristic-value-changed.html
(2) Make sure a nearby BLE devic contains Battery Service
(3) Click "Read Bluetooth Device's Battery Level" button
(4) Select device in the chooser, click "Pair"
What is the expected output?
Battery Level Characteristic is read.
What do you see instead?
"Reading Battery Level..." is the last message.
For info, this sample works great on Chrome OS.
,
Jun 22 2016
,
Jun 24 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/32321de73aacae1e87fca09045658aeeb6858575 commit 32321de73aacae1e87fca09045658aeeb6858575 Author: ortuno <ortuno@chromium.org> Date: Fri Jun 24 18:35:31 2016 bluetooth: Call GattCharacteristicValueChanged after a read succeeds Adds a call to NotifyGattCharacteristicValueChanged before calling the callback for ReadRemoteCharacteristic. BUG= 622217 Review-Url: https://codereview.chromium.org/2085293002 Cr-Commit-Position: refs/heads/master@{#401911} [modify] https://crrev.com/32321de73aacae1e87fca09045658aeeb6858575/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc [modify] https://crrev.com/32321de73aacae1e87fca09045658aeeb6858575/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc [modify] https://crrev.com/32321de73aacae1e87fca09045658aeeb6858575/device/bluetooth/bluetooth_remote_gatt_characteristic_win.cc [modify] https://crrev.com/32321de73aacae1e87fca09045658aeeb6858575/device/bluetooth/test/test_bluetooth_adapter_observer.h
,
Jun 24 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by ortuno@chromium.org
, Jun 22 2016Status: Started (was: Available)