Apply busy radio settings and recover service starts automatically
Save valid busy RX, fast-switch and Companion tuple changes once, then apply the latest accepted intent at a safe radio gap. Preserve checked-save rollback, runtime RXEN intent, TempRadio ownership and exact remote reply delivery. Repair failed preamble compensation without hiding uncertain saves. Retry WebConfig, MQTT and NimBLE startup failures automatically. Preserve explicit off choices, OTA ownership and the latest WiFi credentials through cooperative shutdown. Add regression coverage and update command guides. Validation: focused host transaction, rollback, ownership and lifecycle suites; Full RAK4631, Heltec V4 R8 TFT and RC32 packages; representative room, sensor, LR1110, LR2021, SX1276, STM32WL and ESP-NOW builds. Linked RAK crypto and OTA workspace checks pass; its complete OTA image uses 712644/712704 bytes.
This commit is contained in:
1 parent
fb73e3afac
commit
73c5f572eb
89 files changed
+2978
-816
No files matched your search
+3
@@ -1,3 +1,4 @@
|
||||
#include <helpers/TempRadioReplyBarrier.h>
|
||||
namespace mesh { struct Packet { bool radio_reply=false; }; }
|
||||
struct ContactInfo {
|
||||
struct { uint8_t pub_key[32]={}; } id;
|
||||
@@ -10,6 +11,8 @@ static uint32_t millis() { return 100; }
|
||||
struct MyMesh {
|
||||
mesh::MorseReplyHandoff _morse_reply;
|
||||
bool _morse_reply_admission=false;
|
||||
mesh::TempRadioReplyBarrier _primary_radio_reply;
|
||||
bool _primary_radio_reply_admission=false;
|
||||
TestRadio radio;
|
||||
unsigned active=0, forwarded=0;
|
||||
uint32_t handled_timestamp=0;
|
||||
|
||||
Reference in new issue
Block a user