connectAndAwait
abstract suspend fun connectAndAwait(device: BleDevice, timeoutMs: Long, onRegister: suspend () -> Unit = {}): BleConnectionState(source)
Connects to the given BleDevice and waits for a terminal state.
Connects to the given BleDevice and waits for a terminal state.