benchmarkGattRead
suspend fun benchmarkGattRead(peripheral: Peripheral, characteristic: Characteristic): BenchmarkResult
Measure the round-trip time for a GATT read operation.
Times a single Peripheral.read call from invocation to result.
Return
BenchmarkResult with elapsed read time.
Parameters
peripheral
A connected peripheral.
characteristic
The characteristic to read.