-
Notifications
You must be signed in to change notification settings - Fork 804
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BT] Application level Watchdog Timer to avoid scan_evt timeout
Implement a BLE scan watchdog to bypass the problem related to the BLE scan hang scan_evt timeout This is a bypass solution to espressif/arduino-esp32#5860 The watchdog will restart the ESP if no new BLE messages has been added to the queue following: checked every 120s if we are after the last BLE message time + the BLE scan interval for passive if the process is not locked by an OTA update or other operation We restart the ESP We also remove the WDT0 enable and disable functions.
- Loading branch information
1 parent
95896e0
commit 145cd2b
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters