<
From version < 184.1 >
edited by Dilisi S
on 2024/11/10 05:27
To version < 179.1 >
edited by Dilisi S
on 2024/11/09 05:29
>
Change comment: Nov 8 edit FAQ and Troubleshooting sections

Summary

Details

Page properties
Content
... ... @@ -1741,14 +1741,13 @@
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 Commands =
1744 += 4. Using AT Command =
1745 1745  
1746 -The LT-22222-L supports programming using AT Commands.
1746 +== 4.1 Connecting the LT-22222-L to a computer ==
1747 1747  
1748 -== 4.1 Connecting the LT-22222-L to a PC ==
1749 1749  
1750 1750  (((
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.
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 a computer, as shown below.
1752 1752  )))
1753 1753  
1754 1754  [[image:1653358238933-385.png]]
... ... @@ -1755,7 +1755,7 @@
1755 1755  
1756 1756  
1757 1757  (((
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:
1757 +On the PC, the user needs 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. The AT commands are disabled by default, and a password (default:(% style="color:green" %)**123456**)(%%) must be entered to active them, as shown below:
1759 1759  )))
1760 1760  
1761 1761  [[image:1653358355238-883.png]]
... ... @@ -1763,62 +1763,195 @@
1763 1763  
1764 1764  (((
1765 1765  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 -== 4.2 LT-22222-L related AT commands ==
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>
1768 1768  )))
1769 1769  
1770 1770  (((
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.
1774 +AT+<CMD>         : Run <CMD>
1775 +)))
1772 1772  
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
1777 +(((
1778 +AT+<CMD>=<value> : Set the value
1819 1819  )))
1820 1820  
1781 +(((
1782 +AT+<CMD>=?       :  Get the value
1783 +)))
1821 1821  
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 +
1822 1822  == 4.2 Common AT Command Sequence ==
1823 1823  
1824 1824  === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
... ... @@ -1827,41 +1827,41 @@
1827 1827  
1828 1828  
1829 1829  (((
1830 -(% style="color:blue" %)**If the device has not joined the network yet:**
1962 +(% style="color:blue" %)**If device has not joined network yet:**
1831 1831  )))
1832 1832  )))
1833 1833  
1834 1834  (((
1835 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**##
1967 +(% style="background-color:#dcdcdc" %)**123456**
1836 1836  )))
1837 1837  
1838 1838  (((
1839 -(% style="background-color:#dcdcdc" %)##**AT+FDR ~/~/reset parameters to factory default, reserve keys**##
1971 +(% style="background-color:#dcdcdc" %)**AT+FDR**
1840 1840  )))
1841 1841  
1842 1842  (((
1843 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**##
1975 +(% style="background-color:#dcdcdc" %)**123456**
1844 1844  )))
1845 1845  
1846 1846  (((
1847 -(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/set to ABP mode**##
1979 +(% style="background-color:#dcdcdc" %)**AT+NJM=0**
1848 1848  )))
1849 1849  
1850 1850  (((
1851 -(% style="background-color:#dcdcdc" %)##**ATZ ~/~/reset MCU**##
1983 +(% style="background-color:#dcdcdc" %)**ATZ**
1852 1852  )))
1853 1853  
1854 1854  
1855 1855  (((
1856 -(% style="color:blue" %)**If the device has already joined the network:**
1988 +(% style="color:blue" %)**If device already joined network:**
1857 1857  )))
1858 1858  
1859 1859  (((
1860 -(% style="background-color:#dcdcdc" %)##**AT+NJM=0**##
1992 +(% style="background-color:#dcdcdc" %)**AT+NJM=0**
1861 1861  )))
1862 1862  
1863 1863  (((
1864 -(% style="background-color:#dcdcdc" %)##**ATZ**##
1996 +(% style="background-color:#dcdcdc" %)**ATZ**
1865 1865  )))
1866 1866  
1867 1867  
... ... @@ -1967,10 +1967,9 @@
1967 1967  
1968 1968  = 6. FAQ =
1969 1969  
1970 -This section contains some frequently asked questions, which can help you resolve common issues and find solutions quickly.
1971 -
1972 1972  == 6.1 How to update the firmware? ==
1973 1973  
2104 +
1974 1974  Dragino frequently releases firmware updates for the LT-22222-L.
1975 1975  
1976 1976  Updating your LT-22222-L with the latest firmware version helps to:
... ... @@ -2136,6 +2136,7 @@
2136 2136  * In modes 2 to 5, the DO/RO status and pulse count are saved to flash memory.
2137 2137  * After a restart, the status before the power failure will be read from flash.
2138 2138  
2270 +
2139 2139  == 6.8 Can I setup LT-22222-L as a NC (Normally Closed) relay? ==
2140 2140  
2141 2141  
... ... @@ -2193,7 +2193,7 @@
2193 2193  )))
2194 2194  
2195 2195  (((
2196 -It might be related to the channel mapping. [[Please refer to this link for details.>>https://github.com/dragino/LT-22222-L/releases]]
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"]]
2197 2197  )))
2198 2198  
2199 2199  
... ... @@ -2221,6 +2221,7 @@
2221 2221  * (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865
2222 2222  * (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779
2223 2223  
2356 +
2224 2224  = 9. Packing information =
2225 2225  
2226 2226  
... ... @@ -2238,6 +2238,7 @@
2238 2238  * Package Size / pcs : 14.5 x 8 x 5 cm
2239 2239  * Weight / pcs : 170 g
2240 2240  
2374 +
2241 2241  = 10. Support =
2242 2242  
2243 2243  
thingseye-events.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.pradeeka
Size
... ... @@ -1,1 +1,0 @@
1 -530.6 KB
Content
thingseye-json.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.pradeeka
Size
... ... @@ -1,1 +1,0 @@
1 -554.8 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0