Closed Bug 933357 Opened 6 years ago Closed 5 years ago

[bluedroid] Support GATT Client API

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: shawnjohnjr, Assigned: yrliou)

References

Details

(Whiteboard: [webbt-api])

Attachments

(2 files, 4 obsolete files)

[bluedroid] Support GATT Client API
Assignee: nobody → shuang
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Assignee: shuang → nobody
Assignee: nobody → shuang
Blocks: 892172
Depends on: 1054830
Steal this bug from Shawn.
Assignee: shuang → btian
Whiteboard: [webbt-api]
Depends on: 1061481
We'll implement GATT client API based on https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2.

The implementation will be based on prior WebBluetooth API refinement (bug 1005848) under dom/bluetooth2 with default build pref off. To enable building refined API, please apply the patch in bug 1053673.
Depends on: 1063444
Depends on: 1063449
Depends on: 1082999
Assign to Jocelyn since she's actively working on this bug.
Assignee: btian → nobody
Depends on: 1114515
Assignee: nobody → joliu
Depends on: 1136514
Depends on: 1139298
Depends on: 1159650
Attachment #8376157 - Attachment is obsolete: true
* Upload Dev patch1-3 for developers to try on GATT client API.

Note that patch3 is just for your convenience while developing apps, GATT API will be certified only first before we finish the security review.
Depends on: 1165848
Depends on: 1163499
Comment on attachment 8605035 [details] [diff] [review]
[Dev] Patch3: Expose bluetooth permission to priviledged apps

Mark obsolete since we could declare our apps as certified apps using WebIDE.
Attachment #8605035 - Attachment is obsolete: true
- enable bluetooth API v2 for L builds.
Attachment #8605032 - Attachment is obsolete: true
When can we expect Bluetooth v2 with LE in FxOS?
Michal,

GATT client API is already on m-c and you can access peripheral sensors via it. See [1] for API documentation and [2][3][4] for several demo apps.

[1] https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2
[2] WoT.JS - Evan Tseng [:evanxd]: http://wotjs.io/ (Bluetooth Helper to control arduino)
[3] WebLE-drone - Sean Lee [:selee], TzuLin Huang [:dwi2]: https://github.com/weilonge/RollingSpider
[4] BLE Explorer - Eddie Lin [:elin]: https://github.com/elin-moco/ble-explorer

Let us know for any further question.
Resolve this bug since all dependent bugs are resolved.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.