Wiki source code of End Device Frequency Band
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% class="wikigeneratedid" id="HEndDeviceFrequencyBand" %) | ||
2 | **Contents:** | ||
3 | |||
4 | {{toc/}} | ||
5 | |||
6 | = 1. Introduction = | ||
7 | |||
8 | This page list the default frequency band for Dragino End Devices. The frequency bands are base on TTN Frequency Bands. User can modify upgrade firmware to support different frequency band or use AT Command to change the sub band in some frequency bands. | ||
9 | |||
10 | * TTN Frequency Band Settings: [[https:~~/~~/www.thethingsnetwork.org/docs/lorawan/frequency-plans.html>>url:https://www.thethingsnetwork.org/docs/lorawan/frequency-plans.html]] | ||
11 | * Frequency Bands vs Country List : Page 11 of [[LoRaWAN Regional Parameters RP2-1.0.3>>url:https://resources.lora-alliance.org/technical-specifications/rp2-1-0-3-lorawan-regional-parameters]] | ||
12 | |||
13 | = 2. OTAA Join Behaviour = | ||
14 | |||
15 | For 005 LoRaWAN stack: to save battery, once boot, device will make first make 200 tries for OTAA Join, the time period of two Join Requests will depends on the DR and the airtime requirement. After this 200 Join finish, device will send a join request every 20 minutes. If device reboot, it will do above loop again. | ||
16 | |||
17 | ((( | ||
18 | For 005 LoRaWAN Stack: | ||
19 | ))) | ||
20 | |||
21 | * EU868 OTAA Join DR select. SF7->SF8->SF9->SF10->SF11->SF12; Each 3 attempts and then loop | ||
22 | * US915 and AU915 OTAA Join procedure,. End node by default will use all 72 channels to join and it will be set to use the proper sub-band after Join success | ||
23 | |||
24 | = 3. Default Frequency Bands = | ||
25 | |||
26 | |||
27 | == 3.1 AS923 == | ||
28 | |||
29 | === 3.1.1 Notice for AS923 Frequency Bands === | ||
30 | |||
31 | ((( | ||
32 | Since [[RP002-1.0.1LoRaWAN Regional Parameters>>url:https://lora-alliance.org/sites/default/files/2020-02/rp_2-1.0.1.pdf]], AS923 include three different default settings for different countries: AS923-1, AS923-2 and AS923-3. | ||
33 | ))) | ||
34 | |||
35 | ((( | ||
36 | AS923-1 use the same default uplink frequency as previous AS923 firmware. AS923-2 and AS923-3 are new with different default uplink frequency. User need to know exactly the frequency bands from the LoRaWAN server and choose the right firmware version for the end node. | ||
37 | ))) | ||
38 | |||
39 | |||
40 | |||
41 | === 3.1.2 AS920-923 & AS923-925 : AS923-1 (AS923) === | ||
42 | |||
43 | * Default Uplink channel: | ||
44 | ** 923.2 - SF7BW125 to SF10BW125 | ||
45 | ** 923.4 - SF7BW125 to SF10BW125 | ||
46 | |||
47 | * Additional Uplink Channel: These channels are set during OTAA Join process from server. Below are the settings from TTN | ||
48 | * AS920~~AS923: | ||
49 | ** 922.2 - SF7BW125 to SF10BW125 | ||
50 | ** 922.4 - SF7BW125 to SF10BW125 | ||
51 | ** 922.6 - SF7BW125 to SF10BW125 | ||
52 | ** 922.8 - SF7BW125 to SF10BW125 | ||
53 | ** 923.0 - SF7BW125 to SF10BW125 | ||
54 | ** 922.0 - SF7BW125 to SF10BW125 | ||
55 | |||
56 | * AS923 ~~ AS925: | ||
57 | ** 923.6 - SF7BW125 to SF10BW125 | ||
58 | ** 923.8 - SF7BW125 to SF10BW125 | ||
59 | ** 924.0 - SF7BW125 to SF10BW125 | ||
60 | ** 924.2 - SF7BW125 to SF10BW125 | ||
61 | ** 924.4 - SF7BW125 to SF10BW125 | ||
62 | ** 924.6 - SF7BW125 to SF10BW125 | ||
63 | |||
64 | * Downlink: | ||
65 | ** Uplink channels 1-8 (RX1) | ||
66 | ** 923.2 - SF10BW125 (RX2) | ||
67 | |||
68 | === 3.1.3 AS923-2 === | ||
69 | |||
70 | * Default Uplink channel: | ||
71 | ** 921.4 - SF7BW125 to SF10BW125 | ||
72 | ** 921.6 - SF7BW125 to SF10BW125 | ||
73 | |||
74 | * Additional Uplink Channels: These channels are set during OTAA Join process from server. | ||
75 | |||
76 | * Downlink: | ||
77 | ** Uplink channels 1-8 (RX1) | ||
78 | ** 921.4 - SF10BW125 (RX2) | ||
79 | |||
80 | === 3.1.4 AS923-3 === | ||
81 | |||
82 | * Default Uplink channel: | ||
83 | ** 916.6 - SF7BW125 to SF10BW125 | ||
84 | ** 916.8 - SF7BW125 to SF10BW125 | ||
85 | |||
86 | * Additional Uplink Channels: These channels are set during OTAA Join process from server. | ||
87 | |||
88 | * Downlink: | ||
89 | ** Uplink channels 1-8 (RX1) | ||
90 | ** 916.6 - SF10BW125 (RX2) | ||
91 | |||
92 | === 3.1.5 AS923-4 === | ||
93 | |||
94 | * Countries : Israel | ||
95 | * Default Uplink channel: | ||
96 | ** 917.3 - SF7BW125 to SF10BW125 | ||
97 | ** 917.5 - SF7BW125 to SF10BW125 | ||
98 | |||
99 | * Additional Uplink Channels: These channels are set during OTAA Join process from server. | ||
100 | * Downlink: | ||
101 | ** Uplink channels 1-8 (RX1) | ||
102 | ** 917.3 - SF10BW125 (RX2) | ||
103 | |||
104 | == 3.2 AU915-928(AU915) == | ||
105 | |||
106 | **Before [[Dragino DLS-005 LoRaWAN Stack>>url:https://www.dragino.com/downloads/downloads/LoRa_End_Node/DR-LWS/changelog]]** , Default use CHE=2 | ||
107 | |||
108 | * Uplink: | ||
109 | ** 916.8 - SF7BW125 to SF12BW125 | ||
110 | ** 917.0 - SF7BW125 to SF12BW125 | ||
111 | ** 917.2 - SF7BW125 to SF12BW125 | ||
112 | ** 917.4 - SF7BW125 to SF12BW125 | ||
113 | ** 917.6 - SF7BW125 to SF12BW125 | ||
114 | ** 917.8 - SF7BW125 to SF12BW125 | ||
115 | ** 918.0 - SF7BW125 to SF12BW125 | ||
116 | ** 918.2 - SF7BW125 to SF12BW125 | ||
117 | |||
118 | * Downlink: | ||
119 | ** 923.3 - SF7BW500 to SF12BW500 | ||
120 | ** 923.9 - SF7BW500 to SF12BW500 | ||
121 | ** 924.5 - SF7BW500 to SF12BW500 | ||
122 | ** 925.1 - SF7BW500 to SF12BW500 | ||
123 | ** 925.7 - SF7BW500 to SF12BW500 | ||
124 | ** 926.3 - SF7BW500 to SF12BW500 | ||
125 | ** 926.9 - SF7BW500 to SF12BW500 | ||
126 | ** 927.5 - SF7BW500 to SF12BW500 | ||
127 | ** 923.3 - SF12BW500(RX2 downlink only) | ||
128 | |||
129 | ((( | ||
130 | There is a issue if the end node is fixed at sub-band2. The sensor won't be able to register to other sub-band and can only works for the LoRaWAN server use sub-band2 , such as TTN. To solve this, user need to use a USB-TTL adapter to connect to the end node to manually set the sub-band which is very inconvinient. | ||
131 | ))) | ||
132 | |||
133 | |||
134 | ((( | ||
135 | So since **Since [[Dragino DLS-005 LoRaWAN Stack>>url:https://www.dragino.com/downloads/downloads/LoRa_End_Node/DR-LWS/changelog]]**, To make sure the end node supports all sub band by default. In the OTAA Join process, the end node will use frequency 1 from sub-band1, then frequency 1 from sub-band2, then frequency 1 from sub-band3, etc to process the OTAA join. | ||
136 | ))) | ||
137 | |||
138 | |||
139 | ((( | ||
140 | After Join success, the end node will switch to the correct sub band by: | ||
141 | ))) | ||
142 | |||
143 | * ((( | ||
144 | Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band | ||
145 | ))) | ||
146 | * ((( | ||
147 | Use the Join successful sub-band if the server doesn’t include sub-band info in the OTAA Join Accept message ( TTN v2 doesn't include) | ||
148 | ))) | ||
149 | |||
150 | == 3.3 CN470-510 (CN470) == | ||
151 | |||
152 | Used in China, Default use CHE=1 | ||
153 | |||
154 | * Uplink: | ||
155 | ** 486.3 - SF7BW125 to SF12BW125 | ||
156 | ** 486.5 - SF7BW125 to SF12BW125 | ||
157 | ** 486.7 - SF7BW125 to SF12BW125 | ||
158 | ** 486.9 - SF7BW125 to SF12BW125 | ||
159 | ** 487.1 - SF7BW125 to SF12BW125 | ||
160 | ** 487.3 - SF7BW125 to SF12BW125 | ||
161 | ** 487.5 - SF7BW125 to SF12BW125 | ||
162 | ** 487.7 - SF7BW125 to SF12BW125 | ||
163 | |||
164 | * Downlink: | ||
165 | ** 506.7 - SF7BW125 to SF12BW125 | ||
166 | ** 506.9 - SF7BW125 to SF12BW125 | ||
167 | ** 507.1 - SF7BW125 to SF12BW125 | ||
168 | ** 507.3 - SF7BW125 to SF12BW125 | ||
169 | ** 507.5 - SF7BW125 to SF12BW125 | ||
170 | ** 507.7 - SF7BW125 to SF12BW125 | ||
171 | ** 507.9 - SF7BW125 to SF12BW125 | ||
172 | ** 508.1 - SF7BW125 to SF12BW125 | ||
173 | ** 505.3 - SF12BW125 (RX2 downlink only) | ||
174 | |||
175 | == 3.4 EU863-870 (EU868) == | ||
176 | |||
177 | * Uplink: | ||
178 | ** 868.1 - SF7BW125 to SF12BW125 | ||
179 | ** 868.3 - SF7BW125 to SF12BW125 and SF7BW250 | ||
180 | ** 868.5 - SF7BW125 to SF12BW125 | ||
181 | ** 867.1 - SF7BW125 to SF12BW125 | ||
182 | ** 867.3 - SF7BW125 to SF12BW125 | ||
183 | ** 867.5 - SF7BW125 to SF12BW125 | ||
184 | ** 867.7 - SF7BW125 to SF12BW125 | ||
185 | ** 867.9 - SF7BW125 to SF12BW125 | ||
186 | ** 868.8 - FSK | ||
187 | |||
188 | * Downlink: | ||
189 | ** Uplink channels 1-9 (RX1) | ||
190 | ** 869.525 - SF9BW125 (RX2 downlink only) | ||
191 | |||
192 | OTAA RX2DR is set to DR0, SF12BW125 since 2021,Mar for Dragino Devices. | ||
193 | |||
194 | |||
195 | == 3.5 IN865-867 (IN865) == | ||
196 | |||
197 | * Uplink: | ||
198 | ** 865.0625 - SF7BW125 to SF12BW125 | ||
199 | ** 865.4025 - SF7BW125 to SF12BW125 | ||
200 | ** 865.9850 - SF7BW125 to SF12BW125 | ||
201 | |||
202 | * Downlink: | ||
203 | ** Uplink channels 1-3 (RX1) | ||
204 | ** 866.550 - SF10BW125 (RX2) | ||
205 | |||
206 | == 3.6 KZ865 == | ||
207 | |||
208 | * Uplink ~-~- 125Khz , DR0 - DR5 | ||
209 | ** 865.1 | ||
210 | ** 865.2 | ||
211 | ** 865.5 | ||
212 | ** 865.7 | ||
213 | ** 865.9 | ||
214 | |||
215 | * Downlink: | ||
216 | ** The RX1 receive window uses the same channel as the preceding uplink. | ||
217 | ** The RX2 receive window uses a fixed frequency and data rate. The default parameters are 866.7MHz / DR0 (SF12, 125 kHz) | ||
218 | |||
219 | == 3.7 KR920-923 (KR920) == | ||
220 | |||
221 | * Default channel: | ||
222 | ** 922.1 - SF7BW125 to SF12BW125 | ||
223 | ** 922.3 - SF7BW125 to SF12BW125 | ||
224 | ** 922.5 - SF7BW125 to SF12BW125 | ||
225 | |||
226 | * Uplink: (OTAA mode, channel added by JoinAccept message) | ||
227 | ** 922.1 - SF7BW125 to SF12BW125 | ||
228 | ** 922.3 - SF7BW125 to SF12BW125 | ||
229 | ** 922.5 - SF7BW125 to SF12BW125 | ||
230 | ** 922.7 - SF7BW125 to SF12BW125 | ||
231 | ** 922.9 - SF7BW125 to SF12BW125 | ||
232 | ** 923.1 - SF7BW125 to SF12BW125 | ||
233 | ** 923.3 - SF7BW125 to SF12BW125 | ||
234 | |||
235 | * Downlink: | ||
236 | ** Uplink channels 1-7(RX1) | ||
237 | ** 921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125) | ||
238 | |||
239 | == 3.8 MA869 == | ||
240 | |||
241 | * Uplink: | ||
242 | ** 869.1 - SF7BW125 to SF12BW125 | ||
243 | ** 869.3 - SF7BW125 to SF12BW125 | ||
244 | ** 869.5 - SF7BW125 to SF12BW125 | ||
245 | ** 869.7 - SF7BW125 to SF12BW125 | ||
246 | ** 869.9 - SF7BW125 to SF12BW125 | ||
247 | ** 870.0 - SF7BW125 to SF12BW125 | ||
248 | ** 870.1 - SF7BW125 to SF12BW125 | ||
249 | ** 870.3 - SF7BW125 to SF12BW125 | ||
250 | ** 869.8 - FSK | ||
251 | |||
252 | * Downlink: | ||
253 | ** Uplink channels 1-9 (RX1) | ||
254 | ** 869.525 - SF12BW125 (RX2 downlink only) | ||
255 | |||
256 | == 3.9 US902-928 (US915) == | ||
257 | |||
258 | Used in USA, Canada and South America. | ||
259 | |||
260 | === 3.9.1 Before [[Dragino DLS-005 LoRaWAN Stack>>url:https://www.dragino.com/downloads/downloads/LoRa_End_Node/DR-LWS/changelog]]. === | ||
261 | |||
262 | Default use CHE=2, Subband 2 | ||
263 | |||
264 | * Uplink: | ||
265 | ** 903.9 - SF7BW125 to SF10BW125 | ||
266 | ** 904.1 - SF7BW125 to SF10BW125 | ||
267 | ** 904.3 - SF7BW125 to SF10BW125 | ||
268 | ** 904.5 - SF7BW125 to SF10BW125 | ||
269 | ** 904.7 - SF7BW125 to SF10BW125 | ||
270 | ** 904.9 - SF7BW125 to SF10BW125 | ||
271 | ** 905.1 - SF7BW125 to SF10BW125 | ||
272 | ** 905.3 - SF7BW125 to SF10BW125 | ||
273 | |||
274 | * Downlink: | ||
275 | ** 923.3 - SF7BW500 to SF12BW500 | ||
276 | ** 923.9 - SF7BW500 to SF12BW500 | ||
277 | ** 924.5 - SF7BW500 to SF12BW500 | ||
278 | ** 925.1 - SF7BW500 to SF12BW500 | ||
279 | ** 925.7 - SF7BW500 to SF12BW500 | ||
280 | ** 926.3 - SF7BW500 to SF12BW500 | ||
281 | ** 926.9 - SF7BW500 to SF12BW500 | ||
282 | ** 927.5 - SF7BW500 to SF12BW500 | ||
283 | ** 923.3 - SF12BW500(RX2 downlink only) | ||
284 | |||
285 | === 3.9.2 Latest firmware, Since [[Dragino DLS-005 LoRaWAN Stack>>url:https://www.dragino.com/downloads/downloads/LoRa_End_Node/DR-LWS/changelog]] === | ||
286 | |||
287 | ((( | ||
288 | There is an issue if the end node is fixed at sub-band2. The sensor won't be able to register to other sub-band and can only work for the LoRaWAN server use sub-band2 , such as TTN. To solve this, the user needs to use a USB-TTL adapter to connect to the end node to manually set the sub-band which is very inconvenient. | ||
289 | ))) | ||
290 | |||
291 | ((( | ||
292 | |||
293 | ))) | ||
294 | |||
295 | ((( | ||
296 | So since **Since [[Dragino DLS-005 LoRaWAN Stack>>url:https://www.dragino.com/downloads/downloads/LoRa_End_Node/DR-LWS/changelog]]**, we have improved this, the end node will use frequency 1 from sub-band1, then frequency 1 from sub-band2, then frequency 1 from sub-band3, etc to process the OTAA join, In this case, In this case, the end node can support LoRaWAN servers with different subbands. To make sure the end node will only transmit the proper sub-band after OTAA Joined successfully, the end node will: | ||
297 | ))) | ||
298 | |||
299 | * ((( | ||
300 | Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that subband | ||
301 | ))) | ||
302 | * ((( | ||
303 | Use the Join successful sub-band if the server doesn't include subband info in the OTAA Join Accept message ( TTN v2 doesn't include) | ||
304 | ))) | ||
305 | |||
306 | = 4. Frequency Bands for different server = | ||
307 | |||
308 | * TTN Frequency Band Settings: [[https:~~/~~/www.thethingsnetwork.org/docs/lorawan/frequency-plans.html>>url:https://www.thethingsnetwork.org/docs/lorawan/frequency-plans.html]] | ||
309 | * Loriot [[https:~~/~~/docs.loriot.io/display/LNS/Regional+Frequency+Plans>>url:https://docs.loriot.io/display/LNS/Regional+Frequency+Plans]] |