Skip to main content

BLE Toolkit

Bluetooth Low Energy scanning and communication — discover devices, connect, read/write characteristics, and subscribe to notifications. Requires @stoprocent/noble as an optional peer dependency.

Quick Start


Config

number
default:"5000"
Default scan duration in milliseconds.
string[]
default:"[]"
Only discover devices advertising these service UUIDs.

Tools


Workflow

A typical BLE interaction follows this pattern:

Example: Reading a Temperature Sensor

Subscribing to Notifications

For real-time data (e.g., heart rate monitor), use ble_notify: