2021-05-18 19:27:21 -07:00
---
id: channel-advanced
title: Channel Settings - Advanced
2021-05-18 19:36:05 -07:00
sidebar_label: Channel
2021-05-18 19:27:21 -07:00
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
2022-02-01 17:58:26 -08:00
:::warning
2021-05-18 19:27:21 -07:00
These settings are for advanced users only. If you don't know what you are doing you could damage your radio or break local radio laws. Proceed with caution.
:::
## Overview
2021-05-18 19:56:09 -07:00
2022-01-28 14:57:08 -08:00
Most users should not need to change these settings. The default [modem_config ](channel#modem_config ) settings should work just fine.
2021-05-18 19:56:09 -07:00
2021-05-18 19:27:21 -07:00
## Settings
2021-05-18 19:56:09 -07:00
| Setting | Acceptable Values | Default |
| :-----: | :---------------: | :-----: |
2022-02-10 18:22:44 -08:00
| bandwidth | `10.4` , `15.6` , `20.8` , `31.25` , `41.7` , `62.5` , `125` , `250` , `500` | `125` |
2022-02-11 12:30:43 -08:00
| channel_num | Depends on Region | Region Channel Number Default |
2022-02-10 18:22:44 -08:00
| coding_rate | `5` , `6` , `7` , `8` | `5` |
2022-02-11 12:36:22 -08:00
| frequency_offset | real numbers | `0` |
2022-02-10 16:03:35 -08:00
| spread_factor | `7` , `8` , `9` , `10` , `11` , `12` | `7` |
2022-02-10 18:41:51 -08:00
| tx_power | `0` , `2` , `3` , `4` , `5` , `6` , `7` , `8` , `9` , `10` , `11` , `12` , `13` , `14` , `15` , `16` , `17` , (dBm) | `0` |
2021-05-18 19:56:09 -07:00
### bandwidth
2022-02-10 16:08:46 -08:00
Total amount of spectrum used for the transmission.
2021-05-18 19:56:09 -07:00
2022-02-01 17:58:26 -08:00
#### Set Bandwidth
2021-06-04 08:59:11 -07:00
< Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
2022-01-30 18:29:49 -08:00
{label: 'iOS', value: 'iOS'},
{label: 'Web', value: 'web'},
2021-06-04 08:59:11 -07:00
]}>
< TabItem value = "cli" >
2022-01-19 18:10:06 -08:00
```bash
meshtastic --ch-set bandwidth 125 --ch-index 0
```
2021-06-04 08:59:11 -07:00
< / TabItem >
< TabItem value = "android" >
2022-01-30 18:29:49 -08:00
:::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.
:::
2021-06-04 08:59:11 -07:00
< / TabItem >
< / Tabs >
2022-02-01 17:58:26 -08:00
### channel_num
2022-02-10 16:08:46 -08:00
An abstraction that maps to a specific center frequency used for transmission.
2022-02-01 17:58:26 -08:00
#### Set Channel Number
2021-06-04 08:59:11 -07:00
< Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
2022-01-30 18:29:49 -08:00
{label: 'iOS', value: 'iOS'},
{label: 'Web', value: 'web'},
2021-06-04 08:59:11 -07:00
]}>
< TabItem value = "cli" >
2022-02-01 17:58:26 -08:00
:::info
Configuring this setting is not yet available for the selected platform. If this is incorrect please update the documentation for this page.
:::
2021-06-04 08:59:11 -07:00
< / TabItem >
< TabItem value = "android" >
2022-01-30 18:29:49 -08:00
:::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.
:::
2021-06-04 08:59:11 -07:00
< / TabItem >
< / Tabs >
2022-02-01 17:58:26 -08:00
### coding_rate
2022-02-10 16:08:46 -08:00
The amount of forward error correction applied to allow for us to automatically repair errors in the data transmission.
2022-02-01 17:58:26 -08:00
#### Set Coding Rate
2021-06-04 08:59:11 -07:00
< Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
2022-01-30 18:29:49 -08:00
{label: 'iOS', value: 'iOS'},
{label: 'Web', value: 'web'},
2021-06-04 08:59:11 -07:00
]}>
< TabItem value = "cli" >
2022-01-19 18:10:06 -08:00
```bash
meshtastic --ch-set coding_rate 8 --ch-index 0
```
2021-06-04 08:59:11 -07:00
< / TabItem >
< TabItem value = "android" >
2022-01-30 18:29:49 -08:00
:::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.
:::
2021-06-04 08:59:11 -07:00
< / TabItem >
< / Tabs >
2022-02-11 12:36:22 -08:00
### 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.
#### Configure frequency_offset
< 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" >
:::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 = "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 >
2022-02-01 17:58:26 -08:00
### spread_factor
2022-02-10 16:03:35 -08:00
LoRa is a spread spectrum technology. spread_factor is how much the signal is spread over the spectrum. SF8 = 2^8 or spread 256 times. SF12 = 2^12 or spread 4096 times.
2022-02-01 17:58:26 -08:00
#### Set Spread Factor
2021-06-04 08:59:11 -07:00
< Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
2022-01-30 18:29:49 -08:00
{label: 'iOS', value: 'iOS'},
{label: 'Web', value: 'web'},
2021-06-04 08:59:11 -07:00
]}>
< TabItem value = "cli" >
2022-01-19 18:10:06 -08:00
```bash
meshtastic --ch-set spread_factor 12 --ch-index 0
```
2021-06-04 08:59:11 -07:00
< / TabItem >
< TabItem value = "android" >
2022-01-30 18:29:49 -08:00
:::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.
:::
2021-06-04 08:59:11 -07:00
< / TabItem >
< / Tabs >
2022-02-01 17:58:26 -08:00
### tx_power
2022-02-10 18:41:51 -08:00
Configured transmit power out of the LoRa radio, measured in dBM. Setting this to `0` will use the device default which is the max legal continuous power for your region.
2022-02-10 16:08:46 -08:00
:::caution
Ensure that you are not exceeding your country's regulations.
`Country regulation - antenna gain = tx_power max setting`
:::
2022-02-01 17:58:26 -08:00
#### Set TX Power
2021-06-04 08:59:11 -07:00
2021-05-18 19:27:21 -07:00
< Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'CLI', value: 'cli'},
{label: 'Android', value: 'android'},
2022-01-30 18:29:49 -08:00
{label: 'iOS', value: 'iOS'},
{label: 'Web', value: 'web'},
2021-05-18 19:27:21 -07:00
]}>
< TabItem value = "cli" >
2022-02-10 18:41:51 -08:00
```bash title="Set Default"
meshtastic --ch-set tx_power 0 --ch-index 0
```
```bash title="Set to 2dBM"
meshtastic --ch-set tx_power 2 --ch-index 0
```
2021-05-18 19:27:21 -07:00
< / TabItem >
< TabItem value = "android" >
2022-01-30 18:29:49 -08:00
:::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.
:::
2021-05-18 19:27:21 -07:00
< / TabItem >
< / Tabs >