mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-26 06:04:22 -08:00
add downlink_enabled example
This commit is contained in:
parent
27ec972e5d
commit
23551a6248
|
@ -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
|
||||
<Tabs
|
||||
groupId="settings"
|
||||
defaultValue="cli"
|
||||
values={[
|
||||
{label: 'CLI', value: 'cli'},
|
||||
{label: 'Android', value: 'android'},
|
||||
{label: 'iOS', value: 'iOS'},
|
||||
{label: 'Web', value: 'web'},
|
||||
]}>
|
||||
<TabItem value="cli">
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="android">
|
||||
|
||||
:::info
|
||||
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
|
||||
:::
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="iOS">
|
||||
|
||||
:::info
|
||||
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
|
||||
:::
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="web">
|
||||
|
||||
:::info
|
||||
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
|
||||
:::
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
### 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.
|
||||
|
|
Loading…
Reference in a new issue