Package-level declarations

Types

Link copied to clipboard
object BleConfig
Link copied to clipboard
Link copied to clipboard

Cross-platform BLE radio state aligned with iOS platform.CoreBluetooth.CBManagerState. Android maps android.bluetooth.BluetoothAdapter states into the closest equivalent.

Link copied to clipboard
Link copied to clipboard
class BlueLink(iOSIHeartbeatParser: IHeartbeatParser?)

BlueLink class - Acts as an interface between the BlueLink library and implementers.

Link copied to clipboard

Enum to represent the connection status of a device.

Link copied to clipboard
class BlueLinkProvider(heartbeatParser: IHeartbeatParser? = null) : KoinComponent
Link copied to clipboard
data class BluetoothAdvertisement(val uniqueIdentifier: UInt, val deviceStateCounter: UShort, val serverStateCounter: UShort, val signalingByte: UByte, val deviceModeByte: UByte? = null, val deviceStateByte: UByte? = null)
Link copied to clipboard
actual class BluetoothDevice
actual class BluetoothDevice
expect class BluetoothDevice
Link copied to clipboard
Link copied to clipboard
data class DeviceFirmwareVersion(val major: Int, val minor: Int, val revision: Int, val build: Int)
Link copied to clipboard

Matches heartbeat.proto DeviceStateBit masks.

Link copied to clipboard

Matches heartbeat.proto OverridingMode (nibble in Device Mode Byte bits 7–4).

Functions

Link copied to clipboard
fun blueLinkModule(): Module
Link copied to clipboard