reconfigured examples

This commit is contained in:
Foster Irwin 2021-05-27 12:29:28 -06:00
parent 427a58f8c2
commit b3e16d7201

View file

@ -43,7 +43,11 @@ If set, this will disable the SerialConsole by not initilizing the StreamAPI.
## Examples ## Examples
### debug_log_enabled ### Debug Log - Disable
:::note
`debug_log_enabled` set to `false` is the default behavior.
:::
<Tabs <Tabs
groupId="settings" groupId="settings"
@ -57,9 +61,25 @@ If set, this will disable the SerialConsole by not initilizing the StreamAPI.
```bash title="Example - Disable debug log" ```bash title="Example - Disable debug log"
meshtastic --set debug_log_enabled false meshtastic --set debug_log_enabled false
``` ```
:::note </TabItem>
`debug_log_enabled` set to `false` is the default behavior. <TabItem value="android">
:::
TODO
</TabItem>
</Tabs>
### Debug Log - Enable
<Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
]}>
<TabItem value="cli">
```bash title="Example - Enable debug log" ```bash title="Example - Enable debug log"
meshtastic --set debug_log_enabled true meshtastic --set debug_log_enabled true
``` ```
@ -72,7 +92,7 @@ If set, this will disable the SerialConsole by not initilizing the StreamAPI.
</TabItem> </TabItem>
</Tabs> </Tabs>
### factory_reset ### Factory reset
<Tabs <Tabs
groupId="settings" groupId="settings"
@ -95,7 +115,7 @@ If set, this will disable the SerialConsole by not initilizing the StreamAPI.
</TabItem> </TabItem>
</Tabs> </Tabs>
### frequency_offset ### Frequency Offset
<Tabs <Tabs
groupId="settings" groupId="settings"
@ -117,7 +137,7 @@ If set, this will disable the SerialConsole by not initilizing the StreamAPI.
</Tabs> </Tabs>
### ignore_incoming ### Ignore Incoming
<Tabs <Tabs
groupId="settings" groupId="settings"
@ -139,7 +159,7 @@ If set, this will disable the SerialConsole by not initilizing the StreamAPI.
</Tabs> </Tabs>
### serial_disabled ### Serial - Disable
<Tabs <Tabs
groupId="settings" groupId="settings"
@ -153,12 +173,33 @@ If set, this will disable the SerialConsole by not initilizing the StreamAPI.
```bash title="Example - Disable serial" ```bash title="Example - Disable serial"
meshtastic --set disable_serial true meshtastic --set disable_serial true
``` ```
```bash title="Example - Enable serial"
meshtastic --set disable_serial false </TabItem>
``` <TabItem value="android">
:::note
`disable_serial` set to `false` is the default behavior. TODO
:::
</TabItem>
</Tabs>
### Serial - Enable
:::note
`disable_serial` set to `false` is the default behavior.
:::
<Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
]}>
<TabItem value="cli">
```bash title="Example - Enable serial"
meshtastic --set disable_serial false
```
</TabItem> </TabItem>
<TabItem value="android"> <TabItem value="android">