Changes for page LoRaWAN Communication Debug
Last modified by Edwin Chen on 2025/01/29 20:30
Change comment:
Uploaded new attachment "image-20240129163714-2.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 23 removed)
- image-20240129163741-3.png
- image-20240129164219-4.png
- image-20240129164326-5.png
- image-20240129170137-6.png
- image-20240129170603-7.png
- image-20240129172956-8.png
- image-20240129173810-9.png
- image-20240129173932-10.png
- image-20240129174125-11.png
- image-20240129174549-12.png
- image-20240129174717-13.png
- image-20240129174948-14.png
- image-20240129175037-15.png
- image-20240129190344-16.png
- image-20240129190752-17.png
- image-20240129190840-18.png
- image-20240129191130-19.png
- image-20240129191315-20.png
- image-20240129191937-21.png
- image-20240129192239-22.png
- image-20240129192549-23.png
- image-20240129192908-24.png
- image-20240129192954-25.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.ting - Content
-
... ... @@ -193,13 +193,7 @@ 193 193 LoRaWAN End node will open two receive windows to receive the downstream data. If the downstream packets arrive the end node at these receive windows, the end node will be able to get this packet and process it. 194 194 195 195 ((( 196 -Depends on Class A or Class C, the receive windows will be a little difference. The main difference between Class A and Class C: 197 - 198 -* **Class A** : Suitable for Battery powered end node. Class A will save a lot of power but it can only receive downlink after each uplink 199 -* **Class C**: End node can receive downlink immediately but have higher power consumption. 200 - 201 - 202 - 196 +Depends on Class A or Class C, the receive windows will be a little difference. 203 203 ))) 204 204 205 205 [[image:image-20220531161828-1.png]] ... ... @@ -366,73 +366,52 @@ 366 366 = 7. Decrypt a LoRaWAN Packet = 367 367 368 368 369 -(% style="color:blue" %)**1. LHT65 NEnd device configure:**363 +(% style="color:blue" %)**1. LHT65 End device configure:** 370 370 371 371 **Change to ABP Mode: AT+NJM=0** 372 372 373 -**Change to fix frequency: AT+CHE=1**367 +**Change to fix frequency: AT+CHS=904900000** 374 374 369 +**Change to fix DR: AT+DR=0** 375 375 376 -**AT+CFG(Print configuration):** 377 377 378 -[[image:image-202 40129170603-7.png||height="697" width="545"]][[image:image-20240129163741-3.png||height="694" width="565"]]372 +[[image:image-20220526165525-16.png]] 379 379 380 380 381 381 382 -** Configuration:**376 +(% style="color:blue" %)**2. In LG02 , configure to receive above message** 383 383 384 -[[image:image-202 40129164219-4.png||height="612" width="440"]]378 +[[image:image-20220526165612-17.png]] 385 385 386 386 381 +In LG02 console, we can see the hex receive are: 387 387 388 - (% style="color:blue" %)**2. In LPS8-v2, configureto receive abovemessage**383 +[[image:image-20220526171112-21.png]] 389 389 390 -[[image:image-20240129164326-5.png||height="506" width="1114"]] 391 391 392 392 393 - InLPS8-v2console,wecan seetheBase64receiveare:387 +(% style="color:blue" %)**3. Decode the info in web** 394 394 395 -[[ image:image-20240129170137-6.png||height="459"width="1116"]]389 +[[https:~~/~~/lorawan-packet-decoder-0ta6puiniaut.runkit.sh>>url:https://lorawan-packet-decoder-0ta6puiniaut.runkit.sh/]] 396 396 391 +Need these three fields: 397 397 393 +LoRa packet hex format: 40c1190126800100024926272bf18bbb6341584e27e23245 (from LG02) 398 398 399 - (% style="color:blue"%)**3.DecodetheinfoinCMD(Commandpromptwindow)**395 +AT+NWKSKEY=00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 11 (End node Network Session Key) 400 400 401 - LoRapacketBase64format:QP~/~/~/~/+AFQACZv8Hjmc8gFTAkhMzU+75**(fromLPS8-v2)**397 +AT+APPSKEY=00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 11 (End Node App Session Key) 402 402 403 -Then the instructions and format parsed in SecureCRT are: ./node_modules/.bin/lora-packet-decode ~-~-base64 QP~/~/~/~/+AFQACZv8Hjmc8gFTAkhMzU+75 404 404 400 +[[https:~~/~~/lorawan-packet-decoder-0ta6puiniaut.runkit.sh/?data=40c1190126800100024926272bf18bbb6341584e27e23245&nwkskey=00000000000000000000000000000111&appskey=00000000000000000000000000000111>>url:https://lorawan-packet-decoder-0ta6puiniaut.runkit.sh/?data=40c1190126800100024926272bf18bbb6341584e27e23245&nwkskey=00000000000000000000000000000111&appskey=00000000000000000000000000000111]] 405 405 406 - **Step1:Open CMD, Enter the gateway IP and port.(ssh root@gateway IP-p22)**402 +[[image:image-20220526171029-20.png]] 407 407 408 -[[image:image-20240129190752-17.png||height="338" width="901"]] 404 +((( 405 + The FRMPayload is the device payload. 406 +))) 409 409 410 -[[image:image-20240129191937-21.png||height="450" width="901"]] 411 411 412 - 413 -**Step2: Enter the command to download the LoRa parsing package.(npm install lora-packet)** 414 - 415 -[[image:image-20240129192239-22.png||height="416" width="902"]] 416 - 417 -[[image:image-20240129192549-23.png||height="459" width="898"]] 418 - 419 - 420 -**Step3: Parse the gateway raw payload.(./node_modules/.bin/lora-packet-decode ~-~-base64 QP~/~/~/~/+AFQACZv8Hjmc8gFTAkhMzU+75)** 421 - 422 - 423 - 424 - 425 -[[image:image-20240129192908-24.png||height="477" width="907"]] 426 - 427 - 428 -[[image:image-20240129192954-25.png||height="485" width="916"]] 429 - 430 - 431 - 432 - 433 - 434 - 435 - 436 436 = 8. Why I see uplink 0x00 periodically on the LHT65 v1.8 firmware = 437 437 438 438 ... ... @@ -603,3 +603,4 @@ 603 603 604 604 605 605 [[image:image-20221215223215-1.png||height="584" width="1280"]] 579 +
- image-20240129163741-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -36.5 KB - Content
- image-20240129164219-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -30.3 KB - Content
- image-20240129164326-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -80.8 KB - Content
- image-20240129170137-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -115.2 KB - Content
- image-20240129170603-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -39.2 KB - Content
- image-20240129172956-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -54.2 KB - Content
- image-20240129173810-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -74.1 KB - Content
- image-20240129173932-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -73.6 KB - Content
- image-20240129174125-11.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -77.0 KB - Content
- image-20240129174549-12.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -85.6 KB - Content
- image-20240129174717-13.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -85.6 KB - Content
- image-20240129174948-14.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -85.1 KB - Content
- image-20240129175037-15.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -85.8 KB - Content
- image-20240129190344-16.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.2 KB - Content
- image-20240129190752-17.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -39.9 KB - Content
- image-20240129190840-18.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.2 KB - Content
- image-20240129191130-19.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -81.7 KB - Content
- image-20240129191315-20.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -50.0 KB - Content
- image-20240129191937-21.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -71.8 KB - Content
- image-20240129192239-22.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -77.5 KB - Content
- image-20240129192549-23.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -59.5 KB - Content
- image-20240129192908-24.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -101.7 KB - Content
- image-20240129192954-25.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -62.4 KB - Content