meshtastic/docs/settings/router.mdx
bretbingham 2ec60ceb1e
Update router.mdx (#330)
* Update router.mdx

Ls_secs default setting is listed as 5 minutes on this page, and 1 hour on power page in docs, so one must be wrong.

Here on router page, Under Details headiing, table line ls_secs, is this the correct “normal default” - 5 minutes?
On power page, The ls_secs default  power page isays the normal default is 1 hour

* Update router.mdx

Co-authored-by: Sacha Weatherstone <sachaw100@hotmail.com>
2022-05-12 08:12:29 +10:00

83 lines
2.1 KiB
Plaintext

---
id: router
title: Router Settings
sidebar_label: Router
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
## Overview
## Settings
| Setting | Acceptable Values | Default |
| :-------: | :---------------: | :-----: |
| is_router | `true`, `false` | `false` |
### is_router
Are we operating as a router. Changes behavior in the following ways: The device will only sleep for critically low battery level (i.e. always tries to stay alive for the mesh) In the future routing decisions will preferentially route packets through nodes with this attribute (because assumed good line of sight)
#### Enable/Disable router mode
<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">
```shell title="Enable router mode"
meshtastic --set is_router true
```
```shell title="Disable router mode"
meshtastic --set is_router false
```
</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>
## Details
Toggling `is_router` changes your device settings in the following ways.
| Setting | `is_router` Default | Normal Default |
| :-----------------------: | :-----------------: | :------------: |
| `position_broadcast_secs` | 12 hours | 15 minutes |
| `wait_bluetooth_secs` | 1 | 60 |
| `mesh_sds_timeout_secs` | NODE_DELAY_FOREVER | 2 hours |
| `ls_secs` | 1 day | 1 hour |
### Altered Behaviors
#### Screen Wake
#### Bluetooth