Changes for page LoRaWAN Communication Debug
Last modified by Mengting Qiu on 2024/01/29 19:33
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -104,7 +104,9 @@ 104 104 105 105 [[image:https://wiki.dragino.com/images/thumb/3/3a/CN470_FRE_BAND-1.png/600px-CN470_FRE_BAND-1.png||height="205" width="600"]] 106 106 107 +((( 107 107 CN470 Channels 109 +))) 108 108 109 109 ((( 110 110 If we look at the [[TTN network server frequency plan>>url:https://www.thethingsnetwork.org/docs/lorawan/frequency-plans.html]], we can see the US915 frequency band use the channel 8~~15.So the End Node must work at the same frequency in US915 8~~15 channels for TTN server. ... ... @@ -112,7 +112,9 @@ 112 112 113 113 [[image:https://wiki.dragino.com/images/thumb/9/9a/US915_FRE_BAND-2.png/600px-US915_FRE_BAND-2.png||height="288" width="600"]] 114 114 117 +((( 115 115 TTN FREQUENCY PLAN 119 +))) 116 116 117 117 ((( 118 118 In dragino end node, user can use AT+CHE command to set what frequencies set the end node will use. The default settings for Dragino end node are preconfigure for TTN server, so use 8~~15 channels, which is **AT+CHE=2**. (AT+CHE=1 for first 8 channels, AT+CHE=2 for second 8 channels.. etc, and AT+CHE=0 for all 72 channels. ) ... ... @@ -228,35 +228,41 @@ 228 228 229 229 (% class="box infomessage" %) 230 230 ((( 231 - 235 + AT+RX2FQ=869525000 ~-~--> The RX2 Window frequency 232 232 ))) 233 233 234 234 (% class="box infomessage" %) 235 235 ((( 236 - 240 + AT+RX2DR=3 ~-~--> The RX2 DataRate 237 237 ))) 238 238 239 239 (% class="box infomessage" %) 240 240 ((( 241 - 245 + AT+RX1DL=1000 ~-~--> Receive Delay 1 242 242 ))) 243 243 244 244 (% class="box infomessage" %) 245 245 ((( 246 - 250 + AT+RX2DL=2000 ~-~--> Receive Delay 2 247 247 ))) 248 248 249 -when the device running, we can see below info: 253 +((( 254 +**when the device running, we can see below info:** 255 +))) 250 250 257 +((( 258 + 259 +))) 260 + 251 251 (% class="box" %) 252 252 ((( 253 -[12502]~*~*~*~** UpLinkCounter= 0 ~*~*~*~** 254 -[12503]TX on freq 868500000 Hz at DR 0 255 -[13992]txDone 256 -[15022]RX on freq 868500000 Hz at DR 0 ~-~-> RX1 window open at frequency: 868500000, DR0, after 15022-13992= 1030ms of txdone 257 -[15222]rxTimeOut ~-~-> no packet arrive in RX1 window. (duration: 200ms) 258 -[15987]RX on freq 869525000 Hz at DR 3 ~-~-> RX2 window open at frequency: 869525000, DR3, after 15987-13992= 1995ms of txdone 259 -[16027]rxTimeOut ~-~-> no packet arrive in RX2 window. (duration: 40 ms) 263 + [12502]~*~*~*~** UpLinkCounter= 0 ~*~*~*~** 264 + [12503]TX on freq 868500000 Hz at DR 0 265 + [13992]txDone 266 + [15022]RX on freq 868500000 Hz at DR 0 ~-~-> RX1 window open at frequency: 868500000, DR0, after 15022-13992= 1030ms of txdone 267 + [15222]rxTimeOut ~-~-> no packet arrive in RX1 window. (duration: 200ms) 268 + [15987]RX on freq 869525000 Hz at DR 3 ~-~-> RX2 window open at frequency: 869525000, DR3, after 15987-13992= 1995ms of txdone 269 + [16027]rxTimeOut ~-~-> no packet arrive in RX2 window. (duration: 40 ms) 260 260 ))) 261 261 262 262 ((( ... ... @@ -263,19 +263,22 @@ 263 263 264 264 ))) 265 265 266 -{{{Another message: 267 -[12502]***** UpLinkCounter= 0 ***** 268 -[12503]TX on freq 868100000 Hz at DR 0 269 -[13992]txDone 270 -[15022]RX on freq 868100000 Hz at DR 0 271 -[15222]rxTimeOut 272 -[15987]RX on freq 869525000 Hz at DR 3 273 -[16185]rxDone --> We have got the downstream packet. 274 -Rssi= -64 275 -Receive data 276 -1:0012345678 277 -}}} 276 +((( 277 +**Another message:** 278 +))) 278 278 280 + 281 + [12502]~*~*~*~** UpLinkCounter= 0 ~*~*~*~** 282 + [12503]TX on freq 868100000 Hz at DR 0 283 + [13992]txDone 284 + [15022]RX on freq 868100000 Hz at DR 0 285 + [15222]rxTimeOut 286 + [15987]RX on freq 869525000 Hz at DR 3 287 + [16185]rxDone ~-~-> We have got the downstream packet. 288 + Rssi= -64 289 + Receive data 290 + 1:0012345678 291 + 279 279 == 5.3 If problem doesn’t solve == 280 280 281 281 **If user has checked below steps and still can't solve the problem, please send us (support @ dragino.com) the sceenshots for each step to check. They include:** ... ... @@ -287,14 +287,25 @@ 287 287 288 288 = 6. Downlink Issue ~-~- Packet REJECTED, unsupported frequency = 289 289 303 +((( 290 290 In LoRaWAN, the gatewat will use the frequency specify by the server to transmit a packet as downlink purpose. Each Frequency band has different downlink frequency. and the gateway has a frequency range limited to transmit downlink. 305 +))) 291 291 307 +((( 308 + 309 +))) 310 + 311 +((( 292 292 So if the LoRaWAN server is an AS923 server which ask the gateway to transmit at 923.2Mhz frequency, but the gateway is IN868 frequency band (support 865~~867Mhz to transmit). In the gateway log it will show something like below: 313 +))) 293 293 294 -{{{Sat Nov 21 08:04:17 2020 daemon.info lora_pkt_fwd[1680]: ERROR~ Packet REJECTED, unsupported frequency - 923200000 (min:865000000,max:867000000) 295 -}}} 315 +((( 316 +Sat Nov 21 08:04:17 2020 daemon.info lora_pkt_fwd[1680]: ERROR~~ Packet REJECTED, unsupported frequency - 923200000 (min:865000000,max:867000000) 317 +))) 296 296 319 +((( 297 297 In this case, please double check the gateway frequency and the server frequency band. 321 +))) 298 298 299 299 300 300 = 7. Decrypt a LoRaWAN Packet =