Closed Bug 1006313 (webbt-api-pairing) Opened 10 years ago Closed 10 years ago

Implement pairing

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ben.tian, Unassigned)

References

Details

(Whiteboard: [webbt-api])

* Pairing: https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter

Event handlers:
  attribute EventHandler ondevicepaired;
  attribute EventHandler ondeviceunpaired;
  [AvailableIn=CertifiedApps]
  attribute EventHandler ondisplaypasskeyreq;
  [AvailableIn=CertifiedApps]
  attribute EventHandler onenterpasskeyreq;
  [AvailableIn=CertifiedApps]
  attribute EventHandler onpairingconfirmationreq;
  [AvailableIn=CertifiedApps]
  attribute EventHandler onpairingconsentreq;
Methods:
  Promise<void> pair(DOMString aAddress);
  Promise<void> unpair(DOMString aAddress);
  // BluetoothDevice[]
  Promise<any> getPairedDevices();
Whiteboard: [webbt-api]
Alias: webbt-api-pairing
Depends on: 1033898
Depends on: 1033899
Divide this bug into bug 1033898 and bug 1033899. Also the API has been revised since comment 0.
Resolve this bug since all dependent bugs are fixed.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.