New issue
Advanced search Search tips

Issue 612659 link

Starred by 0 users

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 0
Type: Bug



Sign in to add a comment

writeValue fails on Android N Developer Preview 2

Project Member Reported by fbeaufort@chromium.org, May 18 2016

Issue description

Version: 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
 
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."

Comment 3 by scheib@chromium.org, May 18 2016

Status: WontFix (was: Available)
Developer Preview 3 resolves these issues.

Sign in to add a comment