Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1741,13 +1741,14 @@ 1741 1741 |**RO1**|For LT-22222-L: ON when RO1 is closed, OFF when RO1 is open 1742 1742 |**RO2**|For LT-22222-L: ON when RO2 is closed, OFF when RO2 is open 1743 1743 1744 -= 4. Using AT Command = 1744 += 4. Using AT Commands = 1745 1745 1746 - == 4.1 Connecting the LT-22222-Ltoa computer==1746 +The LT-22222-L supports programming using AT Commands. 1747 1747 1748 +== 4.1 Connecting the LT-22222-L to a PC == 1748 1748 1749 1749 ((( 1750 - The LT-22222-L supports programming using AT Commands.You can use a USB-to-TTL adapter along with a 3.5mm Program Cable to connect the LT-22222-L to acomputer, as shown below.1751 +You can use a USB-to-TTL adapter along with a 3.5mm Program Cable to connect the LT-22222-L to a PC, as shown below. 1751 1751 ))) 1752 1752 1753 1753 [[image:1653358238933-385.png]] ... ... @@ -1754,7 +1754,7 @@ 1754 1754 1755 1755 1756 1756 ((( 1757 -On the PC, theuserneedsto set the (% style="color:#4f81bd" %)**serial tool **(%%)(such as [[PuTTY>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]] or [[SecureCRT>>https://www.vandyke.com/cgi-bin/releases.php?product=securecrt]]) to a baud rate of (% style="color:green" %)**9600**(%%) to access the serial console of LT-22222-L.The AT commandsaredisabled by default, and a password (default:(% style="color:green" %)**123456**)(%%) must be entered to activethem, as shown below:1758 +On the PC, you need to set the (% style="color:#4f81bd" %)**serial tool **(%%)(such as [[PuTTY>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]] or [[SecureCRT>>https://www.vandyke.com/cgi-bin/releases.php?product=securecrt]]) to a baud rate of (% style="color:green" %)**9600**(%%) to access the serial console of LT-22222-L. Access to AT commands is disabled by default, and a password (default: (% style="color:green" %)**123456**)(%%) must be entered to enable AT command access, as shown below: 1758 1758 ))) 1759 1759 1760 1760 [[image:1653358355238-883.png]] ... ... @@ -1762,195 +1762,62 @@ 1762 1762 1763 1763 ((( 1764 1764 You can find more details in the [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]] 1765 -))) 1766 1766 1767 -((( 1768 -The following table lists all the AT commands related to the LT-22222-L, except for those used for switching between modes. 1769 - 1770 -AT+<CMD>? : Help on <CMD> 1767 +== 4.2 LT-22222-L related AT commands == 1771 1771 ))) 1772 1772 1773 1773 ((( 1774 -AT+<CMD> : Run <CMD> 1775 -))) 1771 +The following is the list of all the AT commands related to the LT-22222-L, except for those used for switching between work modes. 1776 1776 1777 -((( 1778 -AT+<CMD>=<value> : Set the value 1773 +* AT+<CMD>? : Help on <CMD> 1774 +* AT+<CMD> : Run <CMD> 1775 +* AT+<CMD>=<value> : Set the value 1776 +* AT+<CMD>=? : Get the value 1777 +* ATZ: Trigger a reset of the MCU 1778 +* ##**AT+FDR**##: Reset Parameters to factory default, reserve keys 1779 +* **##AT+DEUI##**: Get or set the Device EUI (DevEUI) 1780 +* **##AT+DADDR##**: Get or set the Device Address (DevAddr) 1781 +* **##AT+APPKEY##**: Get or set the Application Key (AppKey) 1782 +* AT+NWKSKEY: Get or set the Network Session Key (NwkSKey) 1783 +* AT+APPSKEY: Get or set the Application Session Key (AppSKey) 1784 +* AT+APPEUI: Get or set the Application EUI (AppEUI) 1785 +* AT+ADR: Get or set the Adaptive Data Rate setting. (0: OFF, 1: ON) 1786 +* AT+TXP: Get or set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Specification) 1787 +* AT+DR: Get or set the Data Rate. (0-7 corresponding to DR_X) 1788 +* AT+DCS: Get or set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing 1789 +* AT+PNM: Get or set the public network mode. (0: off, 1: on) 1790 +* AT+RX2FQ: Get or set the Rx2 window frequency 1791 +* AT+RX2DR: Get or set the Rx2 window data rate (0-7 corresponding to DR_X) 1792 +* AT+RX1DL: Get or set the delay between the end of the Tx and the Rx Window 1 in ms 1793 +* AT+RX2DL: Get or set the delay between the end of the Tx and the Rx Window 2 in ms 1794 +* AT+JN1DL: Get or set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms 1795 +* AT+JN2DL: Get or set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms 1796 +* AT+NJM: Get or set the Network Join Mode. (0: ABP, 1: OTAA) 1797 +* AT+NWKID: Get or set the Network ID 1798 +* AT+FCU: Get or set the Frame Counter Uplink (FCntUp) 1799 +* AT+FCD: Get or set the Frame Counter Downlink (FCntDown) 1800 +* AT+CLASS: Get or set the Device Class 1801 +* AT+JOIN: Join network 1802 +* AT+NJS: Get OTAA Join Status 1803 +* AT+SENDB: Send hexadecimal data along with the application port 1804 +* AT+SEND: Send text data along with the application port 1805 +* AT+RECVB: Print last received data in binary format (with hexadecimal values) 1806 +* AT+RECV: Print last received data in raw format 1807 +* AT+VER: Get current image version and Frequency Band 1808 +* AT+CFM: Get or Set the confirmation mode (0-1) 1809 +* AT+CFS: Get confirmation status of the last AT+SEND (0-1) 1810 +* AT+SNR: Get the SNR of the last received packet 1811 +* AT+RSSI: Get the RSSI of the last received packet 1812 +* AT+TDC: Get or set the application data transmission interval in ms 1813 +* AT+PORT: Get or set the application port 1814 +* AT+DISAT: Disable AT commands 1815 +* AT+PWORD: Set password, max 9 digits 1816 +* AT+CHS: Get or set the Frequency (Unit: Hz) for Single Channel Mode 1817 +* AT+CHE: Get or set eight channels mode, Only for US915, AU915, CN470 1818 +* AT+CFG: Print all settings 1779 1779 ))) 1780 1780 1781 -((( 1782 -AT+<CMD>=? : Get the value 1783 -))) 1784 1784 1785 -((( 1786 -ATZ: Trig a reset of the MCU 1787 -))) 1788 - 1789 -((( 1790 -AT+FDR: Reset Parameters to Factory Default, Keys Reserve 1791 -))) 1792 - 1793 -((( 1794 -AT+DEUI: Get or Set the Device EUI 1795 -))) 1796 - 1797 -((( 1798 -AT+DADDR: Get or Set the Device Address 1799 -))) 1800 - 1801 -((( 1802 -AT+APPKEY: Get or Set the Application Key 1803 -))) 1804 - 1805 -((( 1806 -AT+NWKSKEY: Get or Set the Network Session Key 1807 -))) 1808 - 1809 -((( 1810 -AT+APPSKEY: Get or Set the Application Session Key 1811 -))) 1812 - 1813 -((( 1814 -AT+APPEUI: Get or Set the Application EUI 1815 -))) 1816 - 1817 -((( 1818 -AT+ADR: Get or Set the Adaptive Data Rate setting. (0: off, 1: on) 1819 -))) 1820 - 1821 -((( 1822 -AT+TXP: Get or Set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Spec) 1823 -))) 1824 - 1825 -((( 1826 -AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X) 1827 -))) 1828 - 1829 -((( 1830 -AT+DCS: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing 1831 -))) 1832 - 1833 -((( 1834 -AT+PNM: Get or Set the public network mode. (0: off, 1: on) 1835 -))) 1836 - 1837 -((( 1838 -AT+RX2FQ: Get or Set the Rx2 window frequency 1839 -))) 1840 - 1841 -((( 1842 -AT+RX2DR: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) 1843 -))) 1844 - 1845 -((( 1846 -AT+RX1DL: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms 1847 -))) 1848 - 1849 -((( 1850 -AT+RX2DL: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms 1851 -))) 1852 - 1853 -((( 1854 -AT+JN1DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms 1855 -))) 1856 - 1857 -((( 1858 -AT+JN2DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms 1859 -))) 1860 - 1861 -((( 1862 -AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA) 1863 -))) 1864 - 1865 -((( 1866 -AT+NWKID: Get or Set the Network ID 1867 -))) 1868 - 1869 -((( 1870 -AT+FCU: Get or Set the Frame Counter Uplink 1871 -))) 1872 - 1873 -((( 1874 -AT+FCD: Get or Set the Frame Counter Downlink 1875 -))) 1876 - 1877 -((( 1878 -AT+CLASS: Get or Set the Device Class 1879 -))) 1880 - 1881 -((( 1882 -AT+JOIN: Join network 1883 -))) 1884 - 1885 -((( 1886 -AT+NJS: Get OTAA Join Status 1887 -))) 1888 - 1889 -((( 1890 -AT+SENDB: Send hexadecimal data along with the application port 1891 -))) 1892 - 1893 -((( 1894 -AT+SEND: Send text data along with the application port 1895 -))) 1896 - 1897 -((( 1898 -AT+RECVB: Print last received data in binary format (with hexadecimal values) 1899 -))) 1900 - 1901 -((( 1902 -AT+RECV: Print last received data in raw format 1903 -))) 1904 - 1905 -((( 1906 -AT+VER: Get current image version and Frequency Band 1907 -))) 1908 - 1909 -((( 1910 -AT+CFM: Get or Set the confirmation mode (0-1) 1911 -))) 1912 - 1913 -((( 1914 -AT+CFS: Get confirmation status of the last AT+SEND (0-1) 1915 -))) 1916 - 1917 -((( 1918 -AT+SNR: Get the SNR of the last received packet 1919 -))) 1920 - 1921 -((( 1922 -AT+RSSI: Get the RSSI of the last received packet 1923 -))) 1924 - 1925 -((( 1926 -AT+TDC: Get or set the application data transmission interval in ms 1927 -))) 1928 - 1929 -((( 1930 -AT+PORT: Get or set the application port 1931 -))) 1932 - 1933 -((( 1934 -AT+DISAT: Disable AT commands 1935 -))) 1936 - 1937 -((( 1938 -AT+PWORD: Set password, max 9 digits 1939 -))) 1940 - 1941 -((( 1942 -AT+CHS: Get or Set Frequency (Unit: Hz) for Single Channel Mode 1943 -))) 1944 - 1945 -((( 1946 -AT+CHE: Get or Set eight channels mode, Only for US915, AU915, CN470 1947 -))) 1948 - 1949 -((( 1950 -AT+CFG: Print all settings 1951 -))) 1952 - 1953 - 1954 1954 == 4.2 Common AT Command Sequence == 1955 1955 1956 1956 === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) === ... ... @@ -1959,41 +1959,41 @@ 1959 1959 1960 1960 1961 1961 ((( 1962 -(% style="color:blue" %)**If device has not joined network yet:** 1830 +(% style="color:blue" %)**If the device has not joined the network yet:** 1963 1963 ))) 1964 1964 ))) 1965 1965 1966 1966 ((( 1967 -(% style="background-color:#dcdcdc" %)**123456** 1835 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**## 1968 1968 ))) 1969 1969 1970 1970 ((( 1971 -(% style="background-color:#dcdcdc" %)**AT+FDR** 1839 +(% style="background-color:#dcdcdc" %)##**AT+FDR ~/~/reset parameters to factory default, reserve keys**## 1972 1972 ))) 1973 1973 1974 1974 ((( 1975 -(% style="background-color:#dcdcdc" %)**123456** 1843 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**## 1976 1976 ))) 1977 1977 1978 1978 ((( 1979 -(% style="background-color:#dcdcdc" %)**AT+NJM=0** 1847 +(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/set to ABP mode**## 1980 1980 ))) 1981 1981 1982 1982 ((( 1983 -(% style="background-color:#dcdcdc" %)**ATZ** 1851 +(% style="background-color:#dcdcdc" %)##**ATZ ~/~/reset MCU**## 1984 1984 ))) 1985 1985 1986 1986 1987 1987 ((( 1988 -(% style="color:blue" %)**If device already joined network:** 1856 +(% style="color:blue" %)**If the device has already joined the network:** 1989 1989 ))) 1990 1990 1991 1991 ((( 1992 -(% style="background-color:#dcdcdc" %)**AT+NJM=0** 1860 +(% style="background-color:#dcdcdc" %)##**AT+NJM=0**## 1993 1993 ))) 1994 1994 1995 1995 ((( 1996 -(% style="background-color:#dcdcdc" %)**ATZ** 1864 +(% style="background-color:#dcdcdc" %)##**ATZ**## 1997 1997 ))) 1998 1998 1999 1999 ... ... @@ -2099,9 +2099,10 @@ 2099 2099 2100 2100 = 6. FAQ = 2101 2101 1970 +This section contains some frequently asked questions, which can help you resolve common issues and find solutions quickly. 1971 + 2102 2102 == 6.1 How to update the firmware? == 2103 2103 2104 - 2105 2105 Dragino frequently releases firmware updates for the LT-22222-L. 2106 2106 2107 2107 Updating your LT-22222-L with the latest firmware version helps to: ... ... @@ -2267,7 +2267,6 @@ 2267 2267 * In modes 2 to 5, the DO/RO status and pulse count are saved to flash memory. 2268 2268 * After a restart, the status before the power failure will be read from flash. 2269 2269 2270 - 2271 2271 == 6.8 Can I setup LT-22222-L as a NC (Normally Closed) relay? == 2272 2272 2273 2273 ... ... @@ -2325,7 +2325,7 @@ 2325 2325 ))) 2326 2326 2327 2327 ((( 2328 -It might be related to the channel mapping. [[Please refer to this link for details.>>https://github.com/dragino/LT-22222-L/releases ||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]]2196 +It might be related to the channel mapping. [[Please refer to this link for details.>>https://github.com/dragino/LT-22222-L/releases]] 2329 2329 ))) 2330 2330 2331 2331 ... ... @@ -2353,7 +2353,6 @@ 2353 2353 * (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865 2354 2354 * (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779 2355 2355 2356 - 2357 2357 = 9. Packing information = 2358 2358 2359 2359 ... ... @@ -2371,7 +2371,6 @@ 2371 2371 * Package Size / pcs : 14.5 x 8 x 5 cm 2372 2372 * Weight / pcs : 170 g 2373 2373 2374 - 2375 2375 = 10. Support = 2376 2376 2377 2377