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)
-
Attachments (0 modified, 6 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -23,7 +23,7 @@ 23 23 * If the device is sending join request to server? 24 24 * What frequency the device is sending? 25 25 26 -[[image: https://wiki.dragino.com/images/thumb/0/0f/OTAA_Join-1.jpg/600px-OTAA_Join-1.jpg||height="316" width="600"]]26 +[[image:image-20220526163523-1.png]] 27 27 28 28 Console Output from End device to see the transmit frequency 29 29 ... ... @@ -33,7 +33,7 @@ 33 33 * If the gateway receive the Join request packet from sensor? (If this fail, check if the gateway and sensor works on the match frequency) 34 34 * If the gateway gets the Join Accept message from server and transmit it via LoRa? 35 35 36 -[[image: https://wiki.dragino.com/images/thumb/1/1c/OTAA_Join-2.png/600px-OTAA_Join-2.png||height="325" width="600"]]36 +[[image:image-20220526163608-2.png]] 37 37 38 38 Console Output from Gateway to see packets between end node and server. 39 39 ... ... @@ -44,7 +44,7 @@ 44 44 * 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. 45 45 * If the Join Accept message are in correct frequency? If you set the server to use US915 band, and your end node and gateway is EU868, you will see the Join Accept message are in US915 band so no possible to Join success. 46 46 47 -[[image: https://wiki.dragino.com/images/thumb/5/5c/OTAA_Join-3.png/600px-OTAA_Join-3.png||height="301" width="600"]]47 +[[image:image-20220526163633-3.png]] 48 48 49 49 The Traffic for the End node in the server, use TTN as example 50 50 ... ... @@ -53,11 +53,11 @@ 53 53 54 54 * 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. 55 55 56 -[[image: https://wiki.dragino.com/images/thumb/e/ec/OTAA_Join-4.png/600px-OTAA_Join-4.png||height="181" width="600"]]56 +[[image:image-20220526163704-4.png]] 57 57 58 58 The data for the end device set in server 59 59 60 -[[image: https://wiki.dragino.com/images/thumb/b/b1/OTAA_Join-5.png/600px-OTAA_Join-5.png||height="166" width="600"]]60 +[[image:image-20220526163732-5.png]] 61 61 62 62 Check if OTAA Keys match the keys in device 63 63 ... ... @@ -98,11 +98,11 @@ 98 98 Here are the freuqency tables for these bands as reference: 99 99 ))) 100 100 101 -[[image: https://wiki.dragino.com/images/thumb/3/3f/US915_FRE_BAND-1.png/600px-US915_FRE_BAND-1.png||height="170" width="600"]]101 +[[image:image-20220526163801-6.png]] 102 102 103 103 US915 Channels 104 104 105 -[[image:https://wiki.dragino.com/images/ thumb/8/8a/AU915_FRE_BAND-1.png/600px-AU915_FRE_BAND-1.png||height="167" width="600"]]105 +[[image:https://wiki.dragino.com/images/8/8a/AU915_FRE_BAND-1.png]] 106 106 107 107 AU915 Channels 108 108 ... ... @@ -429,14 +429,15 @@ 429 429 Solution: Use the decoder to filter out this 00 packet. 430 430 ))) 431 431 * ((( 432 -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 433 -))) 432 +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]] 434 434 435 435 436 -(% class="wikigeneratedid" %) 435 + 436 +))) 437 + 437 437 = 11. Why my Dev EUI and APP EUI is 0x000000000000, how to solve? = 438 438 439 -It is possible the keys is erased during upgrading of firmware. and the console output shows :440 +It is possible the keys is erased during upgrading of firmware. and the console output shows below after AT+CFG 440 440 441 441 AT+APPKEY=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 442 442 ... ... @@ -451,8 +451,18 @@ 451 451 452 452 You can rewrites the keys by running commands in AT Console 453 453 454 - 补全几个指令的例子455 +For example: 455 455 457 +AT+APPKEY=85 41 47 20 45 58 28 14 16 82 A0 F0 80 0D DD EE 456 456 459 +AT+NWKSKEY=AA CC B0 20 30 45 37 32 14 1E 14 93 E2 3B 20 11 460 + 461 +AT+APPSKEY=11 23 02 20 30 20 30 60 80 20 20 30 30 20 10 10 462 + 463 +AT+APPEUI=2C 45 47 E3 24 12 23 24 464 + 465 +(Any combination of 16 bit codes can be used) 466 + 467 + 457 457 (% class="wikigeneratedid" %) 458 458
- image-20220526163523-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +633.8 KB - Content
- image-20220526163608-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +116.4 KB - Content
- image-20220526163633-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +65.6 KB - Content
- image-20220526163704-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +78.8 KB - Content
- image-20220526163732-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +18.5 KB - Content
- image-20220526163801-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +19.3 KB - Content