mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor(ble): increase default timeout for BLE profiling (#4728)
This commit is contained in:
parent
a854c839e4
commit
dfab02bfb4
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ class BleConnection(
|
|||
@Suppress("TooGenericExceptionCaught")
|
||||
suspend fun <T> profile(
|
||||
serviceUuid: Uuid,
|
||||
timeout: kotlin.time.Duration = 10.seconds,
|
||||
timeout: kotlin.time.Duration = 30.seconds,
|
||||
setup: suspend CoroutineScope.(no.nordicsemi.kotlin.ble.client.RemoteService) -> T,
|
||||
): T {
|
||||
val p = peripheralFlow.first { it != null }!!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue