diff --git a/meshtastic/config.proto b/meshtastic/config.proto index 66d149f0..0ad0b26e 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 23d2b9c9..ed2e3aa6 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -888,6 +888,11 @@ message Data { * a message a heart or poop emoji. */ fixed32 emoji = 8; + + /* + * Defaults to false. Indicates the user approves the packet being uploaded to MQTT. + */ + optional bool ok_to_mqtt = 9; } /* @@ -1889,4 +1894,4 @@ message ChunkedPayloadResponse { */ resend_chunks resend_chunks = 4; } -} \ No newline at end of file +}