New issue
Advanced search Search tips

Issue 771222 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 569709



Sign in to add a comment

Abstract GATT error handling in device/bluetooth

Project Member Reported by cco3@chromium.org, Oct 3 2017

Issue description

Right now bluetooth gatt errors are translated and surfaced entirely by the implementing subclass (e.g., the class that handles bluez gatt operation translates bluez errors into web bluetooth specific error).

However, there are a standard set of GATT errors (BT 4.2 Vol 3 Part F 3.4.1.1 Error Response), and there is a standard translation to Web Bluetooth errors.
https://webbluetoothcg.github.io/web-bluetooth/#error-handling

We should have some degree of abstraction so that errors conforming to the standard BT GATT errors are translated to the appropriate Web Bluetooth errors without the work of the implementing subclass.

Once this is working, we should be able to remove most of the GATT error handling logic in device/bluetooth/test.
 

Comment 1 by cco3@chromium.org, Oct 4 2017

Blocking: 569709
Status: Available (was: Untriaged)
Project Member

Comment 3 by sheriffbot@chromium.org, Oct 8

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment