Skip to content

createBle

function createBle(hooks): Transport;

Defined in: src/transports/bleTransport.ts:37

Build a Transport from BLE I/O hooks. BLE notifications are already whole companion frames, so there is no framing here. The user owns the connection; state defaults to ‘connected’ (you have characteristics to talk to) and follows watchState thereafter.

ParameterType
hooksBleHooks

Transport