map
abstract suspend fun map(characteristic: BluetoothGattCharacteristic?, data: ByteArray): Measurement?
Maps a Bluetooth GATT characteristic and its data to a measurement.
Return
The mapped measurement, or null if the mapping was unsuccessful.
Parameters
characteristic
The Bluetooth GATT characteristic to be mapped.
data
The byte array representing the data of the characteristic.