B2G/Bluetooth/WebBluetooth-v2
From MozillaWiki
Contents
API Overview
The Web Bluetooth API allows to discover, pair, and connect to bluetooth devices. As it is a completely experimental and non-standard API, it is currently available for certified applications only. The main entry point for the API is the navigator.mozBluetooth property, which returns a BluetoothManager object.
- Intro slides: pdf
Interfaces
- BluetoothManager
- BluetoothAdapter
- BluetoothDevice
- BluetoothClassOfDevice (CoD)
- BluetoothDiscoveryHandle
- BluetoothPairingListener
- BluetoothGatt
- BluetoothGattServer
- BluetoothGattService
- BluetoothGattCharacteristic
- BluetoothGattDescriptor
- Events
Discussion
Use Cases
Implementation
- Implementation on B2G is tracked on bugzilla (Bug 1005848).
- Roadmap (google doc)
- Gatt API Schedule (google doc)
See also
- WebBluetooth API (MDN)
- WebBluetooth API (MozillaWiki)
- WebIDL Bindings (MDN)
- Promise (MDN)
Google Bluetooth APIs
- Design doc
- Draft Community Group Report proposed to W3C Bluetooth Community Group
- Chrome bluetooth API
- Bluetooth-related IDL files: bluetooth.idl, bluetooth_low_energy.idl, bluetooth_socket.idl, and bluetooth_private.json.
- Meeting note (Aug 6) between Chrome and Mozilla folks