Introduction
What Agnostic Web BLE is, what it refuses to be, and where to start.
Agnostic Web BLE gives web applications one Bluetooth Low Energy API across different runtime adapters.
Your application describes how it wants to talk to a device — request, connect, discover, read, write, subscribe. An adapter translates that into whatever the current runtime actually provides. Application code never branches on browser names.
It is not a BLE protocol implementation, a polyfill, or a device SDK. It is the line between device logic and runtime logic.
Where to start
- Installation — add the package and create a client.
- First connection — request, connect, and read a value.
- Notifications — subscribe to characteristic changes.
- Error handling — every failure is a typed
BluetoothError.