Package-level declarations

Types

Link copied to clipboard

Little-endian byte cursor for parsing BLE characteristic payloads.

Link copied to clipboard
data class BleDateTime(val year: Int, val month: Int, val day: Int, val hours: Int, val minutes: Int, val seconds: Int)

Date/time as defined in the Bluetooth GATT specification (org.bluetooth.characteristic.date_time).

Functions

Link copied to clipboard
fun floatToFloat(raw: Long): Float?

Converts a 32-bit IEEE 11073-20601 FLOAT to a Float.

Link copied to clipboard
fun sfloatToFloat(raw: Int): Float?

Converts a 16-bit IEEE 11073-20601 SFLOAT to a Float.