Package-level declarations
Types
Link copied to clipboard
object BLEConstants
Constants and helper functions for BLE operations specific to Electric Unicycles.
Link copied to clipboard
Link copied to clipboard
@RequiresOptIn(message = "Internal euc-ble API intended for platform connectors only.", level = RequiresOptIn.Level.ERROR)
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY] )
Marks core declarations that exist for platform connectors (e.g. euc-ble-android) and are not part of the stable public API. They may change without notice.
Link copied to clipboard
No-op logger for testing or environments without logging
Link copied to clipboard
Link copied to clipboard
data class TrafficEvent(val sequence: Long, val timestampMs: Long, val direction: TrafficDirection, val characteristicUuid: EucUuid, val bytes: ByteArray)
One BLE notification chunk (RX) or write accepted by Android (TX), without reassembly. TX does not confirm delivery to, or execution by, the wheel.