[SYS/BT] Semaphores and new BT Controller (#1819)

Add semaphore to the enqueue calls to avoid concurrency issues
Add new BT controller to avoid scan evt timeout bug
This commit is contained in:
Florian authored and GitHub committed 2023-12-01 07:15:07 -06:00
1 parent 5421f0e995
commit eb5b8fa291
45 files changed
+380 -91

No files matched your search

+1
View File
@@ -165,6 +165,7 @@ struct BTConfig_s {
bool ignoreWBlist; // Disable Whitelist & Blacklist
unsigned long presenceAwayTimer; //Timer that trigger a tracker/PIR state as offline/off if not seen
unsigned long movingTimer; //Timer that trigger a moving sensor state as offline if not seen
bool forcePassiveScan; //Force passive scan
};
// Global struct to store live BT configuration data