Last modified by Mengting Qiu on 2025/06/04 18:42

From version 223.1
edited by Dilisi S
on 2024/11/26 05:20
Change comment: Nov 25 edits
To version 230.1
edited by Dilisi S
on 2024/12/09 02:51
Change comment: Dec 8 edits - add some details to AT commands

Summary

Details

Page properties
Content
... ... @@ -54,8 +54,10 @@
54 54  (% class="wikigeneratedid" %)
55 55  [[image:lorawan-nw.jpg||height="354" width="900"]]
56 56  
57 +
57 57  == 1.2 Specifications ==
58 58  
60 +
59 59  (% style="color:#037691" %)**Hardware System:**
60 60  
61 61  * STM32L072xxxx MCU
... ... @@ -116,13 +116,15 @@
116 116  
117 117  == 1.5 Hardware Variants ==
118 118  
119 -(% style="width:650px" %)
120 -|(% style="width:94px" %)**Model**|(% style="width:172px" %)**Photo**|(% style="width:256px" %)**Description**
121 -|(% style="width:94px" %)**LT-33222-L**|(% style="width:172px" %)(((
122 -[[image:lt33222-l.jpg]]
121 +
122 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
123 +|(% style="background-color:#4f81bd; color:white; width:94px" %)**Model**|(% style="background-color:#4f81bd; color:white; width:172px" %)**Photo**|(% style="background-color:#4f81bd; color:white; width:244px" %)**Description**
124 +|(% style="width:94px" %)**LT-22222-L**|(% style="width:172px" %)(((
125 +(% style="text-align:center" %)
126 +[[image:lt33222-l.jpg||height="116" width="100"]]
123 123  )))|(% style="width:256px" %)(((
124 -* 3 x Digital Input (Bi-direction)
125 -* 3 x Digital Output
128 +* 2 x Digital Input (Bi-direction)
129 +* 2 x Digital Output
126 126  * 2 x Relay Output (5A@250VAC / 30VDC)
127 127  * 2 x 0~~20mA Analog Input (res:0.01mA)
128 128  * 2 x 0~~30V Analog Input (res:0.01v)
... ... @@ -174,7 +174,7 @@
174 174  The LT-22222-L I/O Controller can be powered by a **7–24V DC** power source. Connect your power supply’s **positive wire** to the **VIN** and the **negative wire** to the **GND** screw terminals. The power indicator **(PWR) LED** will turn on when the device is properly powered.
175 175  
176 176  {{warning}}
177 -**We recommend that you power on the LT-22222-L after configuring its registration information with a LoRaWAN network server. Otherwise, the device will continuously send join-request messages to attempt to join a LoRaWAN network but will fail.**
181 +**We recommend that you power on the LT-22222-L after adding its registration information to the LoRaWAN network server. Otherwise, the device will continuously send join-request messages to attempt to join a LoRaWAN network but will fail.**
178 178  {{/warning}}
179 179  
180 180  
... ... @@ -311,6 +311,12 @@
311 311  [[image:lt-22222-ul-payload-fmt.png]]
312 312  
313 313  
318 +We also have a payload formatter that resolves some decoding issues present in the Device Repository formatter. You can add it under the Custom JavaScript formatter. It can be found [[here>>https://github.com/dragino/dragino-end-node-decoder/blob/main/LT22222-L/v1.6_decoder_ttn%20.txt]]:
319 +
320 +(% class="wikigeneratedid" %)
321 +[[image:lt-22222-l-js-custom-payload-formatter.png]]
322 +
323 +
314 314  ==== 3.2.2.6 Downlinks ====
315 315  
316 316  When the LT-22222-L receives a downlink message from the server, the **RX LED** turns on for **1 second**.
... ... @@ -891,8 +891,15 @@
891 891  
892 892  (% border="2" style="width:500px" %)
893 893  |**Command**|AT+TDC=<time>
894 -|**Response**|
895 -|**Parameters**|**time** : uplink interval is in **milliseconds**
904 +|**Parameters**|**time **: uplink interval in milliseconds
905 +|**Get**|AT+TDC=?
906 +|**Response**|(((
907 +current uplink interval
908 +
909 +OK
910 +)))
911 +|**Set**|AT+TDC=<time>
912 +|**Response**|OK
896 896  |**Example**|(((
897 897  AT+TDC=30000
898 898  
... ... @@ -908,7 +908,7 @@
908 908  |**Parameters**|(((
909 909  **prefix** : 0x01
910 910  
911 -**time** : uplink interval is in **seconds**, represented by **3  bytes** in **hexadecimal**.
928 +**time** : uplink interval in **seconds**, represented by **3  bytes** in **hexadecimal**.
912 912  )))
913 913  |**Example**|(((
914 914  01 **00 00 1E**
... ... @@ -929,8 +929,7 @@
929 929  (% style="color:#037691" %)**AT command**
930 930  
931 931  (% border="2" style="width:500px" %)
932 -|(% style="width:97px" %)**Command**|(% style="width:413px" %)AT+MODE=<working_mode>
933 -|(% style="width:97px" %)**Response**|(% style="width:413px" %)
949 +|(% style="width:97px" %)**Command**|(% style="width:413px" %)AT+MOD=<working_mode>
934 934  |(% style="width:97px" %)**Parameters**|(% style="width:413px" %)(((
935 935  **working_mode** :
936 936  
... ... @@ -946,6 +946,18 @@
946 946  
947 947  6 = Trigger Mode, Optional, used together with MOD1 ~~ MOD5
948 948  )))
965 +|(% style="width:97px" %)**Get**|(% style="width:413px" %)AT+MOD=?
966 +|(% style="width:97px" %)**Response**|(% style="width:413px" %)(((
967 +Current working mode
968 +
969 +OK
970 +)))
971 +|(% style="width:97px" %)**Set**|(% style="width:413px" %)AT+MOD=<working_mode>
972 +|(% style="width:97px" %)**Response**|(% style="width:413px" %)(((
973 +Attention:Take effect after ATZ
974 +
975 +OK
976 +)))
949 949  |(% style="width:97px" %)**Example**|(% style="width:413px" %)(((
950 950  AT+MOD=2
951 951  
... ... @@ -1333,11 +1333,11 @@
1333 1333  (((
1334 1334  01: Low,  00: High,  11: No action
1335 1335  
1336 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1337 -|(% style="background-color:#4f81bd; color:white" %)**Downlink Code**|(% style="background-color:#4f81bd; color:white" %)**DO1**|(% style="background-color:#4f81bd; color:white" %)**DO2**|(% style="background-color:#4f81bd; color:white" %)**DO3**
1338 -|02  01  00  11|Low|High|No Action
1339 -|02  00  11  01|High|No Action|Low
1340 -|02  11  01  00|No Action|Low|High
1364 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:383px" %)
1365 +|(% style="background-color:#4f81bd; color:white; width:126px" %)**Downlink Code**|(% style="background-color:#4f81bd; color:white; width:85px" %)**DO1**|(% style="background-color:#4f81bd; color:white; width:86px" %)**DO2**|(% style="background-color:#4f81bd; color:white; width:86px" %)**DO3**
1366 +|(% style="width:126px" %)02  01  00  11|(% style="width:85px" %)Low|(% style="width:86px" %)High|(% style="width:86px" %)No Action
1367 +|(% style="width:126px" %)02  00  11  01|(% style="width:85px" %)High|(% style="width:86px" %)No Action|(% style="width:86px" %)Low
1368 +|(% style="width:126px" %)02  11  01  00|(% style="width:85px" %)No Action|(% style="width:86px" %)Low|(% style="width:86px" %)High
1341 1341  )))
1342 1342  
1343 1343  (((
... ... @@ -1880,13 +1880,13 @@
1880 1880  
1881 1881  ==== 3.4.2.25 Copy downlink to uplink ====
1882 1882  
1883 -This command enables the device to immediately uplink the content of a received downlink packet back to the server. The command allows for quick data replication from downlink to uplink, with a fixed port number of 100.
1911 +This command enables the device to immediately uplink the payload of a received downlink packet back to the server. The command allows for quick data replication from downlink to uplink, with a fixed port number of 100.
1884 1884  
1885 -* (% style="color:#037691" %)**AT Command**(%%)**:**
1913 +(% style="color:#037691" %)**AT Command**(%%)**:**
1886 1886  
1887 -(% style="color:blue" %)**AT+RPL=5**   (%%) ~/~/ After receiving the package from the server, it will immediately upload the content of the package to the server, the port number is 100.
1915 +(% style="color:blue" %)**AT+RPL=5**   (%%) ~/~/ After receiving a downlink payload from the server, the device will immediately uplink the payload back to the server using port number 100.
1888 1888  
1889 -Example:**aa xx xx xx xx**         ~/~/ aa indicates whether the configuration has changed, 00 is yes, 01 is no; xx xx xx xx are the bytes sent.
1917 +Example:**aa xx xx xx xx**         ~/~/ **aa** indicates whether the configuration has changed: **00** means YES, and **01** means NO. **xx xx xx xx** are the bytes uplinked back.
1890 1890  
1891 1891  
1892 1892  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173747-6.png?width=1124&height=165&rev=1.1||alt="image-20220823173747-6.png"]]
... ... @@ -1893,28 +1893,16 @@
1893 1893  
1894 1894  For example, sending 11 22 33 44 55 66 77 will return invalid configuration 00 11 22 33 44 55 66 77.
1895 1895  
1896 -(% border="2" style="width:500px" %)
1897 -|(% style="width:122px" %)**Command**|(% style="width:376px" %)(((
1898 -AT+RPL=5
1899 -
1900 -After receiving a downlink packet from the server, the node immediately uplinks the content of the packet back to the server using port number 100.
1901 -)))
1902 -|(% style="width:122px" %)**Example**|(% style="width:376px" %)(((
1903 -Downlink:
1904 -
1905 -01 00 02 58
1906 -
1907 -Uplink:
1908 -
1909 -01 01 00 02 58
1910 -)))
1911 -
1912 1912  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173833-7.png?width=1124&height=149&rev=1.1||alt="image-20220823173833-7.png"]]
1913 1913  
1914 1914  For example, if 01 00 02 58 is issued, a valid configuration of 01 01 00 02 58 will be returned.
1915 1915  
1916 1916  
1929 +(% style="color:#037691" %)**Downlink Payload**(%%)**:**
1917 1917  
1931 +There is no downlink option available for this feature.
1932 +
1933 +
1918 1918  ==== 3.4.2.26 Query firmware version, frequency band, sub band, and TDC time ====
1919 1919  
1920 1920  This command is used to query key information about the device, including its firmware version, frequency band, sub band, and TDC time. By sending the specified payload as a downlink, the server can retrieve this essential data from the device.
Screenshot 2024-12-08 193946.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.pradeeka
Size
... ... @@ -1,0 +1,1 @@
1 +32.4 KB
Content
lt-22222-l-js-custom-payload-formatter.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.pradeeka
Size
... ... @@ -1,0 +1,1 @@
1 +453.9 KB
Content