benchmarkDiscovery
suspend fun benchmarkDiscovery(peripheral: Peripheral): Pair<BenchmarkResult, List<DiscoveredService>>
Measure the time to discover services after connection.
Times Peripheral.refreshServices from invocation to populated list.
Return
Pair of BenchmarkResult and discovered services.
Parameters
peripheral
A connected peripheral.