Skip to content

thegecko/microbit-web-bluetooth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jul 21, 2024
26e9481 · Jul 21, 2024

History

75 Commits
Jul 7, 2024
Jul 21, 2024
Nov 10, 2020
Jul 21, 2024
Jul 7, 2024
Apr 28, 2019
Jul 21, 2024
Jul 21, 2024
May 6, 2023
Jul 7, 2024
Mar 11, 2019
Jul 7, 2024
Jul 21, 2024
Jul 7, 2024
Jul 7, 2024
Apr 28, 2019
Jul 7, 2024

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