WebBluetoothPeripheral
Properties
Platform specific identifier for the remote peripheral. On some platforms, this can be used to "restore" a previously known peripheral for reconnection.
CoroutineScope tied to the lifecycle of this Peripheral (is cancelled upon Peripheral being disposed via close).
The list of services (GATT profile) which have been discovered on the remote peripheral.
Provides a conflated Flow of the Peripheral's State.
Functions
Disconnects the active connection, or cancels an in-flight connection attempt, suspending until Peripheral has settled on a disconnected state.
Return the current ATT MTU size, minus the size of the ATT headers (3 bytes).
Observes changes to the specified Characteristic.
Reads data from characteristic.
Reads data from descriptor.
Writes data to descriptor.
Writes data to characteristic.