Changes for page LoRaWAN Communication Debug
Last modified by Edwin Chen on 2025/01/29 20:30
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -16,7 +16,7 @@ 16 16 * End Node traffic (from server UI) to shows end node activity in server. (Normaly possible) 17 17 * End Node Keys screen shot shows in end node and server. so we can check if the keys are correct. (In most case, we found keys doesn't match, especially APP EUI) 18 18 19 - (% style="color:blue" %)**1. End Device Join Screen shot, we can check:**19 +**~1. End Device Join Screen shot, we can check:** 20 20 21 21 * If the device is sending join request to server? 22 22 * What frequency the device is sending? ... ... @@ -26,9 +26,8 @@ 26 26 Console Output from End device to see the transmit frequency 27 27 28 28 29 +**2. Gateway packet traffic in gateway web or ssh. we can check:** 29 29 30 -(% style="color:blue" %)**2. Gateway packet traffic in gateway web or ssh. we can check:** 31 - 32 32 * If the gateway receive the Join request packet from sensor? (If this fail, check if the gateway and sensor works on the match frequency) 33 33 * If the gateway gets the Join Accept message from server and transmit it via LoRa? 34 34 ... ... @@ -37,7 +37,7 @@ 37 37 Console Output from Gateway to see packets between end node and server. 38 38 39 39 40 - (% style="color:blue" %)**3. Gateway Traffic Page in LoRaWAN Server**39 +**3. Gateway Traffic Page in LoRaWAN Server** 41 41 42 42 * If the Join Request packet arrive the gateway traffic in server? If not, check the internet connection and gateway LoRaWAN server settings. 43 43 * If the server send back a Join Accept for the Join Request? if not, check if the keys from the device match the keys you put in the server, or try to choose a different server route for this end device. ... ... @@ -48,7 +48,7 @@ 48 48 The Traffic for the End node in the server, use TTN as example 49 49 50 50 51 - (% style="color:blue" %)**4. Data Page in LoRaWAN server**50 +**4. Data Page in LoRaWAN server** 52 52 53 53 * If this data page shows the Join Request message from the end node? If not, most properly you have wrong settings in the keys. Keys in the server doesn't match the keys in End Node. 54 54 ... ... @@ -61,7 +61,6 @@ 61 61 Check if OTAA Keys match the keys in device 62 62 63 63 64 - 65 65 = 2. Notice of US915/CN470/AU915 Frequency band = 66 66 67 67 ... ... @@ -133,7 +133,6 @@ 133 133 ))) 134 134 135 135 136 - 137 137 = 3. Why i see data lost/unperiocially uplink data? Even the signal strength is good = 138 138 139 139 ... ... @@ -156,7 +156,6 @@ 156 156 ))) 157 157 158 158 159 - 160 160 = 4. Transmision on ABP Mode = 161 161 162 162 ... ... @@ -185,7 +185,6 @@ 185 185 Disable Frame Counter Check in ABP Mode 186 186 187 187 188 - 189 189 = 5. Downstream Debug = 190 190 191 191 == 5.1 How it work == ... ... @@ -243,7 +243,6 @@ 243 243 ))) 244 244 245 245 246 - 247 247 ((( 248 248 (% style="color:blue" %)**For LoRaWAN Gateway** 249 249 ))) ... ... @@ -259,7 +259,6 @@ 259 259 ))) 260 260 261 261 262 - 263 263 ((( 264 264 (% style="color:blue" %)**For End Node** 265 265 ))) ... ... @@ -274,7 +274,6 @@ 274 274 (% style="color:#037691" %)**AT+RX1DL=1000** (%%) ** ~-~-->** Receive Delay 1 275 275 (% style="color:#037691" %)**AT+RX2DL=2000** (%%) **~-~--> ** Receive Delay 2 276 276 277 - 278 278 279 279 ))) 280 280 ... ... @@ -292,8 +292,6 @@ 292 292 293 293 ((( 294 294 295 - 296 - 297 297 ))) 298 298 299 299 ((( ... ... @@ -312,7 +312,6 @@ 312 312 1:0012345678}}} 313 313 314 314 315 - 316 316 == 5.3 If problem doesn't solve == 317 317 318 318 ... ... @@ -323,6 +323,9 @@ 323 323 * Gateway traffic (from server UI) to shows the data exchange between gateway and server. 324 324 * End Node traffic (from server UI) to shows end node activity in server. 325 325 315 + 316 + 317 + 326 326 = 6. Downlink Issue ~-~- Packet REJECTED, unsupported frequency = 327 327 328 328 ... ... @@ -349,7 +349,6 @@ 349 349 ))) 350 350 351 351 352 - 353 353 = 7. Decrypt a LoRaWAN Packet = 354 354 355 355 ... ... @@ -363,7 +363,6 @@ 363 363 [[image:image-20220526165525-16.png]] 364 364 365 365 366 - 367 367 (% style="color:blue" %)**2. In LG02 , configure to receive above message** 368 368 369 369 [[image:image-20220526165612-17.png]] ... ... @@ -374,7 +374,6 @@ 374 374 [[image:image-20220526171112-21.png]] 375 375 376 376 377 - 378 378 (% style="color:blue" %)**3. Decode the info in web** 379 379 380 380 [[https:~~/~~/lorawan-packet-decoder-0ta6puiniaut.runkit.sh>>url:https://lorawan-packet-decoder-0ta6puiniaut.runkit.sh/]] ... ... @@ -397,7 +397,6 @@ 397 397 ))) 398 398 399 399 400 - 401 401 = 8. Why i see uplink 0x00 periodcally on the LHT65 v1.8 firmware = 402 402 403 403 ... ... @@ -404,7 +404,6 @@ 404 404 Since firmware v1.8, LHT65 will send MAC command to request time, in the case if DR only support max 11 bytes, this MAC command will be bundled to a separate uplink payload with 0x00. 405 405 406 406 407 - 408 408 = 9. Why do I see a "MIC Mismatch" error message from the server? = 409 409 410 410 ... ... @@ -439,23 +439,27 @@ 439 439 = 10. Why i got the payload only with "0x00" or "AA~=~="? = 440 440 441 441 442 -* *Whythishappen:**429 +* If you are using US915, AU915 and AS923 frequencies.This is normal phenomenon. 443 443 444 -For US915, AU915 or AS923 frequencies.It is possible because: . 431 +((( 432 +When using the frequency mentioned above, the server sometimes adjusts the rate of the node, because the node defaults to the adaptive rate. 433 +))) 445 445 446 -When using the frequency mentioned above, the server sometimes adjusts the Data Rate (DR) of the node, because the end node has Adaptive Data Rate (ADR) Enabled. 435 +((( 436 +When the server adjusts your node rate to 0, the maximum payload length is 11 bytes. The server sometimes sends an ADR packet to the node,and the node will reply to the server after receiving the ADR packet, but the number of payload bytes exceeds the limit,so it will send a normal uplink packet, and an additional 00 data packet. 437 +))) 447 447 448 -When the server adjusts end node data rate to 0, the maximum payload length is 11 bytes. The server sometimes sends an ADR packet to the end node, and the node will reply to the server after receiving the ADR packet, but the number of payload bytes exceeds the limit, so it will send a normal uplink packet, and following an additional 00 data packet to handle this MAC command response. 439 +* ((( 440 +Solution: Use the decoder to filter out this 00 packet. 441 +))) 442 +* ((( 443 +Some node decoders may not have filtering function, or you need decoders of other servers and formats. Please send an email to [[david.huang@dragino.cc>>mailto:david.huang@dragino.cc]] 449 449 450 450 451 -**How to solve:** 452 452 453 -Solution: Use the decoder to filter out this 0x00 packet. 447 + 448 +))) 454 454 455 -Some node decoders may not have the filter function, or you need decoders of other servers and formats. Please send an email to [[support@dragino.com>>mailto:support@dragino.com]] 456 - 457 - 458 - 459 459 = 11. Why my Dev EUI and APP EUI is 0x000000000000, how to solve? = 460 460 461 461 ... ... @@ -517,7 +517,6 @@ 517 517 (Any combination of 16 bit codes can be used) 518 518 519 519 520 - 521 521 = 12. I set my device is LoRaWAN Class C mode, why i still see Class A after boot? = 522 522 ))) 523 523