<
From version < 113.1 >
edited by Bei Jinggeng
on 2022/05/30 08:56
To version < 115.6 >
edited by Xiaoling
on 2022/06/01 15:38
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +XWiki.Xiaoling
Content
... ... @@ -1134,18 +1134,18 @@
1134 1134  * (% _mstvisible="3" %)
1135 1135  (((
1136 1136  (% _msthash="903318" _msttexthash="635544" _mstvisible="4" %)
1137 -AT Command Connection: See [[FAQ>>path:#AT_COMMAND||_mstvisible="5"]].
1137 +AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
1138 1138  )))
1139 1139  * (% _mstvisible="3" %)
1140 1140  (((
1141 1141  (% _msthash="903319" _msttexthash="2004301" _mstvisible="4" %)
1142 -LoRaWAN Downlink instruction for different platforms:
1142 +LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
1143 1143  )))
1144 1144  
1145 1145  (% _mstvisible="1" %)
1146 1146  (((
1147 1147  (% _mstvisible="2" style="text-align: left;" %)
1148 -[[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server>>url:http://wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server||_msthash="506247" _msttexthash="3599349" _mstvisible="3"]]
1148 +
1149 1149  )))
1150 1150  
1151 1151  (% _mstvisible="1" %)
... ... @@ -1181,19 +1181,19 @@
1181 1181  (% _mstvisible="1" %)
1182 1182  (((
1183 1183  (% _msthash="506251" _msttexthash="8343023" _mstvisible="2" style="text-align: left;" %)
1184 -They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki:
1184 +They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki: [[End Device Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
1185 1185  )))
1186 1186  
1187 1187  (% _mstvisible="1" %)
1188 1188  (((
1189 1189  (% _mstvisible="2" style="text-align: left;" %)
1190 -[[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command||_msthash="506252" _msttexthash="3434769" _mstvisible="3"]]
1190 +
1191 1191  )))
1192 1192  
1193 1193  (% _mstvisible="1" %)
1194 1194  (((
1195 1195  (% _mstvisible="2" style="text-align: left;" %)
1196 -(% _mstvisible="3" style="color:#4f81bd" %)* (% _msthash="506253" _msttexthash="792038" _mstvisible="4" %)**Commands special design for LHT65N**
1196 +(% _mstvisible="3" style="color:#4f81bd" %)* **Commands special design for LHT65N**
1197 1197  )))
1198 1198  
1199 1199  (% _mstvisible="1" %)
... ... @@ -1200,6 +1200,9 @@
1200 1200  (((
1201 1201  (% _msthash="506254" _msttexthash="1501357" _mstvisible="2" style="text-align: left;" %)
1202 1202  These commands are only valid for LHT65N, as below:
1203 +
1204 +(% _msthash="506254" _msttexthash="1501357" _mstvisible="2" style="text-align: left;" %)
1205 +
1203 1203  )))
1204 1204  
1205 1205  (% _mstvisible="1" style="text-align: left;" %)
... ... @@ -1381,7 +1381,7 @@
1381 1381  == (% _msthash="336557" _msttexthash="309712" _mstvisible="3" %)4.7 Set system time(%%) ==
1382 1382  
1383 1383  (% _msthash="315372" _msttexthash="2565524" _mstvisible="1" %)
1384 -Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp" _mstvisible="2"]]
1387 +Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
1385 1385  
1386 1386  (% _mstvisible="1" %)
1387 1387  (% _msthash="315373" _msttexthash="137488" _mstvisible="3" %)**AT Command:**
... ... @@ -1571,9 +1571,172 @@
1571 1571  (% _msthash="506266" _msttexthash="35479028" _mstvisible="2" %)
1572 1572  == 6.1 How to use AT Command? ==
1573 1573  
1577 +LHT65N supports AT Command set.User can use a USB to TTL adapter plus the Program Cable to
1574 1574  
1579 +connect to LHT65 for using AT command, as below.
1575 1575  
1576 -(% _msthash="506266" _msttexthash="35479028" _mstvisible="2" %)
1581 +[[image:image-20220530085651-1.png]]
1582 +
1583 +
1584 +Connection:
1585 +
1586 +✓ USB to TTL GND <~-~->GND
1587 +
1588 +✓ USB to TTL RXD <~-~-> D+
1589 +
1590 +✓ USB to TTL TXD <~-~-> A11
1591 +
1592 +✓ USB to TTL 3.3V <~-~-> D-
1593 +
1594 +In PC, User needs to set serial tool(such as **putty**, SecureCRT) baud rate to **9600** to access to
1595 +
1596 +access serial console for LHT65N. The AT commands are disable by default and need to enter
1597 +
1598 +password (default:**123456**) to active it. Timeout to input AT Command is 5 min, after 5-minute,
1599 +
1600 +user need to input password again. User can use AT+DISAT command to disable AT command
1601 +
1602 +before timeout.
1603 +
1604 +Input password and ATZ to activate LHT65N,As shown below:
1605 +
1606 +[[image:image-20220530095701-4.png]]
1607 +
1608 +
1609 +AT Command List is as below:
1610 +
1611 +AT+<CMD>? : Help on <CMD>
1612 +
1613 +AT+<CMD> : Run <CMD>
1614 +
1615 +AT+<CMD>=<value> : Set the value
1616 +
1617 +AT+<CMD>=? : Get the value
1618 +
1619 +AT+DEBUG:Set more info output
1620 +
1621 +ATZ: Trig a reset of the MCU
1622 +
1623 +AT+FDR: Reset Parameters to Factory Default, Keys Reserve
1624 +
1625 +AT+DEUI: Get or Set the Device EUI
1626 +
1627 +AT+DADDR: Get or Set the Device Address
1628 +
1629 +AT+APPKEY: Get or Set the Application Key
1630 +
1631 +AT+NWKSKEY: Get or Set the Network Session Key
1632 +
1633 +AT+APPSKEY: Get or Set the Application Session Key
1634 +
1635 +AT+APPEUI: Get or Set the Application EUI
1636 +
1637 +AT+ADR: Get or Set the Adaptive Data Rate setting. (0: off, 1: on)
1638 +
1639 +AT+TXP: Get or Set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Spec)
1640 +
1641 +AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X)
1642 +
1643 +AT+DCS: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing
1644 +
1645 +AT+PNM: Get or Set the public network mode. (0: off, 1: on)
1646 +
1647 +AT+RX2FQ: Get or Set the Rx2 window frequency
1648 +
1649 +AT+RX2DR: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
1650 +
1651 +AT+RX1DL: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
1652 +
1653 +AT+RX2DL: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
1654 +
1655 +AT+JN1DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1
1656 +
1657 +in ms
1658 +
1659 +AT+JN2DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2
1660 +
1661 +in ms
1662 +
1663 +AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA)
1664 +
1665 +AT+NWKID: Get or Set the Network ID
1666 +
1667 +AT+FCU: Get or Set the Frame Counter Uplink
1668 +
1669 +AT+FCD: Get or Set the Frame Counter Downlink
1670 +
1671 +AT+CLASS: Get or Set the Device Class
1672 +
1673 +AT+JOIN: Join network
1674 +
1675 +AT+NJS: Get the join status
1676 +
1677 +AT+SENDB: Send hexadecimal data along with the application port
1678 +
1679 +AT+SEND: Send text data along with the application port
1680 +
1681 +AT+RECVB: Print last received data in binary format (with hexadecimal values)
1682 +
1683 +AT+RECV: Print last received data in raw format
1684 +
1685 +AT+VER: Get current image version and Frequency Band
1686 +
1687 +AT+CFM: Get or Set the confirmation mode (0-1)
1688 +
1689 +AT+CFS: Get confirmation status of the last AT+SEND (0-1)
1690 +
1691 +AT+SNR: Get the SNR of the last received packet
1692 +
1693 +AT+RSSI: Get the RSSI of the last received packet
1694 +
1695 +AT+TDC: Get or set the application data transmission interval in ms
1696 +
1697 +AT+PORT: Get or set the application port
1698 +
1699 +AT+DISAT: Disable AT commands
1700 +
1701 +AT+PWORD: Set password, max 9 digits
1702 +
1703 +AT+CHS: Get or Set Frequency (Unit: Hz) for Single Channel Mode
1704 +
1705 +AT+CHE: Get or Set eight channels mode,Only for US915,AU915,CN470
1706 +
1707 +AT+PDTA: Print the sector data from start page to stop page
1708 +
1709 +AT+PLDTA: Print the last few sets of data
1710 +
1711 +AT+CLRDTA: Clear the storage, record position back to 1st
1712 +
1713 +AT+SLEEP: Set sleep mode
1714 +
1715 +AT+EXT: Get or Set external sensor model
1716 +
1717 +AT+BAT: Get the current battery voltage in mV
1718 +
1719 +AT+CFG: Print all configurations
1720 +
1721 +AT+WMOD: Get or Set Work Mode
1722 +
1723 +AT+ARTEMP: Get or set the internal Temperature sensor alarm range
1724 +
1725 +AT+CITEMP: Get or set the internal Temperature sensor collection interval in min
1726 +
1727 +AT+SETCNT:Set the count at present
1728 +
1729 +AT+RJTDC: Get or set the ReJoin data transmission interval in min
1730 +
1731 +AT+RPL: Get or set response level
1732 +
1733 +AT+TIMESTAMP: Get or Set UNIX timestamp in second
1734 +
1735 +AT+LEAPSEC: Get or Set Leap Second
1736 +
1737 +AT+SYNCMOD: Get or Set time synchronization method
1738 +
1739 +AT+SYNCTDC: Get or set time synchronization interval in day
1740 +
1741 +AT+PID: Get or set the PID
1742 +
1577 1577  
1578 1578  )))
1579 1579  
image-20220530095701-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +39.4 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0