characteristic
suspend fun Flow<ConnectableDevice?>.characteristic(serviceUUID: String, characteristicUUID: String): RemoteCharacteristic
Provides access to RemoteCharacteristic by service and characteristic string uuids. The method will suspend if characteristic is not available.
Return
the RemoteCharacteristic associated with serviceUUID and characteristicUUID
Parameters
serviceUUID
string service uuid representation
characteristicUUID
string characteristic uuid representation
Throws
if serviceUUID or characteristicUUID is not valid
if the characteristic cannot be found after discovery.