From 47195848f0c1a40bb7b3f19bc8e404c6f26e5438 Mon Sep 17 00:00:00 2001 From: Joshua Pirihi Date: Thu, 27 Jan 2022 14:35:07 +1300 Subject: [PATCH] Add UserPreference to enable or disable MQTT uplink encryption --- radioconfig.proto | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/radioconfig.proto b/radioconfig.proto index e551cf9..8de65bc 100644 --- a/radioconfig.proto +++ b/radioconfig.proto @@ -682,6 +682,15 @@ message RadioConfig { * ExternalNotificationPlugin can benefit from this feature. */ bool canned_message_plugin_send_bell = 173; + + /* + * Whether to send encrypted or decrypted packets to MQTT. + * This parameter is only honoured if you also set mqtt_server + * (the default official mqtt.meshtastic.org server can handle encrypted packets) + * + * Decrypted packets may be useful for external systems that want to consume meshtastic packets + */ + bool mqtt_encryption_enabled = 174; } UserPreferences preferences = 1;