Add two-profile LoRa operation and radio CLI regression coverage
Implement radio2, tempradio2, radioat2 and tempradioat2 across Mesh roles, with RX-only/RX+TX operation, optional preambles and persistent cross-TX policy. Keep temporary OTA traffic on its profile by default and maintain independent retry ownership and backoff for each profile. Use slow-first receive scanning with 4.8-symbol visits and automatic preambles rounded up in steps of eight. Preserve pending RX, restore power saving on exit, and discard work bound to changed or expired profiles. Restore the infrastructure path.hash.mode setter and report unsupported extra.sf settings consistently. Add CLI, scheduling, scan and retry tests, setup documentation, and the V4/XIAO hardware validation results. Validation: 1,422 native tests, eight KISS tests, 63 final focused profile tests, 18 checks from the staged source, sanitizer-enabled OTA transfers, and builds for V4 Mesh roles, Full XIAO Companion and nRF52 T1000-E. Hardware checks cover reception, cross-TX policy, expiry, reboot and OTA discovery while receiving main-channel adverts.
This commit is contained in:
1 parent
a25adbde64
commit
088c88507a
46 files changed
+5187
-143
No files matched your search
@@ -30,6 +30,7 @@ public:
|
||||
bool getNextTime(uint32_t now, uint32_t& scheduled_for) const;
|
||||
mesh::Packet* itemAt(int i) const { return _table[i]; }
|
||||
mesh::Packet* removeByIdx(int i);
|
||||
bool reschedule(mesh::Packet* packet, uint32_t scheduled_for);
|
||||
};
|
||||
|
||||
class StaticPoolPacketManager : public mesh::PacketManager {
|
||||
@@ -50,6 +51,9 @@ public:
|
||||
bool queueOutbound(mesh::Packet* packet, uint8_t priority, uint32_t scheduled_for) override;
|
||||
mesh::Packet* getNextOutbound(uint32_t now) override;
|
||||
mesh::Packet* peekNextOutbound(uint32_t now) override;
|
||||
bool deferOutbound(mesh::Packet* packet, uint32_t scheduled_for) override {
|
||||
return send_queue.reschedule(packet, scheduled_for);
|
||||
}
|
||||
int getOutboundCount(uint32_t now) const override;
|
||||
int getOutboundTotal() const override;
|
||||
bool getNextOutboundTime(uint32_t now, uint32_t& scheduled_for) const override;
|
||||
|
||||
Reference in new issue
Block a user