Package-level declarations

Types

Link copied to clipboard
interface BleTransport

Synchronous BLE stack boundary. Boolean results mean stack acceptance, not wheel confirmation. The connector feeds connection, discovery, notification and write-ack callbacks into its driver.

Link copied to clipboard
class ConnectionSession(random: EucRandom, reconnectPolicy: ReconnectPolicy = ReconnectPolicy())

Transport-free connection/reconnect policy. All deadlines use caller-supplied monotonic time.

Link copied to clipboard
class PollingEngine(manufacturer: String, outputCapacity: Int = DEFAULT_OUTPUT_CAPACITY)

Synchronous polling state owned by the session module. The driver supplies monotonic time and writes.

Link copied to clipboard
class ProtocolSelector<P : EucProtocolSpec>(protocols: List<P>, logger: Logger)

Session-owned selection over plain GATT snapshots; notification setup belongs to the connector.

Link copied to clipboard
class ProtocolSession(val protocol: SyncEucProtocol, timerCapacity: Int = 32)

Synchronous protocol session; the caller serializes inputs and supplies monotonic time.

Link copied to clipboard
class ReconnectPolicy(baseDelayMs: Long = BLEConstants.RECONNECT_BASE_DELAY_MS, maxDelayMs: Long = BLEConstants.MAX_RECONNECT_DELAY_MS, jitterMaxMs: Int = BLEConstants.RECONNECT_JITTER_MAX_MS.toInt())

Session reconnect policy; the connector performs connection I/O.

Link copied to clipboard

Evaluates speed measurements using a session-supplied monotonic clock.

Link copied to clipboard
Link copied to clipboard
class WriteQueue<T>(capacity: Int = 64)

Bounded, synchronous write policy. The connector supplies time, submissions and acknowledgments.