mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
ESP32 BLE handles are not stable across sleep - force refresh
This commit is contained in:
parent
75576efabe
commit
68ed9d5333
1 changed files with 1 additions and 1 deletions
|
|
@ -387,7 +387,7 @@ class BluetoothInterface(val service: RadioInterfaceService, val address: String
|
|||
info("Connected to radio!")
|
||||
|
||||
if (needForceRefresh) { // Our ESP32 code doesn't properly generate "service changed" indications. Therefore we need to force a refresh on initial start
|
||||
needForceRefresh = false
|
||||
//needForceRefresh = false // In fact, because of tearing down BLE in sleep on the ESP32, our handle # assignments are not stable across sleep - so we much refetch every time
|
||||
forceServiceRefresh()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue