--- id: lora title: LoRa Configuration slug: /settings/config/lora sidebar_label: LoRa --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import LoRaRegions from '../../blocks/_lora-regions.mdx'; The LoRa config options are: Region, Modem Preset, Max Hops, Transmit Power, Bandwidth, Spread Factor, Coding Rate, Frequency Offset, Transmit Enabled, Channel Number and Ignore Incoming Array. LoRa config uses an admin message sending a `Config.LoRa` protobuf. ## LoRa Config Values :::note You must set your device's `lora.region` setting. This will ensure that you are operating within the legal limits for your area. ::: ### Region Sets the region for your node. Default is `unset`. As long as this is not set, the node screen will display a message and not transmit any packets. ### Modem Preset Use a sensible default for the modem. Default is `unset` which equates to `LONG_FAST`. Also 'Use Presets' has to be defined, which is the default. If 'Use Presets' is not defined, the modem will be configured manually with Bandwidth, Spread Factor, and Coding Rate. ### Max Hops Maximum number of hops. This can't be greater than 7. Default is 3 which should be fine for most applications. _**Really, 3 is fine.**_ ### Transmit Power If zero then, use default max legal continuous power (i.e. something that won't burn out the radio hardware) In most cases you should use zero here. Units are in dBm. ### Bandwidth Bandwidth in MHz Certain bandwidth numbers are 'special' and will be converted by the device firmware to the appropriate floating point value: 31 -> 31.25MHz ### Spread Factor A number from 7 to 12. Indicates the number of chirps per symbol as 1< :::info Region and Modem Preset can be configured on Android. ::: :::info Configuration of Region, Modem Preset and Hop Limit is available on iOS, iPadOS and macOS at Settings > Radio Configuration > LoRa. ::: LoRa config commands are available in the python CLI. Example commands are below: | Setting | Acceptable Values | Default | | :----------: | :---------------------------------------------------------------------------: | :---------------: | | lora.modem_preset | `LONG_FAST`, `LONG_SLOW`, `VERY_LONG_SLOW`, `MEDIUM_SLOW`, `MEDIUM_FAST`, `SHORT_SLOW`, `SHORT_FAST` | `LONG_FAST` | | lora.region | `UNSET`, `US`, `EU_433`, `EU_868`, `CN`, `JP`, `ANZ`, `KR`, `TW`, `RU` ,`IN`, `NZ_865`, `TH`, `LORA_24` | `UNSET` | | lora.hop_limit | `1`,`2`,`3`,`4`,`5`,`6`,`7` | `3` | :::info No LoRa config options are available in the Flasher. ::: :::info All LoRa config options are available in the Web UI. :::