[SERIAL] Improve communication robustness (#2079)

-Add a semaphore to avoid msg overlap
-Clean partial buffer
-Enable erase and restart of the secondary module from the primary

Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
FlorianandFlorian authored and GitHub committed 2024-10-03 09:47:22 -05:00
1 parent fcc09df02c
commit 4e090eda3c
3 files changed
+110 -60

No files matched your search

+1 -1
View File
@@ -852,7 +852,7 @@ void setupBTTasksAndBLE() {
procBLETask, /* Function to implement the task */
"procBLETask", /* Name of the task */
# if defined(USE_ESP_IDF) || defined(USE_BLUFI)
12500,
13500,
# else
8500, /* Stack size in bytes */
# endif