dataFlow
Provides access to device data flow by service and characteristic string uuids. Only emits after services have been discovered.
Return
the Flow of the ByteArray value of the RemoteCharacteristic associated with serviceUUID and characteristicUUID. Flow throws NoSuchElementException if the characteristic cannot be found after discovery.
Parameters
string service uuid representation
string characteristic uuid representation
Throws
if serviceUUID or characteristicUUID is not valid
Provides access to device data flow T by service and characteristic string uuids. Only emits after services have been discovered.
Return
the Flow of the T value of the RemoteCharacteristic associated with serviceUUID and characteristicUUID. Flow throws NoSuchElementException if the characteristic cannot be found after discovery.
Parameters
string service uuid representation
string characteristic uuid representation
the BluetoothFormat to use to deserialize the ByteArray to T
Type Parameters
the type of the data to receive
Throws
if serviceUUID or characteristicUUID is not valid