mirror of
https://github.com/meshtastic/meshtastic.git
synced 2025-01-27 05:39:00 -08:00
Reformat with prettier, fixed note syntax
This commit is contained in:
parent
819b3bcfcb
commit
753b52def6
|
@ -3,6 +3,7 @@ id: mqtt
|
|||
title: MQTT Settings
|
||||
sidebar_label: MQTT
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
|
@ -21,7 +22,7 @@ If your device is connected to WiFi you can enable it to forward messages along
|
|||
## Settings
|
||||
|
||||
| Setting | Acceptable Values | Default |
|
||||
| :-----: | :---------------: | :-----: |
|
||||
| :-----------------: | :---------------: | :-----: |
|
||||
| mqtt_disabled | `true`, `false` | `false` |
|
||||
| mqtt_server | `string` | `""` |
|
||||
| is_uplink_enabled | `true`, `false` | `false` |
|
||||
|
@ -44,6 +45,7 @@ This is a channel specific setting. If your channel has this set to `true` and y
|
|||
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 to the mesh from this device.
|
||||
|
||||
## Details
|
||||
|
||||
<!--- TODO --->
|
||||
|
||||
## Examples
|
||||
|
@ -56,6 +58,7 @@ This is a channel specific setting. If your channel has this set to `true` and y
|
|||
{label: 'Android', value: 'android'},
|
||||
]}>
|
||||
<TabItem value="cli">
|
||||
|
||||
```bash title="Set server"
|
||||
meshtastic --set mqtt_server 192.168.123.234
|
||||
```
|
||||
|
@ -68,7 +71,9 @@ This is a channel specific setting. If your channel has this set to `true` and y
|
|||
mosquitto_sub -h 192.168.123.234 -v -t msh/#
|
||||
```
|
||||
|
||||
:::note FIXME some documentation says msh/# , some says mesh/# . As of 1.2.39 the messages are on msh/#
|
||||
:::note
|
||||
FIXME some documentation says msh/# , some says mesh/# . As of 1.2.39 the messages are on msh/#
|
||||
:::
|
||||
</TabItem>
|
||||
<TabItem value="android">
|
||||
|
||||
|
|
Loading…
Reference in a new issue