Closed Bug 1005848 (webbt-api-meta) Opened 11 years ago Closed 10 years ago

WebBluetooth API refinement

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ben.tian, Assigned: ben.tian)

References

()

Details

(Keywords: dev-doc-needed, Whiteboard: [webbt-api])

Attachments

(1 file, 5 obsolete files)

Refine WebBluetooth API to expose bluetooth socket API for applications to send and receive data. Phase 1: Complete API before pairing (included) and QA testing. Phase 2: Design and implement bluetooth socket API. The latest version of new API on mozilla wiki: https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2 5 parts to implement: 1) BT on/off + BluetoothManager 2) Get/Set properties in BluetoothAdapter 3) Discovery in BluetoothAdapter and BluetoothDevice 4) Pairing in BluetoothAdapter 5) Bluetooth socket and Bluetooth server socket (API is still under discussion)
Repository to work on: https://github.com/bentian/gecko-dev, master branch. Forked from mozilla/gecko-dev on github. commit: aba70549a99fdf5e181f8e1b5e483afd91435e6f
Summary: [meta][bluetooth] WebBluetooth API refinement → [meta] WebBluetooth API refinement
Depends on: 1006306
Alias: webbt-api → webbt-api-meta
Summary: [meta] WebBluetooth API refinement → WebBluetooth API refinement
Depends on: 1006310
Depends on: 1006312
Depends on: webbt-api-pairing
Depends on: 1009347
Blocks: 892172
Attached patch Dev patch (v1): Apply configuration for new API (obsolete) (deleted) — Splinter Review
This patch integrates 2 local patches in bug 1009347 (patch 5 & 6) to apply new API configuration. Note the patch is for development only and subject to change.
Attached patch Dev patch (v2): Apply configuration for new API (obsolete) (deleted) — Splinter Review
Changes: - modify dom/webidl/moz.build for Bluetooth*Events - avoid OOP initialization failure on debug build
Attachment #8426731 - Attachment is obsolete: true
Attachment #8427651 - Attachment is obsolete: true
Attachment #8426731 - Attachment is obsolete: false
Depends on: 1019376
Flags: sec-review?(ptheriault)
Depends on: webbt-test-onoff
Depends on: webbt-test-manager
Depends on: webbt-test-setprop
Attached patch Dev patch (v2): Apply configuration for new API (obsolete) (deleted) — Splinter Review
Update newapi config patch.
Attachment #8426731 - Attachment is obsolete: true
(In reply to Ben Tian [:btian] from comment #1) > Repository to work on: https://github.com/bentian/gecko-dev, master branch. > > Forked from mozilla/gecko-dev on github. > commit: aba70549a99fdf5e181f8e1b5e483afd91435e6f The repo is no longer in use. We are implementing new API under dom/bluetooth2/ folder.
Depends on: webbt-test-device
Bug 929376 requires |isConnected| provided for content process. Consider this when we design connection API.
Attached patch Dev patch (v3): Apply configuration for new API (obsolete) (deleted) — Splinter Review
Rebase on dom/ipc/moz.build change.
Attachment #8449117 - Attachment is obsolete: true
Rebase on dom/bindings/moz.build change.
Attachment #8461262 - Attachment is obsolete: true
Attachment #8465145 - Attachment is obsolete: true
No longer depends on: 1019376
Resolve this bug since all dependent bugs are fixed.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Blocks: 1053673
Move sec-review? flag to bug 1053673.
Flags: sec-review?(ptheriault)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: