diff --git a/meshtastic/config.proto b/meshtastic/config.proto index 66d149f..0ad0b26 100644 --- a/meshtastic/config.proto +++ b/meshtastic/config.proto @@ -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; } -} \ No newline at end of file +} diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index 4dfdac0..ed2e3aa 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -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; } /*