Add per-profile TX routing and bridge filtering
Persist Companion TX preferences per contact and channel. Default repeater, room, and sensor replies to both active TX profiles, with a reply-only force option for an RX-only secondary profile. Track both reply copies before a temporary-radio handoff and account for OTA copies under queue backpressure. Add bridge/crossover filter modes and the third built-in wardriving filter, plus compact filter CLI syntax, documentation, and CI coverage. Fix quoted target names being interpreted as slot/key selectors, partial recovery of invalid saved reply settings, filter suspension during tempradio2, and unnecessary packet allocation while OTA traffic is throttled. Validation: 1,477 native tests, 52 Python integration tests, 29 filter UI tests, and five firmware builds covering ESP32, nRF52, and STM32 passed.
This commit is contained in:
1 parent
0e0aa8e014
commit
95aca52b4e
60 files changed
+3188
-362
No files matched your search
@@ -60,6 +60,7 @@ class GroupChannel {
|
||||
public:
|
||||
uint8_t hash[PATH_HASH_SIZE];
|
||||
uint8_t secret[PUB_KEY_SIZE];
|
||||
uint8_t tx_radio = RADIO_TX_AUTO; // local setting, not part of the channel key
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -396,6 +397,9 @@ protected:
|
||||
* \brief Called exactly once whenever an active flood-retry slot is released.
|
||||
*/
|
||||
virtual void onFloodRetrySlotReleased(const uint8_t* retry_key, uint8_t radio_profile) { }
|
||||
// Resolve local TX routing while the complete peer identity is available.
|
||||
// Packet destination hashes are too short to identify a contact safely.
|
||||
virtual uint8_t getContactTxRadio(const Identity& peer) const { return RADIO_TX_AUTO; }
|
||||
|
||||
/**
|
||||
* \returns number of extra (Direct) ACK transmissions wanted.
|
||||
|
||||
Reference in new issue
Block a user