mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Allow ignoring certain nodes (for DSR testing)
This commit is contained in:
parent
2cb162a303
commit
e95239a2ec
2 changed files with 11 additions and 0 deletions
|
|
@ -38,6 +38,9 @@
|
|||
|
||||
*SubPacket.payload anonymous_oneof:true
|
||||
|
||||
# Max of three ignored nodes for our testing
|
||||
*UserPreferences.ignore_incoming max_count:3
|
||||
|
||||
# MyMessage.name max_size:40
|
||||
# or fixed_length or fixed_count, or max_count
|
||||
|
||||
|
|
|
|||
|
|
@ -398,6 +398,14 @@ message RadioConfig {
|
|||
// If true, we will try to capture all the packets sent on the mesh, not
|
||||
// just the ones destined to our node.
|
||||
bool promiscuous_mode = 101;
|
||||
|
||||
/**
|
||||
For testing it is useful sometimes to force a node to never listen to
|
||||
particular other nodes (simulating radio out of range). All nodenums listed
|
||||
in ignore_incoming will have packets they send droped on receive (by
|
||||
router.cpp)
|
||||
*/
|
||||
repeated uint32 ignore_incoming = 102;
|
||||
}
|
||||
|
||||
UserPreferences preferences = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue