TheThingsNetwork / lorawan-frequency-plans

LoRaWAN Frequency Plans for The Things Stack
https://www.thethingsnetwork.org
Apache License 2.0
35 stars 26 forks source link

Add AS923 Group 2, 3 and 4 (compatibility) plans #32

Closed htdvisser closed 2 years ago

htdvisser commented 3 years ago

Summary

This adds the AS923 (Group 2) and (Group 3) plans with only the 2 mandatory channels.

From the spec:

1357 The network channels can be freely assigned by the network operator. However, the two
1358 following default channels SHALL be implemented in every AS923 end-device. Those
1359 channels are the minimum set that all network gateways SHALL always be listening on.
1360 | Modulation | Bandwidth [kHz] | Channel Frequency [Hz]           | LoRa DR / Bitrate
     |            |                 | 923200000 + AS923_FREQ_OFFSET_HZ |
     | LoRa       | 125             |                                  | DR0 to DR5 / 0.3-5 kbps
     |            |                 | 923400000 + AS923_FREQ_OFFSET_HZ |
1486 Group AS923-1: AS923_FREQ_OFFSET default value = 0x00000000, 
1487 AS923_FREQ_OFFSET_HZ = 0 .0 MHz
1488 This group is composed of countries having available frequencies in the 915 – 928 
1489 MHz range with common channels in the 923.0 – 923.5 MHz sub-band. These are the 
1490 “historical” AS923 countries, compliant to RP2-1.0.0 specification and previous 
1491 versions.
1492 Group AS923-2: AS923_FREQ_OFFSET default value = 0xFFFFB9B0, 
1493 AS923_FREQ_OFFSET_HZ = -1.80 MHz
1494 This group is composed of countries having available frequencies in the 920 – 923 
1495 MHz range with common channels in the 921.4 – 922.0 MHz sub-band.
1496 Group AS923-3: AS923_FREQ_OFFSET default value = 0xFFFEFE30, 
1497 AS923_FREQ_OFFSET_HZ = -6.60 MHz
1498 This group is composed of countries having available frequencies in the 915 – 921 
1499 MHz range with common channels in the 916.5 – 917.0 MHz sub-band.

They're based on the existing AS923 compatibility plan, so they'll look quite similar.

AS_923 yml

AS_923_2 yml

AS_923_3 yml

From the 1.0.3 spec, we additionally add the AS923-4 group:

1499 Group AS923-4: AS923_FREQ_OFFSET default value = 0xFFFF1988, 
1500 AS923_FREQ_OFFSET_HZ = -5.90 MHz
1501 This group is composed of countries having available frequencies in the 917 – 920
1502 MHz range with common channels in the 917.3 – 917.5 MHz sub-band.

AS_923_4 yml


We still need to determine to which countries each of these apply.

htdvisser commented 3 years ago

These plans should work fine for gateways now, but we'll need https://github.com/TheThingsNetwork/lorawan-stack/issues/3513 for this to work correctly for end devices, so I'm afraid we'll need to block this until that is fixed, otherwise I'm afraid we'll have some weird behavior with joins and RX2 downlinks.

htdvisser commented 3 years ago

Updated to include the AS923-4 group from the 1.0.3 spec.

Still blocked on https://github.com/TheThingsNetwork/lorawan-stack/issues/3513

htdvisser commented 3 years ago

As https://github.com/TheThingsNetwork/lorawan-stack/issues/3513 was pushed to v3.14, this will have to be pushed as well.

johanstokking commented 2 years ago

@adriansmares is this ready for review?

adriansmares commented 2 years ago

Yes - I've only updated the band IDs in order to match the names in TTS.