kopia lustrzana https://github.com/meshtastic/protobufs
Allow ignoring certain nodes (for DSR testing)
rodzic
2cb162a303
commit
e95239a2ec
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue