MeasurementMapper

Component for mapping Bluetooth Low Energy (BLE) characteristics to measurements.

Inheritors

Types

Link copied to clipboard

Nested interface representing a child measurement mapper.

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.