Optionaldevice: BluetoothDeviceConnects to the device.
Disconnects from the device.
Reads data from a specific characteristic.
The characteristic UUID to read.
Subscribes to notifications from the Boks device (Notify Characteristic).
Function called when data is received.
Subscribes to notifications from a specific characteristic.
The characteristic UUID to subscribe to.
Function called when data is received.
Sends data to the Boks device (Write Characteristic).
The raw bytes to send.
Implementation of BoksTransport using the Web Bluetooth API.