Awesome
micro:bit Web Bluetooth
Web Bluetooth library for micro:bit implementing the micro:bit Bluetooth Profile.
See the microbit-web-components library for some ready-to-use web components which use this library.
Prerequisites
Node.js > v10.16.0, which includes npm
Getting Started
Refer to the micro:bit Web Bluetooth API Documentation for more information.
Implementation Status
- micro:bit Discovery
- Service enumeration
Device Information Service
- Model Number
- Serial Number
- Hardware Revision
- Firmware Revision
- Manufacturer
LED Service
- LED Matrix State
- LED Text
- Scrolling Delay
Button Service
- Button A State
- Button A State Changed Event
- Button B State
- Button B State Changed Event
Temperature Service
- Temperature
- Temperature Changed Event
- Temperature Period
Accelerometer Service
- Accelerometer Data
- Accelerometer Data Changed Event
- Accelerometer Period
Magnetometer Service
- Magnetometer Data
- Magnetometer Data Changed Event
- Magnetometer Period
- Magnetometer Bearing
- Magnetometer Bearing Changed Event
- Magnetometer Calibration
UART Service
- Send
- Receive Event
- SendString
- ReceiveString Event
Event Service
- MicroBit Requirements
- MicroBit Event
- Client Requirements
- Client Event
IO Pin Service
- Pin Data
- Pin Data Changed Event
- Pin AD Configuration
- Pin IO Configuration
- PWM Control
DFU Control Service
- Request DFU
- Request Flash Code