From 23551a6248800184678fac91a3b9e4a67b7b1f06 Mon Sep 17 00:00:00 2001 From: Foster Irwin Date: Fri, 4 Feb 2022 16:13:41 -0700 Subject: [PATCH] add downlink_enabled example --- docs/software/settings/mqtt.md | 49 ++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/docs/software/settings/mqtt.md b/docs/software/settings/mqtt.md index 94bc0ec7..b2fc7d5d 100644 --- a/docs/software/settings/mqtt.md +++ b/docs/software/settings/mqtt.md @@ -37,6 +37,55 @@ Be sure to checkout this [MQTT](https://meshtastic.org/docs/software/other/mqtt) This is a channel specific setting. If your channel has this set to `true` and you are connected to WiFi, the device will forward along messages from the MQTT server specified [here](#mqtt_server) to the mesh from this device. +#### Enable/Disable downlink_enabled + + + + ```bash title="Enable downlink_enabled on PRIMARY channel" + meshtastic --ch-set downlink_enabled true --ch-index 0 + ``` + ```bash title="Disable downlink_enabled on PRIMARY channel" + meshtastic --ch-set downlink_enabled false --ch-index 0 + ``` + ```bash title="Enable downlink_enabled on OTHER channel" + meshtastic --ch-set downlink_enabled true --ch-index 1 + ``` + ```bash title="Disable downlink_enabled on OTHER channel" + meshtastic --ch-set downlink_enabled false --ch-index 1 + ``` + + + + +:::info +Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. +::: + + + + +:::info +Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. +::: + + + + +:::info +Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page. +::: + + + + ### mqtt_disabled If a meshtastic node is able to reach the internet it will normally attempt to gateway any channels that are marked as `uplink_enabled` or `downlink_enabled`. But if this flag is set, all MQTT features will be disabled and no servers will be contacted.