Rename ok_to_mqtt and add config

This commit is contained in:
Jonathan Bennett 2024-09-06 11:57:23 -05:00
parent 30eb05a8a9
commit fce5ab584f
2 changed files with 7 additions and 2 deletions

View file

@ -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 {
@ -1070,4 +1075,4 @@ message Config {
SecurityConfig security = 8;
SessionkeyConfig sessionkey = 9;
}
}
}

View file

@ -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;
}
/*