Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

thegecko/microbit-web-bluetooth

Open more actions menu

Repository files navigation

micro:bit Web Bluetooth

npm License

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

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.