Implement pairing in BluetoothAdapter and BluetoothPairingRequestListeningHandle

RESOLVED FIXED

Status

RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: ben.tian, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [webbt-api])

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
* Pairing: https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#pair.28DOMString_aDeviceAddress.29

Attributes:
  [AvailableIn=CertifiedApps]
  readonly attribute BluetoothPairingRequestListeningHandle pairingReqs; 
Event handlers:
  attribute EventHandler ondevicepaired;
  attribute EventHandler ondeviceunpaired;
Methods:
  Promise<void> pair(DOMString aAddress);
  Promise<void> unpair(DOMString aAddress);
  // BluetoothDevice[]
  Promise<any> getPairedDevices();

* BluetoothPairingRequestListeningHandle: https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothPairingRequestListeningHandle
(Reporter)

Updated

5 years ago
Assignee: nobody → btian
Whiteboard: [webbt-api]
(Reporter)

Updated

5 years ago
Depends on: 1036228
(Reporter)

Updated

5 years ago
Depends on: 1036233
(Reporter)

Updated

5 years ago
Depends on: 1036234
(Reporter)

Comment 1

5 years ago
De-assign myself since Jamin and Jocelyn are working on dependent bugs.
Assignee: btian → nobody
Created attachment 8456057 [details]
Changes of Pairing Process.pdf

Attach the pdf that described recent changes on our pairing process in implementation point of view.
(Reporter)

Comment 3

4 years ago
Resolve this bug since all dependent bugs are fixed.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.