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

From version 209.1
edited by Dilisi S
on 2024/11/22 19:34
Change comment: Nov 22 - edits part 1
To version 215.1
edited by Dilisi S
on 2024/11/24 05:05
Change comment: fix formatting

Summary

Details

Page properties
Content
... ... @@ -129,7 +129,7 @@
129 129  * 1 x Counting Port
130 130  )))
131 131  
132 -== 2. Assembling the device ==
132 += 2. Assembling the device =
133 133  
134 134  == 2.1 Connecting the antenna ==
135 135  
... ... @@ -249,7 +249,6 @@
249 249  
250 250  [[image:lt-22222-l-dev-repo-reg-p2.png||height="625" width="1000"]]
251 251  
252 -==== ====
253 253  
254 254  ==== 3.2.2.3 Adding device manually ====
255 255  
... ... @@ -883,7 +883,7 @@
883 883  These commands are specially designed for the LT-22222-L. Commands can be sent to the device using options such as an AT command or a LoRaWAN downlink payload.
884 884  
885 885  
886 -==== 3.4.2.1 Set Transmit Interval ====
885 +==== 3.4.2.1 Set Transmit/Uplink Interval ====
887 887  
888 888  Sets the uplink interval of the device. The default uplink transmission interval is 10 minutes.
889 889  
... ... @@ -892,11 +892,11 @@
892 892  (% border="2" style="width:500px" %)
893 893  |**Command**|AT+TDC=<time>
894 894  |**Response**|
895 -|**Parameters**|**time** : uplink interval is in milliseconds
894 +|**Parameters**|**time** : uplink interval is in **milliseconds**
896 896  |**Example**|(((
897 897  AT+TDC=30000
898 898  
899 -Sets the uplink interval to 30,000 milliseconds (30 seconds)
898 +Sets the uplink interval to **30 seconds** (30000 milliseconds)
900 900  )))
901 901  
902 902  (% style="color:#037691" %)**Downlink payload**
... ... @@ -908,16 +908,18 @@
908 908  |**Parameters**|(((
909 909  **prefix** : 0x01
910 910  
911 -**time** : uplink interval is in milliseconds, represented by 3  bytes in hexadecimal.
910 +**time** : uplink interval is in **seconds**, represented by **3  bytes** in **hexadecimal**.
912 912  )))
913 913  |**Example**|(((
914 -01 **00 75 30**
913 +01 **00 00 1E**
915 915  
916 -Sets the uplink interval to 30,000 milliseconds (30 seconds)
915 +Sets the uplink interval to **30 seconds**
917 917  
918 -Conversion: 30000 (dec) = 00 75 30 (hex)
917 +Conversion: 30 (dec) = 00 00 1E (hex)
919 919  
920 -See [[RapidTables>>https://www.rapidtables.com/convert/number/decimal-to-hex.html?x=30000]]
919 +See [[RapidTables>>https://www.rapidtables.com/convert/number/decimal-to-hex.html?x=30]]
920 +
921 +[[image:Screenshot 2024-11-23 at 18.27.11.png]]
921 921  )))
922 922  
923 923  ==== 3.4.2.2 Set the Working Mode (AT+MOD) ====
... ... @@ -968,11 +968,11 @@
968 968  
969 969  ==== 3.4.2.3 Poll an uplink ====
970 970  
971 -Requests an uplink from LT-22222-L.
972 +Requests an uplink from LT-22222-L. The content of the uplink payload varies based on the device's current working mode.
972 972  
973 973  (% style="color:#037691" %)**AT command**
974 974  
975 -There is no AT Command to request an uplink from LT-22222-L
976 +There is no AT Command available for this feature.
976 976  
977 977  (% style="color:#037691" %)**Downlink payload**
978 978  
... ... @@ -980,7 +980,7 @@
980 980  |(% style="width:101px" %)**Payload**|(% style="width:397px" %)<prefix>FF
981 981  |(% style="width:101px" %)**Parameters**|(% style="width:397px" %)**prefix** : 0x08
982 982  |(% style="width:101px" %)**Example**|(% style="width:397px" %)(((
983 -08 FF
984 +08 **FF**
984 984  
985 985  Requests an uplink from LT-22222-L.
986 986  )))
... ... @@ -1014,7 +1014,7 @@
1014 1014  |(% style="width:97px" %)**Parameters**|(% style="width:401px" %)(((
1015 1015  **prefix** : 0x0A 06 (two bytes in hexadecimal)
1016 1016  
1017 -**working mode** : enable (1) or disable (0), represented by 1 byte in hexadecimal.
1018 +**enable/disable trigger_mode** : enable (1) or disable (0), represented by 1 byte in hexadecimal.
1018 1018  )))
1019 1019  |(% style="width:97px" %)**Example**|(% style="width:401px" %)(((
1020 1020  0A 06 **01**
... ... @@ -1028,7 +1028,7 @@
1028 1028  
1029 1029  (% style="color:#037691" %)**AT Command:**
1030 1030  
1031 -There is no AT Command for this feature.
1032 +There is no AT Command available for this feature.
1032 1032  
1033 1033  (% style="color:#037691" %)**Downlink Payload**
1034 1034  
... ... @@ -1168,8 +1168,6 @@
1168 1168  )))
1169 1169  |(% style="width:96px" %)**Example**|(% style="width:402px" %)09 02 **00 00 64**
1170 1170  
1171 -==== ====
1172 -
1173 1173  ==== 3.4.2.9 Trigger – Set AC (current) as a trigger ====
1174 1174  
1175 1175  Sets the current trigger based on the AC port. See also [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
... ... @@ -1351,8 +1351,6 @@
1351 1351  )))
1352 1352  )))
1353 1353  
1354 -==== ====
1355 -
1356 1356  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1357 1357  
1358 1358  
... ... @@ -1535,17 +1535,10 @@
1535 1535  
1536 1536  When the voltage exceeds the threshold, counting begins. For details, see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1537 1537  
1538 -* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+VOLMAX   ** (%%)~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1539 -
1540 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1541 -
1542 -(% style="color:blue" %)**0xA5 aa bb cc   ** (%%)~/~/ Same as AT+VOLMAX=(aa bb),cc
1543 -
1544 -
1545 1545  (% style="color:#037691" %)**AT Command**
1546 1546  
1547 1547  (% border="2" style="width:500px" %)
1548 -|(% style="width:137px" %)**Command**|(% style="width:361px" %)AT+VOLMAX=<voltage><logic>
1538 +|(% style="width:137px" %)**Command**|(% style="width:361px" %)AT+VOLMAX=<voltage>,<logic>
1549 1549  |(% style="width:137px" %)**Response**|(% style="width:361px" %)
1550 1550  |(% style="width:137px" %)**Parameters**|(% style="width:361px" %)(((
1551 1551  **voltage** : voltage threshold in mV
... ... @@ -1552,9 +1552,9 @@
1552 1552  
1553 1553  **logic**:
1554 1554  
1555 -0 : lower than
1545 +**0** : lower than
1556 1556  
1557 -1: higher than
1547 +**1**: higher than
1558 1558  
1559 1559  if you leave logic parameter blank, it is considered 0
1560 1560  )))
... ... @@ -1583,9 +1583,9 @@
1583 1583  
1584 1584  **logic**: (1 byte in hexadecimal)
1585 1585  
1586 -0 : lower than
1576 +**0** : lower than
1587 1587  
1588 -1: higher than
1578 +**1**: higher than
1589 1589  
1590 1590  if you leave logic parameter blank, it is considered 1 (higher than)
1591 1591  )))
... ... @@ -1607,22 +1607,10 @@
1607 1607  
1608 1608  This command allows users to pre-configure specific count numbers for various counting parameters such as Count1, Count2, or AVI1 Count. Use the AT command to set the desired count number for each configuration.
1609 1609  
1610 -* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+SETCNT=aa,(bb cc dd ee) **
1611 -
1612 -(% style="color:red" %)**aa:**(%%) 1: Set count1; 2: Set count2; 3: Set AV1 count
1613 -
1614 -(% style="color:red" %)**bb cc dd ee: **(%%)The number to be set
1615 -
1616 -
1617 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**
1618 -
1619 -(% style="color:blue" %)**0x A8 aa bb cc dd ee     ** (%%)~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1620 -
1621 -
1622 1622  (% style="color:#037691" %)**AT Command**
1623 1623  
1624 1624  (% border="2" style="width:500px" %)
1625 -|(% style="width:134px" %)**Command**|(% style="width:364px" %)AT+SETCNT=<counting_parameter><number>
1603 +|(% style="width:134px" %)**Command**|(% style="width:364px" %)AT+SETCNT=<counting_parameter>,<number>
1626 1626  |(% style="width:134px" %)**Response**|(% style="width:364px" %)
1627 1627  |(% style="width:134px" %)**Parameters**|(% style="width:364px" %)(((
1628 1628  **counting_parameter** :
... ... @@ -1668,12 +1668,6 @@
1668 1668  
1669 1669  This command clears the counting in counting mode.
1670 1670  
1671 -* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+CLRCOUNT         **(%%) ~/~/ clear all counting
1672 -
1673 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1674 -
1675 -(% style="color:blue" %)**0x A6 01    ** (%%)~/~/ clear all counting
1676 -
1677 1677  (% style="color:#037691" %)**AT Command**
1678 1678  
1679 1679  (% border="2" style="width:500px" %)
... ... @@ -1695,20 +1695,6 @@
1695 1695  
1696 1696  This command allows you to configure the device to save its counting result to internal flash memory at specified intervals. By setting a save time, the device will periodically store the counting data to prevent loss in case of power failure. The save interval can be adjusted to suit your requirements, with a minimum value of 30 seconds.
1697 1697  
1698 -* (% style="color:#037691" %)**AT Command:**
1699 -
1700 -(% style="color:blue" %)**AT+COUTIME=60  **(%%)~/~/ Sets the save time to 60 seconds. The device will save the counting result in internal flash every 60 seconds. (Min value: 30 seconds)
1701 -
1702 -
1703 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1704 -
1705 -(% style="color:blue" %)**0x A7 aa bb cc     ** (%%)~/~/ same as AT+COUTIME =aa bb cc,
1706 -
1707 -(((
1708 -Range: aa bb cc:0 to 16777215,  (unit: seconds)
1709 -)))
1710 -
1711 -
1712 1712  (% style="color:#037691" %)**AT Command**
1713 1713  
1714 1714  (% border="2" style="width:500px" %)
... ... @@ -1740,18 +1740,8 @@
1740 1740  
1741 1741  This command allows you to reset the saved relay output (RO) and digital output (DO) states when the device joins the network. By configuring this setting, you can control whether the device should retain or reset the relay states after a reset and rejoin to the network.
1742 1742  
1743 -* (% style="color:#037691" %)**AT Command:**
1701 +(% style="color:#037691" %)**AT Command**
1744 1744  
1745 -(% style="color:blue" %)**AT+RODORESET=1    **(%%)~/~/ RODO will close when the device joining the network. (default)
1746 -
1747 -(% style="color:blue" %)**AT+RODORESET=0    **(%%)~/~/ After the device is reset, the previously saved RODO state (only MOD2 to MOD5) is read, and its state will not change when the device reconnects to the network.
1748 -
1749 -
1750 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAD):**
1751 -
1752 -(% style="color:blue" %)**0x AD aa      ** (%%)~/~/ same as AT+RODORET =aa
1753 -
1754 -
1755 1755  (% border="2" style="width:500px" %)
1756 1756  |(% style="width:127px" %)**Command**|(% style="width:371px" %)AT+RODORESET=<state>
1757 1757  |(% style="width:127px" %)**Response**|(% style="width:371px" %)
... ... @@ -1772,6 +1772,9 @@
1772 1772  After the device is reset, the previously saved RODO state (limited to MOD2 to MOD5) is read, and it will not change when the device reconnects to the network.
1773 1773  )))
1774 1774  
1723 +
1724 +(% style="color:#037691" %)**Downlink Payload**
1725 +
1775 1775  (% border="2" style="width:500px" %)
1776 1776  |(% style="width:127px" %)**Payload**|(% style="width:371px" %)<prefix><state>
1777 1777  |(% style="width:127px" %)**Parameters**|(% style="width:371px" %)(((
... ... @@ -1797,22 +1797,17 @@
1797 1797  
1798 1798  This command allows you to configure whether the device should upload data in an encrypted format or in plaintext. By default, the device encrypts the payload before uploading. You can toggle this setting to either upload encrypted data or transmit it without encryption.
1799 1799  
1800 -* (% style="color:#037691" %)**AT Command:**
1751 +(% style="color:#037691" %)**AT Command:**
1801 1801  
1802 -(% style="color:blue" %)**AT+DECRYPT=1  ** (%%)~/~/ The payload is uploaded without encryption
1803 -
1804 -(% style="color:blue" %)**AT+DECRYPT=0    **(%%)~/~/  Encrypt when uploading payload (default)
1805 -
1806 -
1807 1807  (% border="2" style="width:500px" %)
1808 1808  |(% style="width:127px" %)**Command**|(% style="width:371px" %)AT+DECRYPT=<state>
1809 1809  |(% style="width:127px" %)**Response**|(% style="width:371px" %)
1810 1810  |(% style="width:127px" %)**Parameters**|(% style="width:371px" %)(((
1811 -state :
1757 +**state** :
1812 1812  
1813 -1 : The payload is uploaded without encryption
1759 +**1** : The payload is uploaded without encryption
1814 1814  
1815 -0 : The payload is encrypted when uploaded (default)
1761 +**0** : The payload is encrypted when uploaded (default)
1816 1816  )))
1817 1817  |(% style="width:127px" %)**Example**|(% style="width:371px" %)(((
1818 1818  AT+DECRYPT=1
... ... @@ -1831,13 +1831,8 @@
1831 1831  
1832 1832  This command allows you to retrieve and optionally uplink sensor readings through the serial port.
1833 1833  
1834 -* (% style="color:#037691" %)**AT Command:**
1780 +(% style="color:#037691" %)**AT Command**
1835 1835  
1836 -(% style="color:blue" %)**AT+GETSENSORVALUE=0    **(%%)~/~/ The serial port retrieves the reading of the current sensor.
1837 -
1838 -(% style="color:blue" %)**AT+GETSENSORVALUE=1    **(%%)~/~/ The serial port retrieves the current sensor reading and uploads it.
1839 -
1840 -
1841 1841  (% border="2" style="width:500px" %)
1842 1842  |(% style="width:127px" %)**Command**|(% style="width:371px" %)AT+GETSENSORVALUE=<state>
1843 1843  |(% style="width:127px" %)**Response**|(% style="width:371px" %)
... ... @@ -1865,13 +1865,8 @@
1865 1865  
1866 1866  This command manages how the node handles mismatched downlink packet counts. It offers two modes: one disables the reception of further downlink packets if discrepancies occur, while the other resets the downlink packet count to align with the server, ensuring continued communication.
1867 1867  
1868 -* (% style="color:#037691" %)**AT Command:**
1809 +(% style="color:#037691" %)**AT Command**
1869 1869  
1870 -(% style="color:blue" %)**AT+DISFCNTCHECK=0   **(%%)~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node will no longer receive downlink packets (default)
1871 -
1872 -(% style="color:blue" %)**AT+DISFCNTCHECK=1   **(%%)~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node resets the downlink packet count and keeps it consistent with the server downlink packet count.
1873 -
1874 -
1875 1875  (% border="2" style="width:500px" %)
1876 1876  |(% style="width:130px" %)**Command**|(% style="width:368px" %)AT+DISFCNTCHECK=<state>
1877 1877  |(% style="width:130px" %)**Response**|(% style="width:368px" %)(((
... ... @@ -1903,17 +1903,6 @@
1903 1903  
1904 1904  This command controls the behavior of the node when the combined size of the MAC commands (MACANS) from the server and the payload exceeds the allowed byte limit for the current data rate (DR). The command provides two modes: one enables splitting the data into batches to ensure compliance with the byte limit, while the other prioritizes the payload and ignores the MACANS in cases of overflow.
1905 1905  
1906 -* (% style="color:#037691" %)**AT Command:**
1907 -
1908 -(% style="color:blue" %)**AT+DISMACANS=0**   (%%) ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of 11 bytes (DR0 of US915, DR2 of AS923, DR2 of AU195), the node will send a packet with a payload of 00 and a port of 4. (default)
1909 -
1910 -(% style="color:blue" %)**AT+DISMACANS=1**  (%%) ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of the DR, the node will ignore the MACANS and not reply, and only upload the payload part.
1911 -
1912 -
1913 -* (% style="color:#037691" %)**Downlink Payload **(%%)**:**
1914 -
1915 -(% style="color:blue" %)**0x21 00 01 ** (%%) ~/~/ Set  the DISMACANS=1
1916 -
1917 1917  (% style="color:#037691" %)**AT Command**
1918 1918  
1919 1919  (% border="2" style="width:500px" %)
Screenshot 2024-11-23 at 18.27.11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.pradeeka
Size
... ... @@ -1,0 +1,1 @@
1 +143.4 KB
Content