writeValue fails on Android N Developer Preview 2 |
||
Issue descriptionVersion: Chrome 51.0.2693.2 OS: Android 6.0.99; Build/NPC91K Devices: Nexus 5X, Nexus 6P, Nexus 9 What steps will reproduce the problem? (1) Go to https://webbluetoothcg.github.io/demos/playbulb-candle/ (2) Click "Connect" button, pick nearby Candle (3) Pick a color What is the expected output? Candle should change color. What do you see instead? It's not. writeValue doesn't resolve the first time. Next time, it fails with JS error "Uncaught (in promise) DOMException: GATT operation already in progress." Here's the adb log: 05-17 19:57:48.177 3170 3821 E bt_att : GATT_Write Illegal param: conn_id 5, type 00, 05-17 19:57:48.177 3170 3821 E bt_btif : No pending command
,
May 18 2016
Also see https://developer.android.com/preview/support.html, which says, "Bluetooth Low Energy (LE) GATT characteristics are using the wrong write type and will not be sent to a remote device. Thus, for example, some fitness devices will not work."
,
May 18 2016
Developer Preview 3 resolves these issues. |
||
►
Sign in to add a comment |
||
Comment 1 by fbeaufort@chromium.org
, May 18 2016