Child

Nested interface representing a child measurement mapper.

This interface extends the MeasurementMapper interface and can be used to define specialized measurement mappers for specific types of measurements.

Functions

Link copied to clipboard
abstract suspend fun map(characteristic: BluetoothGattCharacteristic?, data: ByteArray): Measurement?

Maps a Bluetooth GATT characteristic and its data to a measurement.

Link copied to clipboard
abstract fun recognises(characteristic: BluetoothGattCharacteristic?): Boolean

Determines if the given Bluetooth GATT characteristic is recognized by the mapper.