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/7] 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 f1f4f46f1dbb31cc0863bb7a039ac5132e0e7934 Mon Sep 17 00:00:00 2001 From: Vladislav Osmanov <7123463+osmanovv@users.noreply.github.com> Date: Sun, 11 Sep 2022 18:02:03 +0300 Subject: [PATCH 2/7] param value is case sensitive Using Python CLI v1.3.29: ``` >meshtastic --set lora.modem_preset longSlow Connected to radio lora.modem_preset does not have an enum called longSlow, so you can not set it. Choices in sorted order are: LongFast LongSlow MedFast MedSlow ShortFast ShortSlow VLongSlow LocalConfig and LocalModuleConfig do not have attribute lora.modem_preset. ``` --- 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..16511eba 100644 --- a/docs/settings/config/lora.mdx +++ b/docs/settings/config/lora.mdx @@ -107,7 +107,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.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.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 a2f7def99a01f19deab26c1187bc5c61b39494a4 Mon Sep 17 00:00:00 2001 From: Vladislav Osmanov <7123463+osmanovv@users.noreply.github.com> Date: Sun, 11 Sep 2022 18:13:54 +0300 Subject: [PATCH 3/7] Added missing `Very Long Range - Slow` channel and fix default to `Long Fast` Needs to check data rate and other channel params --- docs/developers/Firmware/radio-settings.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/developers/Firmware/radio-settings.mdx b/docs/developers/Firmware/radio-settings.mdx index 703a0dc3..5655f0ec 100644 --- a/docs/developers/Firmware/radio-settings.mdx +++ b/docs/developers/Firmware/radio-settings.mdx @@ -65,8 +65,9 @@ We have six predefined channels. These are the most common settings and have bee | Short Range / Slow | Short Slow | 4.69 kbps | 7 / 128 | 4/5 | 125 | 140dB | | Medium Range / Fast | Medium Fast | 1.2 kbps | 10 / 1024 | 4/6 | 250 | 146dB | | Medium Range / Slow | Medium Slow | 0.75 kbps | 11 / 2048 | 4/7 | 250 | 148dB | -| Long Range / Fast | Long Fast | 0.19 kbps | 9 / 512 | 4/8 | 31 | 153dB | -| Long Range / Slow | Long Slow | 0.13 kbps (default) | 12 / 4096 | 4/8 | 125 | 154dB | +| Long Range / Fast | Long Fast | 0.19 kbps (default) | 9 / 512 | 4/8 | 31 | 153dB | +| Long Range / Slow | Long Slow | 0.13 kbps | 12 / 4096 | 4/8 | 125 | 154dB | +| Very Long Range - Slow | VLongSlow | TBD kbps | 12 / 4096 | 4/8 | ??? | ???dB | Note: The link budget used by these calculations assumes a transmit power of 17dBm and an antenna with 0dB gain. Adjust your link budget assumptions based on your actual devices. Data-rate in this table is actual measured but doesn't count mesh overhead, hops and retransmissions. From aa1a938a4ecf063f6761edc4464222c290ab80d1 Mon Sep 17 00:00:00 2001 From: Vladislav Osmanov <7123463+osmanovv@users.noreply.github.com> Date: Mon, 12 Sep 2022 20:21:02 +0300 Subject: [PATCH 4/7] channel names updated for the latest protobufs --- 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 16511eba..c292bb6b 100644 --- a/docs/settings/config/lora.mdx +++ b/docs/settings/config/lora.mdx @@ -107,7 +107,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.modem_preset | `LongFast`, `LongSlow`, `VeryLongSlow`, `MediumSlow`, `MediumFast`, `ShortSlow`, `ShortFast` | `LongFast` | | 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` 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 5/7] 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` From ffeba15437f07343ea356143501d52740f2018cf Mon Sep 17 00:00:00 2001 From: Vladislav Osmanov <7123463+osmanovv@users.noreply.github.com> Date: Mon, 12 Sep 2022 20:50:51 +0300 Subject: [PATCH 6/7] channel names 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 c292bb6b..ea93668d 100644 --- a/docs/settings/config/lora.mdx +++ b/docs/settings/config/lora.mdx @@ -107,7 +107,7 @@ LoRa config conmmands are available in the python CLI. Example commands are belo | Setting | Acceptable Values | Default | | :----------: | :---------------------------------------------------------------------------: | :---------------: | -| lora.modem_preset | `LongFast`, `LongSlow`, `VeryLongSlow`, `MediumSlow`, `MediumFast`, `ShortSlow`, `ShortFast` | `LongFast` | +| lora.modem_preset | `LONG_FAST`, `LONG_SLOW`, `VERY_LONG_SLOW`, `MEDIUM_SLOW`, `MEDIUM_FAST`, `SHORT_SLOW`, `SHORT_FAST` | `LONG_FAST` | | 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` From 2008935b14afe2039a30fe1c2afe6ab8f7428001 Mon Sep 17 00:00:00 2001 From: Vladislav Osmanov <7123463+osmanovv@users.noreply.github.com> Date: Mon, 12 Sep 2022 21:07:25 +0300 Subject: [PATCH 7/7] fixed `VLongSlow` channel name & data rate still needs to verify link budget value --- docs/developers/Firmware/radio-settings.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developers/Firmware/radio-settings.mdx b/docs/developers/Firmware/radio-settings.mdx index 5655f0ec..e3e90d8f 100644 --- a/docs/developers/Firmware/radio-settings.mdx +++ b/docs/developers/Firmware/radio-settings.mdx @@ -67,7 +67,7 @@ We have six predefined channels. These are the most common settings and have bee | Medium Range / Slow | Medium Slow | 0.75 kbps | 11 / 2048 | 4/7 | 250 | 148dB | | Long Range / Fast | Long Fast | 0.19 kbps (default) | 9 / 512 | 4/8 | 31 | 153dB | | Long Range / Slow | Long Slow | 0.13 kbps | 12 / 4096 | 4/8 | 125 | 154dB | -| Very Long Range - Slow | VLongSlow | TBD kbps | 12 / 4096 | 4/8 | ??? | ???dB | +| Very Long Range - Slow | Very Long Slow | 0.04 kbps | 12 / 4096 | 4/8 | 31.25 | ???dB | Note: The link budget used by these calculations assumes a transmit power of 17dBm and an antenna with 0dB gain. Adjust your link budget assumptions based on your actual devices. Data-rate in this table is actual measured but doesn't count mesh overhead, hops and retransmissions.