ServicesDiscoveredPeripheral

class ServicesDiscoveredPeripheral

Functions

read
Link copied to clipboard
common
suspend fun read(characteristic: Characteristic): ByteArray
suspend fun read(descriptor: Descriptor): ByteArray
write
Link copied to clipboard
common
suspend fun write(descriptor: Descriptor, data: ByteArray)
suspend fun write(characteristic: Characteristic, data: ByteArray, writeType: WriteType = WriteType.WithoutResponse)