Last modified by Xiaoling on 2023/04/20 18:14
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -23,6 +23,7 @@ 23 23 24 24 (% style="color:#037691" %)**Video Instruction**(%%): **[[https:~~/~~/youtu.be/ZBjXwmp7rwM>>url:https://youtu.be/ZBjXwmp7rwM]]** 25 25 26 + 26 26 Assume we have the LoRaWAN tracker LGT92 which works in ABP mode and US915 band. It has below keys: 27 27 28 28 (% class="box infomessage" %) ... ... @@ -38,7 +38,7 @@ 38 38 39 39 We need to input above keys in LG308 and enable ABP decryption. 40 40 41 -[[image: https://wiki.dragino.com/images/thumb/5/55/LG308_MQTT_1.png/600px-LG308_MQTT_1.png||height="329" width="600"]]42 +[[image:image-20220527161119-1.png]] 42 42 43 43 Input the ABP keys in LG308 44 44 ... ... @@ -51,7 +51,7 @@ 51 51 We can see the log of LG308 to know this packet arrive 52 52 ))) 53 53 54 -[[image: https://wiki.dragino.com/images/thumb/1/16/ABP_DECODE_2.png/600px-ABP_DECODE_2.png||height="205" width="600"]]55 +[[image:image-20220527161149-2.png]] 55 55 56 56 LG308 log by "logread -f" command 57 57 ... ... @@ -61,8 +61,8 @@ 61 61 (% class="box" %) 62 62 ((( 63 63 root@dragino-1d25dc:~~# hexdump /var/iot/channels/2602111D 64 -0000000 (% class="mark" %)**4646 4646 4646 3946 3030 3030 3030 3546**(%%) ~-~-> Got RSSI and SNR65 -0000010 (% class="mark" %)**cc0c 0b63 0266 017f ff7f ff00 **(%%) ~-~-> Payload65 +0000000 (% style="color:#037691" %)**4646 4646 4646 3946 3030 3030 3030 3546**(%%) ~-~-> Got RSSI and SNR 66 +0000010 (% style="color:#037691" %)**cc0c 0b63 0266 017f ff7f ff00 **(%%) ~-~-> Payload 66 66 000001c 67 67 ))) 68 68 ... ... @@ -72,8 +72,8 @@ 72 72 73 73 (% class="box" %) 74 74 ((( 75 -(% class="mark" %)**Notice 1**(%%): The data file stored in LG308 for the end node is bin file. If the end node sends ASCII string to gateway, the output will as below:76 -in LGT92, use **AT+SEND=12 **:hello world to send ASCII string76 +(% style="color:red" %)**Notice 1**(%%): The data file stored in LG308 for the end node is bin file. If the end node sends ASCII string to gateway, the output will as below: 77 +in LGT92, use **(% style="color:#037691" %)AT+SEND=12:hello world** (%%)to send ASCII string 77 77 root@dragino-1d25dc:~~# hexdump /var/iot/channels/2602111D 78 78 0000000 4646 4646 4646 3946 3030 3030 3030 3546 79 79 0000010 6865 6c6c 6f20 776f 726c 6400 ~-~-> Got ASCII code "hello world" ... ... @@ -82,7 +82,7 @@ 82 82 83 83 (% class="box" %) 84 84 ((( 85 -(% class="mark" %)**Notice 2**(%%): The upstream payload length should match the LoRaWAN length requirement (max length depends on Frequency and DR), otherwise the gateway can't decode the payload.86 +(% style="color:#037691" %)**Notice 2**(%%): The upstream payload length should match the LoRaWAN length requirement (max length depends on Frequency and DR), otherwise the gateway can't decode the payload. 86 86 ))) 87 87 88 88 === 2.2.1 Decode Method ===
- image-20220527161119-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +128.8 KB - Content
- image-20220527161149-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +103.9 KB - Content