Skip to content

Commit

Permalink
Rename ok_to_mqtt and add config
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-bennett committed Sep 6, 2024
1 parent 30eb05a commit fce5ab5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion meshtastic/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,11 @@ message Config {
* If true, the device will not process any packets received via LoRa that passed via MQTT anywhere on the path towards it.
*/
bool ignore_mqtt = 104;

/*
* Sets the ok_to_mqtt bit on outgoing packets
*/
bool config_ok_to_mqtt = 105;
}

message BluetoothConfig {
Expand Down Expand Up @@ -1070,4 +1075,4 @@ message Config {
SecurityConfig security = 8;
SessionkeyConfig sessionkey = 9;
}
}
}
2 changes: 1 addition & 1 deletion meshtastic/mesh.proto
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ message Data {
/*
* Defaults to false. Indicates the user approves the packet being uploaded to MQTT.
*/
bool OKToMqtt = 9;
optional bool ok_to_mqtt = 9;
}

/*
Expand Down

0 comments on commit fce5ab5

Please sign in to comment.