Wiki source code of End Device Frequency Band

Version 13.1 by Edwin Chen on 2022/12/13 22:49

Hide last authors
Xiaoling 3.1 1 (% class="wikigeneratedid" id="HEndDeviceFrequencyBand" %)
Xiaoling 12.2 2 **Table of** **Contents:**
Xiaoling 1.1 3
Xiaoling 3.1 4 {{toc/}}
Xiaoling 1.1 5
Xiaoling 8.1 6
7
8
Xiaoling 3.1 9 = 1. Introduction =
Xiaoling 1.1 10
Xiaoling 12.2 11
Xiaoling 1.1 12 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.
13
14 * TTN Frequency Band Settings: [[https:~~/~~/www.thethingsnetwork.org/docs/lorawan/frequency-plans.html>>url:https://www.thethingsnetwork.org/docs/lorawan/frequency-plans.html]]
15 * 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]]
16
Xiaoling 5.1 17
Xiaoling 12.2 18
Xiaoling 3.1 19 = 2. OTAA Join Behaviour =
Xiaoling 1.1 20
Xiaoling 12.2 21
Xiaoling 1.1 22 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.
23
Xiaoling 3.6 24 (((
Xiaoling 1.1 25 For 005 LoRaWAN Stack:
Xiaoling 3.6 26 )))
Xiaoling 1.1 27
28 * EU868 OTAA Join DR select. SF7->SF8->SF9->SF10->SF11->SF12; Each 3 attempts and then loop
29 * 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
30
Xiaoling 11.6 31
Xiaoling 12.2 32
Xiaoling 3.1 33 = 3. Default Frequency Bands =
Xiaoling 1.1 34
35
Xiaoling 3.1 36 == 3.1 AS923 ==
Xiaoling 1.1 37
Xiaoling 12.2 38
Xiaoling 3.1 39 === 3.1.1 Notice for AS923 Frequency Bands ===
Xiaoling 1.1 40
Xiaoling 12.2 41
Xiaoling 3.6 42 (((
Xiaoling 1.1 43 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.
Xiaoling 3.6 44 )))
Xiaoling 1.1 45
Xiaoling 3.6 46 (((
Xiaoling 1.1 47 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.
Xiaoling 3.6 48 )))
Xiaoling 1.1 49
50
Xiaoling 12.2 51
Xiaoling 3.1 52 === 3.1.2 AS920-923 & AS923-925 : AS923-1 (AS923) ===
Xiaoling 1.1 53
Xiaoling 12.2 54
Edwin Chen 12.1 55 * **Countries**: Malaysia,
Xiaoling 1.1 56 * Default Uplink channel:
57 ** 923.2 - SF7BW125 to SF10BW125
58 ** 923.4 - SF7BW125 to SF10BW125
59
60 * Additional Uplink Channel: These channels are set during OTAA Join process from server. Below are the settings from TTN
61 * AS920~~AS923:
62 ** 922.2 - SF7BW125 to SF10BW125
63 ** 922.4 - SF7BW125 to SF10BW125
64 ** 922.6 - SF7BW125 to SF10BW125
65 ** 922.8 - SF7BW125 to SF10BW125
66 ** 923.0 - SF7BW125 to SF10BW125
67 ** 922.0 - SF7BW125 to SF10BW125
68
69 * AS923 ~~ AS925:
70 ** 923.6 - SF7BW125 to SF10BW125
71 ** 923.8 - SF7BW125 to SF10BW125
72 ** 924.0 - SF7BW125 to SF10BW125
73 ** 924.2 - SF7BW125 to SF10BW125
74 ** 924.4 - SF7BW125 to SF10BW125
75 ** 924.6 - SF7BW125 to SF10BW125
76
77 * Downlink:
78 ** Uplink channels 1-8 (RX1)
79 ** 923.2 - SF10BW125 (RX2)
80
Xiaoling 11.7 81
Xiaoling 12.2 82
Xiaoling 3.1 83 === 3.1.3 AS923-2 ===
Xiaoling 1.1 84
Xiaoling 12.2 85
Xiaoling 1.1 86 * Default Uplink channel:
87 ** 921.4 - SF7BW125 to SF10BW125
88 ** 921.6 - SF7BW125 to SF10BW125
89
90 * Additional Uplink Channels: These channels are set during OTAA Join process from server.
91
92 * Downlink:
93 ** Uplink channels 1-8 (RX1)
94 ** 921.4 - SF10BW125 (RX2)
95
Xiaoling 11.8 96
Xiaoling 12.2 97
Xiaoling 3.1 98 === 3.1.4 AS923-3 ===
Xiaoling 1.1 99
Xiaoling 12.2 100
Xiaoling 1.1 101 * Default Uplink channel:
102 ** 916.6 - SF7BW125 to SF10BW125
103 ** 916.8 - SF7BW125 to SF10BW125
104
105 * Additional Uplink Channels: These channels are set during OTAA Join process from server.
106
107 * Downlink:
108 ** Uplink channels 1-8 (RX1)
109 ** 916.6 - SF10BW125 (RX2)
110
Xiaoling 11.9 111
Xiaoling 12.2 112
Xiaoling 3.1 113 === 3.1.5 AS923-4 ===
Xiaoling 1.1 114
Xiaoling 12.2 115
Edwin Chen 2.1 116 * Countries : Israel
Xiaoling 1.1 117 * Default Uplink channel:
118 ** 917.3 - SF7BW125 to SF10BW125
119 ** 917.5 - SF7BW125 to SF10BW125
120
121 * Additional Uplink Channels: These channels are set during OTAA Join process from server.
122 * Downlink:
123 ** Uplink channels 1-8 (RX1)
124 ** 917.3 - SF10BW125 (RX2)
125
Xiaoling 11.10 126
Xiaoling 12.2 127
Xiaoling 3.1 128 == 3.2 AU915-928(AU915) ==
Xiaoling 1.1 129
Xiaoling 12.2 130
Xiaoling 1.1 131 **Before [[Dragino DLS-005 LoRaWAN Stack>>url:https://www.dragino.com/downloads/downloads/LoRa_End_Node/DR-LWS/changelog]]** , Default use CHE=2
132
133 * Uplink:
134 ** 916.8 - SF7BW125 to SF12BW125
135 ** 917.0 - SF7BW125 to SF12BW125
136 ** 917.2 - SF7BW125 to SF12BW125
137 ** 917.4 - SF7BW125 to SF12BW125
138 ** 917.6 - SF7BW125 to SF12BW125
139 ** 917.8 - SF7BW125 to SF12BW125
140 ** 918.0 - SF7BW125 to SF12BW125
141 ** 918.2 - SF7BW125 to SF12BW125
142
143 * Downlink:
144 ** 923.3 - SF7BW500 to SF12BW500
145 ** 923.9 - SF7BW500 to SF12BW500
146 ** 924.5 - SF7BW500 to SF12BW500
147 ** 925.1 - SF7BW500 to SF12BW500
148 ** 925.7 - SF7BW500 to SF12BW500
149 ** 926.3 - SF7BW500 to SF12BW500
150 ** 926.9 - SF7BW500 to SF12BW500
151 ** 927.5 - SF7BW500 to SF12BW500
152 ** 923.3 - SF12BW500(RX2 downlink only)
153
Xiaoling 3.8 154 (((
Xiaoling 1.1 155 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.
Xiaoling 3.8 156 )))
Xiaoling 1.1 157
Xiaoling 3.8 158
159 (((
Xiaoling 1.1 160 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.
Xiaoling 3.8 161 )))
Xiaoling 1.1 162
Xiaoling 3.8 163
164 (((
Xiaoling 1.1 165 After Join success, the end node will switch to the correct sub band by:
Xiaoling 3.8 166 )))
Xiaoling 1.1 167
Xiaoling 3.8 168 * (((
169 Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
170 )))
171 * (((
172 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)
Xiaoling 6.1 173
Xiaoling 12.2 174
175
Xiaoling 6.1 176
Xiaoling 3.8 177 )))
Xiaoling 1.1 178
Xiaoling 3.1 179 == 3.3 CN470-510 (CN470) ==
Xiaoling 1.1 180
Xiaoling 12.2 181
Xiaoling 1.1 182 Used in China, Default use CHE=1
183
184 * Uplink:
185 ** 486.3 - SF7BW125 to SF12BW125
186 ** 486.5 - SF7BW125 to SF12BW125
187 ** 486.7 - SF7BW125 to SF12BW125
188 ** 486.9 - SF7BW125 to SF12BW125
189 ** 487.1 - SF7BW125 to SF12BW125
190 ** 487.3 - SF7BW125 to SF12BW125
191 ** 487.5 - SF7BW125 to SF12BW125
192 ** 487.7 - SF7BW125 to SF12BW125
193
194 * Downlink:
195 ** 506.7 - SF7BW125 to SF12BW125
196 ** 506.9 - SF7BW125 to SF12BW125
197 ** 507.1 - SF7BW125 to SF12BW125
198 ** 507.3 - SF7BW125 to SF12BW125
199 ** 507.5 - SF7BW125 to SF12BW125
200 ** 507.7 - SF7BW125 to SF12BW125
201 ** 507.9 - SF7BW125 to SF12BW125
202 ** 508.1 - SF7BW125 to SF12BW125
203 ** 505.3 - SF12BW125 (RX2 downlink only)
204
Xiaoling 11.11 205
Xiaoling 12.2 206
Xiaoling 3.1 207 == 3.4 EU863-870 (EU868) ==
Xiaoling 1.1 208
Xiaoling 12.2 209
Xiaoling 1.1 210 * Uplink:
211 ** 868.1 - SF7BW125 to SF12BW125
212 ** 868.3 - SF7BW125 to SF12BW125 and SF7BW250
213 ** 868.5 - SF7BW125 to SF12BW125
214 ** 867.1 - SF7BW125 to SF12BW125
215 ** 867.3 - SF7BW125 to SF12BW125
216 ** 867.5 - SF7BW125 to SF12BW125
217 ** 867.7 - SF7BW125 to SF12BW125
218 ** 867.9 - SF7BW125 to SF12BW125
219 ** 868.8 - FSK
220
221 * Downlink:
222 ** Uplink channels 1-9 (RX1)
223 ** 869.525 - SF9BW125 (RX2 downlink only)
224
225 OTAA RX2DR is set to DR0, SF12BW125 since 2021,Mar for Dragino Devices.
226
227
Xiaoling 12.2 228
Xiaoling 3.1 229 == 3.5 IN865-867 (IN865) ==
Xiaoling 1.1 230
Xiaoling 12.2 231
Xiaoling 1.1 232 * Uplink:
233 ** 865.0625 - SF7BW125 to SF12BW125
234 ** 865.4025 - SF7BW125 to SF12BW125
235 ** 865.9850 - SF7BW125 to SF12BW125
236
237 * Downlink:
238 ** Uplink channels 1-3 (RX1)
239 ** 866.550 - SF10BW125 (RX2)
240
Xiaoling 11.12 241
Edwin Chen 13.1 242 Gateway has below eight channels in IN865 bands.
Xiaoling 12.2 243
Edwin Chen 13.1 244 * 865.0625 - SF7BW125 to SF12BW125
245 * 865.4025 - SF7BW125 to SF12BW125
246 * 865.6025 - SF7BW125 to SF12BW125
247 * 865.9850 - SF7BW125 to SF12BW125
248 * 866.1850 - SF7BW125 to SF12BW125
249 * 866.3850 - SF7BW125 to SF12BW125
250 * 866.5850 - SF7BW125 to SF12BW125
251 * 866.7850 - SF7BW125 to SF12BW125
Xiaoling 12.2 252
Edwin Chen 13.1 253
Xiaoling 3.1 254 == 3.6 KZ865 ==
Xiaoling 1.1 255
Xiaoling 12.2 256
Xiaoling 1.1 257 * Uplink ~-~- 125Khz , DR0 - DR5
258 ** 865.1
259 ** 865.2
260 ** 865.5
261 ** 865.7
262 ** 865.9
263
264 * Downlink:
265 ** The RX1 receive window uses the same channel as the preceding uplink.
266 ** The RX2 receive window uses a fixed frequency and data rate. The default parameters are 866.7MHz / DR0 (SF12, 125 kHz)​
267
Xiaoling 11.13 268
Xiaoling 12.2 269
Xiaoling 3.1 270 == 3.7 KR920-923 (KR920) ==
Xiaoling 1.1 271
Xiaoling 12.2 272
Xiaoling 1.1 273 * Default channel:
274 ** 922.1 - SF7BW125 to SF12BW125
275 ** 922.3 - SF7BW125 to SF12BW125
276 ** 922.5 - SF7BW125 to SF12BW125
277
278 * Uplink: (OTAA mode, channel added by JoinAccept message)
279 ** 922.1 - SF7BW125 to SF12BW125
280 ** 922.3 - SF7BW125 to SF12BW125
281 ** 922.5 - SF7BW125 to SF12BW125
282 ** 922.7 - SF7BW125 to SF12BW125
283 ** 922.9 - SF7BW125 to SF12BW125
284 ** 923.1 - SF7BW125 to SF12BW125
285 ** 923.3 - SF7BW125 to SF12BW125
286
287 * Downlink:
288 ** Uplink channels 1-7(RX1)
289 ** 921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125)
290
Xiaoling 11.14 291
Xiaoling 12.2 292
Xiaoling 3.1 293 == 3.8 MA869 ==
Xiaoling 1.1 294
Xiaoling 12.2 295
Edwin Chen 4.1 296 Country: Morroco
297
Xiaoling 1.1 298 * Uplink:
299 ** 869.1 - SF7BW125 to SF12BW125
300 ** 869.3 - SF7BW125 to SF12BW125
301 ** 869.5 - SF7BW125 to SF12BW125
302 ** 869.7 - SF7BW125 to SF12BW125
303 ** 869.9 - SF7BW125 to SF12BW125
304 ** 870.0 - SF7BW125 to SF12BW125
305 ** 870.1 - SF7BW125 to SF12BW125
306 ** 870.3 - SF7BW125 to SF12BW125
307 ** 869.8 - FSK
308
309 * Downlink:
310 ** Uplink channels 1-9 (RX1)
311 ** 869.525 - SF12BW125 (RX2 downlink only)
312
Xiaoling 11.15 313
Xiaoling 12.2 314
Xiaoling 3.1 315 == 3.9 US902-928 (US915) ==
Xiaoling 1.1 316
Xiaoling 12.2 317
Xiaoling 1.1 318 Used in USA, Canada and South America.
319
Xiaoling 6.1 320
Xiaoling 12.2 321
Xiaoling 3.1 322 === 3.9.1 Before [[Dragino DLS-005 LoRaWAN Stack>>url:https://www.dragino.com/downloads/downloads/LoRa_End_Node/DR-LWS/changelog]]. ===
Xiaoling 1.1 323
Xiaoling 12.2 324
Xiaoling 1.1 325 Default use CHE=2, Subband 2
326
327 * Uplink:
328 ** 903.9 - SF7BW125 to SF10BW125
329 ** 904.1 - SF7BW125 to SF10BW125
330 ** 904.3 - SF7BW125 to SF10BW125
331 ** 904.5 - SF7BW125 to SF10BW125
332 ** 904.7 - SF7BW125 to SF10BW125
333 ** 904.9 - SF7BW125 to SF10BW125
334 ** 905.1 - SF7BW125 to SF10BW125
335 ** 905.3 - SF7BW125 to SF10BW125
336
337 * Downlink:
338 ** 923.3 - SF7BW500 to SF12BW500
339 ** 923.9 - SF7BW500 to SF12BW500
340 ** 924.5 - SF7BW500 to SF12BW500
341 ** 925.1 - SF7BW500 to SF12BW500
342 ** 925.7 - SF7BW500 to SF12BW500
343 ** 926.3 - SF7BW500 to SF12BW500
344 ** 926.9 - SF7BW500 to SF12BW500
345 ** 927.5 - SF7BW500 to SF12BW500
346 ** 923.3 - SF12BW500(RX2 downlink only)
347
Xiaoling 11.16 348
Xiaoling 12.2 349
Xiaoling 3.1 350 === 3.9.2 Latest firmware, Since [[Dragino DLS-005 LoRaWAN Stack>>url:https://www.dragino.com/downloads/downloads/LoRa_End_Node/DR-LWS/changelog]] ===
Xiaoling 1.1 351
Xiaoling 12.4 352
Xiaoling 3.7 353 (((
Xiaoling 1.1 354 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.
Xiaoling 3.7 355 )))
Xiaoling 1.1 356
Xiaoling 3.7 357 (((
358
359 )))
360
361 (((
Xiaoling 1.1 362 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:
Xiaoling 3.7 363 )))
Xiaoling 1.1 364
Xiaoling 3.7 365 * (((
366 Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that subband
367 )))
368 * (((
369 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)
Xiaoling 6.1 370
Xiaoling 12.3 371
372
Xiaoling 6.1 373
Xiaoling 3.7 374 )))
Xiaoling 1.1 375
Xiaoling 3.1 376 = 4. Frequency Bands for different server =
Xiaoling 1.1 377
Xiaoling 12.4 378
Xiaoling 1.1 379 * TTN Frequency Band Settings: [[https:~~/~~/www.thethingsnetwork.org/docs/lorawan/frequency-plans.html>>url:https://www.thethingsnetwork.org/docs/lorawan/frequency-plans.html]]
380 * Loriot [[https:~~/~~/docs.loriot.io/display/LNS/Regional+Frequency+Plans>>url:https://docs.loriot.io/display/LNS/Regional+Frequency+Plans]]