Keep bridged OTA retries resumable across profile handoffs
Let the mesh timed OTA retry guard own byte-identical requests instead of the permanent bridge FIFO. Bind bridge ingress to its primary profile generation and preserve UART reflection/liveness protections. Verified a LoRa to ESP-NOW to LoRa update with outage recovery and install.
This commit is contained in:
1 parent
bc1b414af0
commit
690ffe5601
11 files changed
+228
-24
No files matched your search
@@ -1239,6 +1239,7 @@ public:
|
||||
#if defined(WITH_BRIDGE)
|
||||
|
||||
void configureBridgeFilter(AbstractBridge* active_bridge) {
|
||||
active_bridge->setIngressProfiles(_radio->profiles());
|
||||
#if MESH_ENABLE_FLOOD_RULE_ENGINE
|
||||
active_bridge->setPacketFilter([](void* context, const mesh::Packet* packet) {
|
||||
return static_cast<MyMesh*>(context)->allowTransportPacket(packet, 2); // RULE_MODE_BRIDGE
|
||||
|
||||
Reference in new issue
Block a user