Skip to content

Commit

Permalink
Add ignore_direct radio option
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorropo committed Dec 5, 2024
1 parent 00c9c99 commit 02a4eed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions meshtastic/config.options
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

# Max of three ignored nodes for our testing
*LoRaConfig.ignore_incoming max_count:3
*LoRaConfig.ignore_direct max_count:3

*LoRaConfig.tx_power int_size:8
*LoRaConfig.bandwidth int_size:16
Expand Down
8 changes: 8 additions & 0 deletions meshtastic/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,14 @@ message Config {
* Sets the ok_to_mqtt bit on outgoing packets
*/
bool config_ok_to_mqtt = 105;

/*
* For testing this simulate a node which cannot be heared directly.
* It is similar to ignore_incoming however packets will only be dropped if
* the hop count is identical to the start hop count, thus after at least
* one hop the packet will be accepted.
*/
repeated uint32 ignore_direct = 106;
}

message BluetoothConfig {
Expand Down

0 comments on commit 02a4eed

Please sign in to comment.