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 6ddcd11
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.
* All comunications received from this node will be dropped.
* Due to space constraints in the header, only the last byte of
* the relayer is transmited, thus only the last byte can be checked.
*/
repeated uint8 ignore_direct = 106;

Check failure on line 1016 in meshtastic/config.proto

View workflow job for this annotation

GitHub Actions / build

field meshtastic.Config.LoRaConfig.ignore_direct: unknown type uint8
}

message BluetoothConfig {
Expand Down

0 comments on commit 6ddcd11

Please sign in to comment.