Add set_promiscuous field to ToRadio message

This commit is contained in:
Thomas Suckow 2025-12-20 03:20:32 +00:00
parent 62ef17b3d1
commit e90bfd7035

View file

@ -2225,6 +2225,14 @@ message ToRadio {
* Heartbeat message (used to keep the device connection awake on serial)
*/
Heartbeat heartbeat = 7;
/*
* Set or clear promiscuous capture mode for LoRa RX.
* If true, the device will forward all received LoRa packets to FromRadio as encrypted MeshPacket payloads,
* and will avoid additionally sending the decrypted copies. ToRadio will also skip overwriting the from address.
* This is primarily intended for virtual nodes that want to handle the packet protocol directly via serial.
*/
bool set_promiscuous = 8;
}
}