BleTransport

interface BleTransport(source)

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.

Functions

Link copied to clipboard
abstract fun connect(address: String): Boolean
Link copied to clipboard
abstract fun disconnect()
Link copied to clipboard
abstract fun discoverServices(): Boolean
Link copied to clipboard
abstract fun hasCharacteristic(uuid: EucUuid): Boolean
Link copied to clipboard
abstract fun subscribe(uuid: EucUuid): Boolean
Link copied to clipboard
abstract fun write(uuid: EucUuid, bytes: ByteArray, preferredType: ProtocolWriteType): Boolean