Node.js implementation of the Web Bluetooth Specification
Node.js > v8.14.0, which includes npm
.
$ npm install webbluetooth
See the examples or view the API documentation at:
https://thegecko.github.io/webbluetooth/
The Web Bluetooth specification can be found here:
https://webbluetoothcg.github.io/web-bluetooth/
- referringDevice - specification unstable
- getAvailability() - specification unstable
- requestDevice()
- getDevices()
- RequestDeviceOptions.name
- RequestDeviceOptions.namePrefix
- RequestDeviceOptions.services
- RequestDeviceOptions.optionalServices
- RequestDeviceOptions.acceptAllDevices
- RequestDeviceOptions.manufacturerData - specification unstable
- RequestDeviceOptions.serviceData - specification unstable
- id
- name
- gatt
- watchingAdvertisements - specification unstable
- watchAdvertisements() - specification unstable
- unwatchAdvertisements() - specification unstable
- connected
- device
- connect()
- disconnect()
- getPrimaryService()
- getPrimaryServices()
- device
- uuid
- isPrimary
- getCharacteristic()
- getCharacteristics()
- getIncludedService()
- getIncludedServices()
- service
- uuid
- properties
- value
- getDescriptor()
- getDescriptors()
- readValue()
- writeValue()
- writeValueWithResponse()
- writeValueWithoutResponse()
- startNotifications()
- stopNotifications()
- characteristic
- uuid
- value
- readValue()
- writeValue()
- availabilitychanged
- gattserverdisconnected
- advertisementreceived - specification unstable
- serviceadded
- servicechanged - unsupported in noble
- serviceremoved - unsupported in noble
- characteristicvaluechanged
- Device selector hook
- Lookups for known services, characteristics and descriptors
- Canonical UUID helper
- Examples
- API Documentation