Changes for page LoRaWAN Communication Debug
Last modified by Edwin Chen on 2025/01/29 20:30
Change comment:
Uploaded new attachment "image-20240129190840-18.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 12 added, 0 removed)
- 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
Details
- Page properties
-
- Content
-
... ... @@ -360,52 +360,67 @@ 360 360 = 7. Decrypt a LoRaWAN Packet = 361 361 362 362 363 -(% style="color:blue" %)**1. LHT65 End device configure:** 363 +(% 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**367 +**Change to fix frequency: AT+CHE=1** 368 368 369 -**Change to fix DR: AT+DR=0** 370 370 370 +**AT+CFG(Print configuration):** 371 371 372 -[[image:image-202 20526165525-16.png]]372 +[[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**376 +**Configuration: ** 377 377 378 -[[image:image-202 20526165612-17.png]]378 +[[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]]382 +(% style="color:blue" %)**2. In LPS8-v2, configure to receive above message** 384 384 384 +[[image:image-20240129164326-5.png||height="506" width="1114"]] 385 385 386 386 387 - (%style="color:blue"%)**3. Decode theinfoinweb**387 +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/]]389 +[[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=00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 11(EndnodeNetworkSessionKey)393 +(% style="color:blue" %)**3. Decode the info in SecureCRT** 396 396 397 - AT+APPSKEY=0000000000000000000000000000 01 11(EndNodeApp Session Key)395 +[[SecureCRT - The rock-solid Telnet and SSH client for Windows, Mac, and Linux (vandyke.com)>>url:https://www.vandyke.com/products/securecrt/]] 398 398 397 +LoRa packet Base64 format: QP~/~/~/~/+AFQACZv8Hjmc8gFTAkhMzU+75 (from LPS8-v2) 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]]399 +Then the instructions and format parsed in SecureCRT are: ./node_modules/.bin/lora-packet-decode ~-~-base64 QP~/~/~/~/+AFQACZv8Hjmc8gFTAkhMzU+75 401 401 402 -[[image:image-20220526171029-20.png]] 403 403 404 -((( 405 - The FRMPayload is the device payload. 406 -))) 402 +**Step1: In the SecureCRT access gateway control interface, enter the command to download the parsing package: npm install lora-packet.** 407 407 404 +[[image:image-20240129173810-9.png||height="389" width="1070"]] 408 408 406 +[[image:image-20240129173932-10.png||height="350" width="1084"]] 407 + 408 +[[image:image-20240129174125-11.png||height="338" width="1078"]] 409 + 410 + 411 +**Step2: Parse the raw data from the gateway.** 412 + 413 +[[image:image-20240129174948-14.png]] 414 + 415 + 416 +[[image:image-20240129175037-15.png||height="619" width="1144"]] 417 + 418 + 419 + 420 + 421 + 422 + 423 + 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-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