New issue
Advanced search Search tips

Issue 619595 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

Blocking:
issue 364359



Sign in to add a comment

Need to convert error between NSError and BluetoothGattService::GattErrorCode

Project Member Reported by jlebel@chromium.org, Jun 13 2016

Issue description

OS: OS X

When going from CoreBluetooth to Chromium NSError should be converted into BluetoothGattService::GattErrorCode.
When faking errors in tests, BluetoothGattService::GattErrorCode should be converted into NSError.
 
For info, here's the possible errors returned by a GATT server (a remote peripheral) during Bluetooth low energy ATT transactions: https://developer.apple.com/reference/corebluetooth/cbatterror?language=objc

Comment 2 by jlebel@chromium.org, Mar 13 2017

CBErrorDomain also exists. I can't find the list of error codes for that domain.

https://www.google.fr/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=CBErrorDomain+codes&*

Related to crbug.com/585894

Comment 3 by jlebel@chromium.org, May 28 2017

Owner: jlebel@chromium.org
Project Member

Comment 4 by sheriffbot@chromium.org, May 28 2018

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)
Cc: jlebel@chromium.org
Owner: ----

Sign in to add a comment