Changes for page LoRaWAN Communication Debug
Last modified by Xiaoling on 2025/05/05 08:51
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -104,9 +104,7 @@ 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 -((( 108 108 CN470 Channels 109 -))) 110 110 111 111 ((( 112 112 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. ... ... @@ -114,9 +114,7 @@ 114 114 115 115 [[image:https://wiki.dragino.com/images/thumb/9/9a/US915_FRE_BAND-2.png/600px-US915_FRE_BAND-2.png||height="288" width="600"]] 116 116 117 -((( 118 118 TTN FREQUENCY PLAN 119 -))) 120 120 121 121 ((( 122 122 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. ) ... ... @@ -232,41 +232,35 @@ 232 232 233 233 (% class="box infomessage" %) 234 234 ((( 235 - AT+RX2FQ=869525000 ~-~--> The RX2 Window frequency 231 + AT+RX2FQ=869525000 ~-~--> The RX2 Window frequency 236 236 ))) 237 237 238 238 (% class="box infomessage" %) 239 239 ((( 240 - AT+RX2DR=3 ~-~--> The RX2 DataRate 236 + AT+RX2DR=3 ~-~--> The RX2 DataRate 241 241 ))) 242 242 243 243 (% class="box infomessage" %) 244 244 ((( 245 - AT+RX1DL=1000 ~-~--> Receive Delay 1 241 + AT+RX1DL=1000 ~-~--> Receive Delay 1 246 246 ))) 247 247 248 248 (% class="box infomessage" %) 249 249 ((( 250 - AT+RX2DL=2000 ~-~--> Receive Delay 2 246 + AT+RX2DL=2000 ~-~--> Receive Delay 2 251 251 ))) 252 252 253 -((( 254 -**when the device running, we can see below info:** 255 -))) 249 +when the device running, we can see below info: 256 256 257 -((( 258 - 259 -))) 260 - 261 261 (% class="box" %) 262 262 ((( 263 - 264 - 265 - 266 - 267 - 268 - 269 - 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) 270 270 ))) 271 271 272 272 ((( ... ... @@ -273,22 +273,19 @@ 273 273 274 274 ))) 275 275 276 -((( 277 -**Another message:** 278 -))) 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 +}}} 279 279 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 - 292 292 == 5.3 If problem doesn’t solve == 293 293 294 294 **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:** ... ... @@ -300,25 +300,14 @@ 300 300 301 301 = 6. Downlink Issue ~-~- Packet REJECTED, unsupported frequency = 302 302 303 -((( 304 304 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 -))) 306 306 307 -((( 308 - 309 -))) 310 - 311 -((( 312 312 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 -))) 314 314 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 -))) 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 +}}} 318 318 319 -((( 320 320 In this case, please double check the gateway frequency and the server frequency band. 321 -))) 322 322 323 323 324 324 = 7. Decrypt a LoRaWAN Packet =