From df29475655b55b93319d2a71032f3af4a4eaaf46 Mon Sep 17 00:00:00 2001 From: Vladislav Osmanov <7123463+osmanovv@users.noreply.github.com> Date: Sun, 11 Sep 2022 17:57:46 +0300 Subject: [PATCH 1/2] param value is case sensitive Using Python CLI v1.3.29: ``` >meshtastic --set lora.region eu433 Connected to radio lora.region does not have an enum called ru, so you can not set it. Choices in sorted order are: ANZ CN EU433 EU868 IN JP KR NZ865 RU TH TW US Unset LocalConfig and LocalModuleConfig do not have attribute lora.region. ``` --- docs/settings/config/lora.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/settings/config/lora.mdx b/docs/settings/config/lora.mdx index bf3e8c17..8fc4189d 100644 --- a/docs/settings/config/lora.mdx +++ b/docs/settings/config/lora.mdx @@ -108,7 +108,7 @@ LoRa config conmmands are available in the python CLI. Example commands are belo | Setting | Acceptable Values | Default | | :----------: | :---------------------------------------------------------------------------: | :---------------: | | lora.modem_preset | `longFast`, `longSlow`, `vlongSlow`, `medSlow`, `medFast`, `shortSlow`, `shortFast` | `longFast` | -| lora.region | `Unset`, `us`, `eu433`, `eu868`, `cn`, `jp`, `anz`, `kr`, `tw`, `ru` ,`in`, ` nz865`, `th` | `Unset` | +| lora.region | `Unset`, `US`, `EU433`, `EU868`, `CN`, `JP`, `ANZ`, `KR`, `TW`, `RU` ,`IN`, `NZ865`, `TH` | `Unset` | | lora.hop_limit | `1`,`2`,`3`,`4`,`5`,`6`,`7` | `3` @@ -126,4 +126,4 @@ All lora config options are available in the Web UI. ::: - \ No newline at end of file + From 517ff71dcf83c85e67becab67488bd3bf7178343 Mon Sep 17 00:00:00 2001 From: Vladislav Osmanov <7123463+osmanovv@users.noreply.github.com> Date: Mon, 12 Sep 2022 20:46:16 +0300 Subject: [PATCH 2/2] region codes updated according the latest protobufs https://github.com/meshtastic/Meshtastic-protobufs/blob/master/config.proto --- docs/settings/config/lora.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/settings/config/lora.mdx b/docs/settings/config/lora.mdx index 8fc4189d..7b7e6a73 100644 --- a/docs/settings/config/lora.mdx +++ b/docs/settings/config/lora.mdx @@ -108,7 +108,7 @@ LoRa config conmmands are available in the python CLI. Example commands are belo | Setting | Acceptable Values | Default | | :----------: | :---------------------------------------------------------------------------: | :---------------: | | lora.modem_preset | `longFast`, `longSlow`, `vlongSlow`, `medSlow`, `medFast`, `shortSlow`, `shortFast` | `longFast` | -| lora.region | `Unset`, `US`, `EU433`, `EU868`, `CN`, `JP`, `ANZ`, `KR`, `TW`, `RU` ,`IN`, `NZ865`, `TH` | `Unset` | +| lora.region | `UNSET`, `US`, `EU_433`, `EU_868`, `CN`, `JP`, `ANZ`, `KR`, `TW`, `RU` ,`IN`, `NZ_865`, `TH` | `UNSET` | | lora.hop_limit | `1`,`2`,`3`,`4`,`5`,`6`,`7` | `3`