Merge pull request #923 from pdxlocations/add-malaysia

Add Malaysia Region
This commit is contained in:
Ben Lipsey 2024-01-16 13:21:40 -08:00 committed by GitHub
commit 97047fddd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 42 additions and 20 deletions

View file

@ -12,9 +12,11 @@
| `RU` | Russia | | `RU` | Russia |
| `IN` | India | | `IN` | India |
| `NZ_865` | New Zealand 865MHz | | `NZ_865` | New Zealand 865MHz |
| `TH` | Thailand |
| `UA_433` | Ukraine 433MHz | | `UA_433` | Ukraine 433MHz |
| `UA_868` | Ukraine 868MHz | | `UA_868` | Ukraine 868MHz |
| `TH` | Thailand | | `MY_433` | Malaysia 433MHz |
| `MY_919` | Malaysia 919MHz |
| `LORA_24` | 2.4 GHz band worldwide | | `LORA_24` | 2.4 GHz band worldwide |
:::info :::info

View file

@ -162,22 +162,22 @@ LoRa config commands are available in the python CLI. Example commands are below
::: :::
| Setting | Acceptable Values | Default | | Setting | Acceptable Values | Default |
| :-------------------------: | :-------------------------------------------------------------------------------------------------------------------------: | :---------: | |:---------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------:|:----------------------------:|
| lora.modem_preset | `LONG_FAST`, `LONG_SLOW`, `VERY_LONG_SLOW`, `MEDIUM_SLOW`, `MEDIUM_FAST`, `SHORT_SLOW`, `SHORT_FAST` | `LONG_FAST`, `LONG_MODERATE` | | lora.modem_preset | `LONG_FAST`, `LONG_SLOW`, `VERY_LONG_SLOW`, `MEDIUM_SLOW`, `MEDIUM_FAST`, `SHORT_SLOW`, `SHORT_FAST` | `LONG_FAST`, `LONG_MODERATE` |
| lora.use_preset | `false`, `true` | `false` | | lora.use_preset | `false`, `true` | `false` |
| lora.region | `UNSET`, `US`, `EU_433`, `EU_868`, `CN`, `JP`, `ANZ`, `KR`, `TW`, `RU` ,`IN`, `NZ_865`, `TH`, `LORA_24`, `UA_433`, `UA_868` | `UNSET` | | lora.region | `UNSET`, `US`, `EU_433`, `EU_868`, `CN`, `JP`, `ANZ`, `KR`, `TW`, `RU` ,`IN`, `NZ_865`, `TH`, `LORA_24`, `UA_433`, `UA_868`, `MY_433`, `MY_919` | `UNSET` |
| lora.bandwidth | `31`, `62`, `125`, `250`, `500` | `250` | | lora.bandwidth | `31`, `62`, `125`, `250`, `500` | `250` |
| lora.spread_factor | `7`, `8`, `9`, `10`, `11`, `12` | `12` | | lora.spread_factor | `7`, `8`, `9`, `10`, `11`, `12` | `12` |
| lora.coding_rate | `5`, `6`, `7`, `8` | `8` | | lora.coding_rate | `5`, `6`, `7`, `8` | `8` |
| lora.frequency_offset | `0` to `1000000` | `0` | | lora.frequency_offset | `0` to `1000000` | `0` |
| lora.hop_limit | `1`,`2`,`3`,`4`,`5`,`6`,`7` | `3` | | lora.hop_limit | `1`,`2`,`3`,`4`,`5`,`6`,`7` | `3` |
| lora.tx_power | `0` to `30` | `0` | | lora.tx_power | `0` to `30` | `0` |
| lora.tx_enabled | `false`, `true` | `true` | | lora.tx_enabled | `false`, `true` | `true` |
| lora.channel_num | `0`, `1` to `NUM_CHANNELS` | `0` | | lora.channel_num | `0`, `1` to `NUM_CHANNELS` | `0` |
| lora.override_duty_cycle | `false`, `true` | `false` | | lora.override_duty_cycle | `false`, `true` | `false` |
| lora.sx126x_rx_boosted_gain | `false`, `true` | `false` | | lora.sx126x_rx_boosted_gain | `false`, `true` | `false` |
| lora.override_frequency | Any supported frequency the LoRA radio is capable of. Please respect local rules and regulations | `0` | | lora.override_frequency | Any supported frequency the LoRA radio is capable of. Please respect local rules and regulations | `0` |
:::tip :::tip

View file

@ -33,9 +33,9 @@ If you'd like to connect with other Meshtastic users but only share your locatio
### Default Primary Channels by Region ### Default Primary Channels by Region
| US | EU_433 | EU_868 | CN | JP | ANZ | KR | TW | RU | IN | NZ_865 | TH | LORA_24 | UA_433 | UA_868 | | US | EU_433 | EU_868 | CN | JP | ANZ | KR | TW | RU | IN | NZ_865 | TH | UA_433 | UA_868 | MY_433 | MY_919 | LORA_24 |
| :--: | :----: | :----: | :--: | :-: | :--: | :--: | :--: | :--: | :--: | :----: | :--: | :-----: | :----: | :----: | | :--: | :----: | :----: | :--: | :-: | :--: | :--: | :--: | :--: | :--: | :----: | :--: | :----: | :----: | :----: | :----: | :-----: |
| 20 | 4 | 1 | 36 | 20 | 20 | 12 | 16 | 2 | 4 | 4 | 16 | 6 | 6 | 2 | | 20 | 4 | 1 | 36 | 20 | 20 | 12 | 16 | 2 | 4 | 4 | 16 | 6 | 2 | 4 | 16 | 6 |
To quickly test this configuration, find and scan your region's QR from [this repository](https://github.com/meshtastic/meshtastic/tree/master/static/img/configuration/qr-private-primary-example/). Remember to generate a new PSK for your private channel before sharing with your trusted nodes. To quickly test this configuration, find and scan your region's QR from [this repository](https://github.com/meshtastic/meshtastic/tree/master/static/img/configuration/qr-private-primary-example/). Remember to generate a new PSK for your private channel before sharing with your trusted nodes.

View file

@ -159,6 +159,26 @@ const RegionData = new Map<
power_limit: 14, power_limit: 14,
}, },
], ],
[
Protobuf.Config.Config_LoRaConfig_RegionCode.MY_433,
{
freq_start: 433.0,
freq_end: 435.0,
duty_cycle: 100,
spacing: 0,
power_limit: 20,
},
],
[
Protobuf.Config.Config_LoRaConfig_RegionCode.MY_919,
{
freq_start: 919.0,
freq_end: 924.0,
duty_cycle: 100,
spacing: 0,
power_limit: 27,
},
],
[ [
Protobuf.Config.Config_LoRaConfig_RegionCode.LORA_24, Protobuf.Config.Config_LoRaConfig_RegionCode.LORA_24,
{ {

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 946 B