https://github.com/thegecko/microbit-web-bluetooth
Web Bluetooth library for micro:bit
https://github.com/thegecko/microbit-web-bluetooth
Last synced: 9 months ago
JSON representation
Web Bluetooth library for micro:bit
- Host: GitHub
- URL: https://github.com/thegecko/microbit-web-bluetooth
- Owner: thegecko
- License: mit
- Created: 2019-03-10T17:03:37.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-09-26T10:28:58.000Z (over 1 year ago)
- Last Synced: 2025-08-09T10:50:49.651Z (10 months ago)
- Language: TypeScript
- Homepage: https://thegecko.github.io/microbit-web-bluetooth/
- Size: 1.7 MB
- Stars: 57
- Watchers: 8
- Forks: 11
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-microbit - microbit-web-bluetooth - Web Bluetooth library implementing the micro:bit Bluetooth Profile. (🗿 JavaScript and MakeCode / 🗿 Node.js and Browser)
README
# micro:bit Web Bluetooth
[](https://www.npmjs.com/package/microbit-web-bluetooth)
[](https://spdx.org/licenses/MIT.html)
Web Bluetooth library for micro:bit implementing the [micro:bit Bluetooth Profile](https://lancaster-university.github.io/microbit-docs/resources/bluetooth/bluetooth_profile.html).
See the [microbit-web-components library](https://github.com/thegecko/microbit-web-components) for some ready-to-use web components which use this library.
## Prerequisites
[Node.js > v10.16.0](https://nodejs.org), which includes `npm`
## Getting Started
Refer to the [micro:bit Web Bluetooth API Documentation](https://thegecko.github.io/microbit-web-bluetooth/) for more information.
## Implementation Status
- [x] micro:bit Discovery
- [x] Service enumeration
### Device Information Service
- [x] Model Number
- [x] Serial Number
- [x] Hardware Revision
- [x] Firmware Revision
- [x] Manufacturer
### LED Service
- [x] LED Matrix State
- [x] LED Text
- [x] Scrolling Delay
### Button Service
- [x] Button A State
- [x] Button A State Changed Event
- [x] Button B State
- [x] Button B State Changed Event
### Temperature Service
- [x] Temperature
- [x] Temperature Changed Event
- [x] Temperature Period
### Accelerometer Service
- [x] Accelerometer Data
- [x] Accelerometer Data Changed Event
- [x] Accelerometer Period
### Magnetometer Service
- [x] Magnetometer Data
- [x] Magnetometer Data Changed Event
- [x] Magnetometer Period
- [x] Magnetometer Bearing
- [x] Magnetometer Bearing Changed Event
- [x] Magnetometer Calibration
### UART Service
- [x] Send
- [x] Receive Event
- [x] SendString
- [x] ReceiveString Event
### Event Service
- [x] MicroBit Requirements
- [x] MicroBit Event
- [x] Client Requirements
- [x] Client Event
### IO Pin Service
- [x] Pin Data
- [x] Pin Data Changed Event
- [x] Pin AD Configuration
- [x] Pin IO Configuration
- [x] PWM Control
### DFU Control Service
- [x] Request DFU
- [x] Request Flash Code