2021-04-27 14:13:56 -07:00
---
id: misc
title: Miscellaneous Settings
sidebar_label: Miscellaneous
---
2021-05-05 09:18:44 -07:00
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
2021-04-27 14:13:56 -07:00
## Overview
## Settings
2021-05-03 15:22:22 -07:00
| Setting | Acceptable Values | Default |
| :-----: | :---------------: | :-----: |
2021-05-03 13:15:01 -07:00
| debug_log_enabled | `true` , `false` | `false` |
| factory_reset | `true` , `false` | `false` |
| frequency_offset | real numbers | `0` |
| ignore_incoming | `string` – list of node nums to ignore | `0` |
| serial_disabled | `true` , `false` | `false` |
2021-12-18 14:21:22 -08:00
| hop_limit | real numbers | 0|
2021-05-03 13:15:01 -07:00
### debug_log_enabled
2021-05-27 09:19:13 -07:00
By default we turn off logging as soon as an API client connects (to keep shared serial link quiet and save bandwidth). Set this to true to leave the debug log outputting even when API is active.
2021-05-03 13:15:01 -07:00
### factory_reset
This setting is never saved to disk, but if set, all device settings will be returned to factory defaults. (Region, serial number etc... will be preserved)
### frequency_offset
This parameter is for advanced users with advanced test equipment, we do not recommend most users use it. A frequency offset that is added to to the calculated band center frequency. Used to correct for crystal calibration errors.
### ignore_incoming
If true, radio should not try to be smart about what packets to queue to the phone bool keep_all_packets = 101; If true, we will try to capture all the packets sent on the mesh, not just the ones destined to our node. bool promiscuous_mode = 102; For testing it is useful sometimes to force a node to never listen to particular other nodes (simulating radio out of range). All nodenums listed in ignore_incoming will have packets they send dropped on receive (by router.cpp)
### serial_disabled
If set, this will disable the SerialConsole by not initilizing the StreamAPI.
2021-04-27 14:13:56 -07:00
2021-12-18 14:21:22 -08:00
### hop_limit
Overides the deault number of hops a message will be passed. If not set, will default to 3 hops.
Meshtastic allows a maximum of 7 hops (this is a limit of the protocol). Setting a hop_limit of greater than 7 will be replaced with 7 on the device.
2021-05-05 09:18:44 -07:00
## Examples
2021-05-04 08:42:17 -07:00
2021-05-27 11:29:28 -07:00
### Debug Log - Disable
:::note
`debug_log_enabled` set to `false` is the default behavior.
:::
2021-05-27 09:19:13 -07:00
2021-05-05 09:18:44 -07:00
< Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
]}>
< TabItem value = "cli" >
2021-05-27 09:55:09 -07:00
```bash title="Example - Disable debug log"
meshtastic --set debug_log_enabled false
2021-05-27 09:19:13 -07:00
```
2021-05-27 11:29:28 -07:00
< / TabItem >
< 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" >
2021-05-27 09:55:09 -07:00
```bash title="Example - Enable debug log"
2021-05-27 09:19:13 -07:00
meshtastic --set debug_log_enabled true
```
2021-05-05 09:18:44 -07:00
< / TabItem >
< TabItem value = "android" >
TODO
< / TabItem >
< / Tabs >
2021-05-27 09:55:09 -07:00
2021-05-27 11:29:28 -07:00
### Factory reset
2021-05-27 09:55:09 -07:00
< Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
]}>
< TabItem value = "cli" >
```bash title="Example - Factory reset"
meshtastic --set factory_reset true
```
< / TabItem >
< TabItem value = "android" >
TODO
< / TabItem >
< / Tabs >
2021-05-27 11:29:28 -07:00
### Frequency Offset
2021-05-27 09:55:09 -07:00
< Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
]}>
< TabItem value = "cli" >
TODO
< / TabItem >
< TabItem value = "android" >
TODO
< / TabItem >
< / Tabs >
2021-05-27 11:29:28 -07:00
### Ignore Incoming
2021-05-27 09:55:09 -07:00
< Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
]}>
< TabItem value = "cli" >
TODO
< / TabItem >
< TabItem value = "android" >
TODO
< / TabItem >
< / Tabs >
2021-05-27 11:29:28 -07:00
### Serial - Disable
2021-05-27 09:55:09 -07:00
< Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
]}>
< TabItem value = "cli" >
```bash title="Example - Disable serial"
meshtastic --set disable_serial true
```
2021-05-27 11:29:28 -07:00
< / TabItem >
< TabItem value = "android" >
TODO
< / TabItem >
< / Tabs >
### Serial - Enable
2021-05-27 09:55:09 -07:00
:::note
`disable_serial` set to `false` is the default behavior.
:::
2021-05-27 11:29:28 -07:00
< 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
```
2021-05-27 09:55:09 -07:00
< / TabItem >
< TabItem value = "android" >
TODO
< / TabItem >
< / Tabs >