mirror of
https://github.com/meshtastic/meshtastic.git
synced 2025-03-05 21:00:08 -08:00
Add example for mqtt_password
This commit is contained in:
parent
f220d78af4
commit
85498267cc
|
@ -188,6 +188,52 @@ Configuring this setting is not yet available for the selected platform. If this
|
|||
|
||||
MQTT password to use (most useful for a custom MQTT server). If using a custom server, this will be honoured even if empty. If using the default server, this will only be honoured if set, otherwise the device will use the default password (TODO - find default password).
|
||||
|
||||
#### Configure mqtt_password
|
||||
<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="Set mqtt_password"
|
||||
meshtastic --set mqtt_password mypassword
|
||||
```
|
||||
```bash title="Set mqtt_password (with spaces)"
|
||||
meshtastic --set mqtt_password "my password"
|
||||
```
|
||||
```bash title="Unset mqtt_password (Default)"
|
||||
meshtastic --set mqtt_password ""
|
||||
```
|
||||
|
||||
</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_server
|
||||
|
||||
The server to use for our MQTT global message gateway feature. If not set, the default server will be used
|
||||
|
|
Loading…
Reference in a new issue