|
1 | 1 | Frequency sub-bands in US915/AU915:
|
2 | 2 |
|
3 |
| - US915/AU915 PHYs define channel structures which can support up-to 72 channels for upstream. |
4 |
| - First 64 channels (0-63), occupy 125 kHz and the last 8 channels (64-71) occupy 500 kHz. |
| 3 | + US915/AU915 PHYs define channel structures that can support up to 72 channels for upstream. |
| 4 | + The first 64 channels (0-63), occupy 125 kHz and the last 8 channels (64-71) occupy 500 kHz. |
5 | 5 | However, most of the base stations available in the market support 8 or 16 channels.
|
6 |
| - Network acquisition can become costly if the device have no prior knowledge of active channel plan and it enables |
| 6 | + Network acquisition can become costly if the device has no prior knowledge of the active channel plan and it enables |
7 | 7 | all 72 channels to begin with.
|
8 | 8 |
|
9 |
| - LoRaWAN 1.0.2 Regional parameters specification refers to a strategy of probing a set of nine channels (8 + 1) for |
10 |
| - joining process. According to that strategy the device is supposed to alternatively select a channel from a set of |
11 |
| - 8, 125 kHz channels and a 500 kHz channel. |
12 |
| - For example send a join request alternatively on a randomly selected channel from a set of 0-7 channels and |
13 |
| - channel 64 which is the first 500 kHz channel. |
14 |
| - |
15 |
| - Once the device has joined the network (in case of OTAA) or have sent the first uplink (in case of ABP), the network |
16 |
| - may send a LinkAdrReq mac command to set the channel mask to be used. Please note that these PHY layers do not |
17 |
| - support CFList so LinkAdrReq is the way the network tells you what channel plan to use. |
18 |
| - |
19 |
| - Mbed LoRaWAN stack can be configured to use a particular frequency sub-band (FSB) which means that we don't have to |
20 |
| - probe all sets of channels. "fsb-mask" in lorawan/mbed_lib.json is the parameter which can be used to tell the |
21 |
| - system which FSB or a set of FSBs to use. By default the "fsb-mask" is set to "{0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x00FF}" |
22 |
| - that means all channels are active, i.e., 64 125 kHz channels and 8 500 kHz channels are active. If the user wishes |
23 |
| - to use a custom FSB, he/she needs to set appropriate mask as the value of "fsb-mask". For example: |
24 |
| - If the user wishes to use the first FSB, i.e., first 8 125 kHz channels (0-7) and the first 500 kHz channel: |
| 9 | + The LoRaWAN 1.0.2 Regional parameters specification refers to a strategy of probing a set of nine channels (8 + 1) for |
| 10 | + the joining process. According to that strategy, the device alternatively selects a channel from a set of |
| 11 | + 8 125 kHz channels and a 500 kHz channel. |
| 12 | + For example, send a join request alternatively on a randomly selected channel from a set of 0-7 channels and |
| 13 | + channel 64, which is the first 500 kHz channel. |
| 14 | + |
| 15 | + Once the device has joined the network (in case of OTAA) or has sent the first uplink (in the case of ABP), the network |
| 16 | + may send a LinkAdrReq MAC command to set the channel mask to be used. Please note that these PHY layers do not |
| 17 | + support CFList, so LinkAdrReq is the way the network tells you what channel plan to use. |
| 18 | + |
| 19 | + You can configure the Mbed LoRaWAN stack to use a particular frequency sub-band (FSB), which means that you don't have to |
| 20 | + probe all sets of channels. "fsb-mask" in lorawan/mbed_lib.json is the parameter that you can use to tell the |
| 21 | + system which FSB or set of FSBs to use. By default, the "fsb-mask" is set to "{0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x00FF}". |
| 22 | + That means all channels are active. In other words, 64 125 kHz channels and 8 500 kHz channels are active. If you wish |
| 23 | + to use a custom FSB, you need to set an appropriate mask as the value of "fsb-mask". For example, if you wish to use the |
| 24 | + first FSB, in other words, the first 8 125 kHz channels (0-7) and the first 500 kHz channel: |
25 | 25 | "fsb-mask" = "{0x00FF, 0x0000, 0x0000, 0x0000, 0x0001}"
|
26 |
| - Similarly, if the user wishes to use second FSB, i.e., 2nd set of 8 125 kHz channels (8-15) and the 2nd 500 kHz |
| 26 | + Similarly, if you wish to use the second FSB, in other words, the second set of 8 125 kHz channels (8-15) and the 2nd 500 kHz |
27 | 27 | channel:
|
28 | 28 | "fsb-mask" = "{0xFF00, 0x0000, 0x0000, 0x0000, 0x0002}"
|
29 | 29 |
|
30 | 30 | You can also combine FSBs if your base station supports more than 8 channels. For example:
|
31 | 31 | "fsb-mask" = "{0x00FF, 0x0000, 0x0000, 0xFF00, 0x0081}"
|
32 |
| - will mean use channels 0-7(125 kHz) + channel 64 (500 KHz) and channels 56-63 (125 kHz) + channel 71 (500 kHz). |
| 32 | + means use channels 0-7(125 kHz) + channel 64 (500 KHz) and channels 56-63 (125 kHz) + channel 71 (500 kHz). |
33 | 33 |
|
34 |
| - Please note that for Certification requirements, you need to alternate between 125 kHz and 500 kHz channels and that's |
35 |
| - why before joining you should not set a mask that enables only 500 kHz or only 125 kHz channels. |
| 34 | + Please note that for Certification requirements, you need to alternate between 125 kHz and 500 kHz channels, so before joining, |
| 35 | + do not set a mask that enables only 500 kHz or only 125 kHz channels. |
36 | 36 |
|
37 | 37 | Frequency sub-bands in CN470 PHY:
|
38 | 38 |
|
39 |
| - There are 96 channels in total defined in LoRaPHYCN470 class as per LoRaWAN Regional Specification. These 96 channels |
| 39 | + The LoRaPHYCN470 class defines 96 channels in total, as per the LoRaWAN Regional Specification. These 96 channels |
40 | 40 | are 125 kHz wide each and can be subdivided into 6 sub-bands containing 16 channels each.
|
41 |
| - "fsb-mask-china" is the parameter defined in lorawan/mbed_lib.json which can be used to enforce an FSB. It is defined |
42 |
| - as a c-style array and the first element of the array corresponds to first 8 channels (0-7) and so on. By default all |
43 |
| - 96 channels are enabled but there may be base stations who do not support all 96 channels and hence network acquisition |
| 41 | + "fsb-mask-china" is the parameter that lorawan/mbed_lib.json defines. It can be used to enforce an FSB. It is defined |
| 42 | + as a C-style array, and the first element of the array corresponds to first 8 channels (0-7) and so on. By default, all |
| 43 | + 96 channels are enabled, but there may be base stations that do not support all 96 channels. Therefore, network acquisition |
44 | 44 | can become cumbersome if the device hops on random channels. The probability of finding a correct channel for a base station
|
45 |
| - who support 8 channels would be 1/12. |
| 45 | + that supports 8 channels would be 1/12. |
46 | 46 |
|
47 |
| - For example, say your base station supports 16 channels (channels 0-15), you would set the "fsb-mask-china" as: |
| 47 | + For example, if your base station supports 16 channels (channels 0-15), set the "fsb-mask-china" as: |
48 | 48 | "fsb-mask-china" = "{0xFFFF, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000}"
|
49 | 49 |
|
50 |
| - Yet another example, say your base station supports 8 channels (channels 0-7), you would set the "fsb-mask-china" as: |
| 50 | + Similarly, if your base station supports 8 channels (channels 0-7), set the "fsb-mask-china" as: |
51 | 51 | "fsb-mask-china" = "{0x00FF, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000}"
|
52 |
| - |
| 52 | + |
0 commit comments