TimedRead

data class TimedRead(val value: ByteArray, val sentNs: Long, val receivedNs: Long)

One characteristic read with the host's monotonic clock around it, from GattConnection.readTimed.

Constructors

Link copied to clipboard
constructor(value: ByteArray, sentNs: Long, receivedNs: Long)

Properties

Link copied to clipboard

System.nanoTime() when the reply arrived.

Link copied to clipboard

System.nanoTime() when the request left for the device.

Link copied to clipboard

the characteristic's bytes.