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, 20 added, 0 removed)
- 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. ting1 +XWiki.Edwin - Content
-
... ... @@ -193,7 +193,13 @@ 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. 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 + 197 197 ))) 198 198 199 199 [[image:image-20220531161828-1.png]] ... ... @@ -360,52 +360,73 @@ 360 360 = 7. Decrypt a LoRaWAN Packet = 361 361 362 362 363 -(% style="color:blue" %)**1. LHT65 End device configure:** 369 +(% style="color:blue" %)**1. LHT65N End device configure:** 364 364 365 365 **Change to ABP Mode: AT+NJM=0** 366 366 367 -**Change to fix frequency: AT+CH S=904900000**373 +**Change to fix frequency: AT+CHE=1** 368 368 369 -**Change to fix DR: AT+DR=0** 370 370 376 +**AT+CFG(Print configuration):** 371 371 372 -[[image:image-202 20526165525-16.png]]378 +[[image:image-20240129170603-7.png||height="697" width="545"]][[image:image-20240129163741-3.png||height="694" width="565"]] 373 373 374 374 375 375 376 - (% style="color:blue" %)**2. In LG02 , configureto receive abovemessage**382 +**Configuration: ** 377 377 378 -[[image:image-202 20526165612-17.png]]384 +[[image:image-20240129164219-4.png||height="612" width="440"]] 379 379 380 380 381 -In LG02 console, we can see the hex receive are: 382 382 383 - [[image:image-20220526171112-21.png]]388 +(% style="color:blue" %)**2. In LPS8-v2, configure to receive above message** 384 384 390 +[[image:image-20240129164326-5.png||height="506" width="1114"]] 385 385 386 386 387 - (%style="color:blue"%)**3. Decode theinfoinweb**393 +In LPS8-v2 console, we can see the Base64 receive are: 388 388 389 -[[ https:~~/~~/lorawan-packet-decoder-0ta6puiniaut.runkit.sh>>url:https://lorawan-packet-decoder-0ta6puiniaut.runkit.sh/]]395 +[[image:image-20240129170137-6.png||height="459" width="1116"]] 390 390 391 -Need these three fields: 392 392 393 -LoRa packet hex format: 40c1190126800100024926272bf18bbb6341584e27e23245 (from LG02) 394 394 395 - AT+NWKSKEY=00000000000000 00 00 00 00 00 00 00 01 11(Endnode NetworkSessionKey)399 +(% style="color:blue" %)**3. Decode the info in CMD(Command prompt window)** 396 396 397 - AT+APPSKEY=00000000 00 00 00 00 00 00 00 00 00 00 01 11 (End NodeAppSessionKey)401 +LoRa packet Base64 format: QP~/~/~/~/+AFQACZv8Hjmc8gFTAkhMzU+75 **(from LPS8-v2)** 398 398 403 +Then the instructions and format parsed in SecureCRT are: ./node_modules/.bin/lora-packet-decode ~-~-base64 QP~/~/~/~/+AFQACZv8Hjmc8gFTAkhMzU+75 399 399 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]] 401 401 402 - [[image:image-20220526171029-20.png]]406 +**Step1: Open CMD, Enter the gateway IP and port.(ssh root@gateway IP -p 22)** 403 403 404 -((( 405 - The FRMPayload is the device payload. 406 -))) 408 +[[image:image-20240129190752-17.png||height="338" width="901"]] 407 407 410 +[[image:image-20240129191937-21.png||height="450" width="901"]] 408 408 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 + 409 409 = 8. Why I see uplink 0x00 periodically on the LHT65 v1.8 firmware = 410 410 411 411 ... ... @@ -576,4 +576,3 @@ 576 576 577 577 578 578 [[image:image-20221215223215-1.png||height="584" width="1280"]] 579 -
- image-20240129170137-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +115.2 KB - Content
- image-20240129170603-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +39.2 KB - Content
- image-20240129172956-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +54.2 KB - Content
- image-20240129173810-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +74.1 KB - Content
- image-20240129173932-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +73.6 KB - Content
- image-20240129174125-11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +77.0 KB - Content
- image-20240129174549-12.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +85.6 KB - Content
- image-20240129174717-13.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +85.6 KB - Content
- image-20240129174948-14.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +85.1 KB - Content
- image-20240129175037-15.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +85.8 KB - Content
- image-20240129190344-16.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +17.2 KB - Content
- image-20240129190752-17.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +39.9 KB - Content
- image-20240129190840-18.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +17.2 KB - Content
- image-20240129191130-19.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +81.7 KB - Content
- image-20240129191315-20.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +50.0 KB - Content
- image-20240129191937-21.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +71.8 KB - Content
- image-20240129192239-22.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +77.5 KB - Content
- image-20240129192549-23.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +59.5 KB - Content
- image-20240129192908-24.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +101.7 KB - Content
- image-20240129192954-25.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +62.4 KB - Content