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 (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -360,45 +360,47 @@ 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-20240129163714-2.png]][[image:image-20240129163741-3.png]] 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 ** 396 396 397 - AT+APPSKEY=00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 11 (EndNodeApp SessionKey)395 +Need these three fields: 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 +AT+NWKSKEY=FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF (End node Network Session Key) 401 401 401 +AT+APPSKEY=FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF (End Node App Session Key) 402 + 403 + 402 402 [[image:image-20220526171029-20.png]] 403 403 404 404 ((( ... ... @@ -576,4 +576,3 @@ 576 576 577 577 578 578 [[image:image-20221215223215-1.png||height="584" width="1280"]] 579 -