New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 779416 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

external updates to BluetoothRemoteGATTCharacteristic.value not being reflected properly

Reported by pat...@microsoft.com, Oct 29 2017

Issue description

Chrome Version       : 63.0.3235.0
OS Version: OS X 10.12.1
URLs (if applicable) :https://output.jsbin.com/cabakum

What steps will reproduce the problem?
1. hit connect
2.
3.

What is the expected result?
you should get an alert


What happens instead of that?
nothing



Please provide any additional information below. Attach a screenshot if
possible.

This is an attempt to use the bluetooth GATT API for the Anova sous-vide device. It's unusual, in that all communication with the device is over a single gatt characteristic. If you attempt to use a read operation (like shown in the above jsbin demo), you do something like  char.writeValue('read  temp\r' (full api outline available here (https://github.com/dfrankland/sous-vide/blob/master/docs/ble.md). After you have written it, the device updates the `.value` property of the characteristic. Chrome never updates this, thereby making it impossible to read any values form the device. All write operations work without a problem.


UserAgentString: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3235.0 Safari/537.36



 
jsbin.cabakum.2.html
1.2 KB View Download

Comment 1 by scheib@chromium.org, Oct 29 2017

Components: Blink>Bluetooth
Cc: sc00335...@techmahindra.com
Labels: Needs-Feedback Triaged-ET Needs-Triage-M63
Unable to reproduce this issue on reported version 63.0.3235.0 and on latest cnary 64.0.3253.0 using Mac 10.12.6 with steps mentioned below. Attaching screencast for reference.

1.Naviagted to https://output.jsbin.com/cabakum.
2. Clicked on connect and observed an alert to Pair/Cancel.

@Reporter: Could you please check the screencast and let us know if we missed anything. Also, could you please confirm whether this works on any other browser.

Thanks!
Issue 779416.mp4
399 KB View Download
I wasn't clear. This has nothing to do with that popup. You need an anova in order to replicate this issue. Once you pair of, it will automatically try to read the temperature of the device. If that succeeds, you will get an alert()
Project Member

Comment 4 by sheriffbot@chromium.org, Oct 30 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "sc00335628@techmahindra.com" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by ortuno@chromium.org, Oct 30 2017

A characteristic value is only updated when a user reads from the peripheral or when we receive a notification from the peripheral.

My guess is that the sous-vide API first subscribes to notifications from the characteristic. So you will have to that as well.

To subscribe to notifications just call chracteristic.starNotifications().

Comment 6 by ortuno@chromium.org, Oct 30 2017

Status: WontFix (was: Unconfirmed)
Also marking as won't fix since the problem is not in Chrome.

Sign in to add a comment