microbit-web-bluetooth
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

micro:bit Web Bluetooth

Circle CI npm License

Web Bluetooth library for micro:bit implementing the micro:bit Bluetooth Profile.

Prerequisites

Node.js > v8.14.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

Package Sidebar

Install

npm i microbit-web-bluetooth

Weekly Downloads

10

Version

0.6.0

License

MIT

Unpacked Size

1.33 MB

Total Files

75

Last publish

Collaborators

  • thegecko