<
From version < 111.1 >
edited by Edwin Chen
on 2022/05/27 17:38
To version < 115.2 >
edited by Xiaoling
on 2022/06/01 15:07
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
Content
... ... @@ -1134,7 +1134,7 @@
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  (((
... ... @@ -1571,9 +1571,172 @@
1571 1571  (% _msthash="506266" _msttexthash="35479028" _mstvisible="2" %)
1572 1572  == 6.1 How to use AT Command? ==
1573 1573  
1574 +LHT65N supports AT Command set.User can use a USB to TTL adapter plus the Program Cable to
1574 1574  
1576 +connect to LHT65 for using AT command, as below.
1575 1575  
1576 -(% _msthash="506266" _msttexthash="35479028" _mstvisible="2" %)
1578 +[[image:image-20220530085651-1.png]]
1579 +
1580 +
1581 +Connection:
1582 +
1583 +✓ USB to TTL GND <~-~->GND
1584 +
1585 +✓ USB to TTL RXD <~-~-> D+
1586 +
1587 +✓ USB to TTL TXD <~-~-> A11
1588 +
1589 +✓ USB to TTL 3.3V <~-~-> D-
1590 +
1591 +In PC, User needs to set serial tool(such as **putty**, SecureCRT) baud rate to **9600** to access to
1592 +
1593 +access serial console for LHT65N. The AT commands are disable by default and need to enter
1594 +
1595 +password (default:**123456**) to active it. Timeout to input AT Command is 5 min, after 5-minute,
1596 +
1597 +user need to input password again. User can use AT+DISAT command to disable AT command
1598 +
1599 +before timeout.
1600 +
1601 +Input password and ATZ to activate LHT65N,As shown below:
1602 +
1603 +[[image:image-20220530095701-4.png]]
1604 +
1605 +
1606 +AT Command List is as below:
1607 +
1608 +AT+<CMD>? : Help on <CMD>
1609 +
1610 +AT+<CMD> : Run <CMD>
1611 +
1612 +AT+<CMD>=<value> : Set the value
1613 +
1614 +AT+<CMD>=? : Get the value
1615 +
1616 +AT+DEBUG:Set more info output
1617 +
1618 +ATZ: Trig a reset of the MCU
1619 +
1620 +AT+FDR: Reset Parameters to Factory Default, Keys Reserve
1621 +
1622 +AT+DEUI: Get or Set the Device EUI
1623 +
1624 +AT+DADDR: Get or Set the Device Address
1625 +
1626 +AT+APPKEY: Get or Set the Application Key
1627 +
1628 +AT+NWKSKEY: Get or Set the Network Session Key
1629 +
1630 +AT+APPSKEY: Get or Set the Application Session Key
1631 +
1632 +AT+APPEUI: Get or Set the Application EUI
1633 +
1634 +AT+ADR: Get or Set the Adaptive Data Rate setting. (0: off, 1: on)
1635 +
1636 +AT+TXP: Get or Set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Spec)
1637 +
1638 +AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X)
1639 +
1640 +AT+DCS: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing
1641 +
1642 +AT+PNM: Get or Set the public network mode. (0: off, 1: on)
1643 +
1644 +AT+RX2FQ: Get or Set the Rx2 window frequency
1645 +
1646 +AT+RX2DR: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
1647 +
1648 +AT+RX1DL: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
1649 +
1650 +AT+RX2DL: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
1651 +
1652 +AT+JN1DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1
1653 +
1654 +in ms
1655 +
1656 +AT+JN2DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2
1657 +
1658 +in ms
1659 +
1660 +AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA)
1661 +
1662 +AT+NWKID: Get or Set the Network ID
1663 +
1664 +AT+FCU: Get or Set the Frame Counter Uplink
1665 +
1666 +AT+FCD: Get or Set the Frame Counter Downlink
1667 +
1668 +AT+CLASS: Get or Set the Device Class
1669 +
1670 +AT+JOIN: Join network
1671 +
1672 +AT+NJS: Get the join status
1673 +
1674 +AT+SENDB: Send hexadecimal data along with the application port
1675 +
1676 +AT+SEND: Send text data along with the application port
1677 +
1678 +AT+RECVB: Print last received data in binary format (with hexadecimal values)
1679 +
1680 +AT+RECV: Print last received data in raw format
1681 +
1682 +AT+VER: Get current image version and Frequency Band
1683 +
1684 +AT+CFM: Get or Set the confirmation mode (0-1)
1685 +
1686 +AT+CFS: Get confirmation status of the last AT+SEND (0-1)
1687 +
1688 +AT+SNR: Get the SNR of the last received packet
1689 +
1690 +AT+RSSI: Get the RSSI of the last received packet
1691 +
1692 +AT+TDC: Get or set the application data transmission interval in ms
1693 +
1694 +AT+PORT: Get or set the application port
1695 +
1696 +AT+DISAT: Disable AT commands
1697 +
1698 +AT+PWORD: Set password, max 9 digits
1699 +
1700 +AT+CHS: Get or Set Frequency (Unit: Hz) for Single Channel Mode
1701 +
1702 +AT+CHE: Get or Set eight channels mode,Only for US915,AU915,CN470
1703 +
1704 +AT+PDTA: Print the sector data from start page to stop page
1705 +
1706 +AT+PLDTA: Print the last few sets of data
1707 +
1708 +AT+CLRDTA: Clear the storage, record position back to 1st
1709 +
1710 +AT+SLEEP: Set sleep mode
1711 +
1712 +AT+EXT: Get or Set external sensor model
1713 +
1714 +AT+BAT: Get the current battery voltage in mV
1715 +
1716 +AT+CFG: Print all configurations
1717 +
1718 +AT+WMOD: Get or Set Work Mode
1719 +
1720 +AT+ARTEMP: Get or set the internal Temperature sensor alarm range
1721 +
1722 +AT+CITEMP: Get or set the internal Temperature sensor collection interval in min
1723 +
1724 +AT+SETCNT:Set the count at present
1725 +
1726 +AT+RJTDC: Get or set the ReJoin data transmission interval in min
1727 +
1728 +AT+RPL: Get or set response level
1729 +
1730 +AT+TIMESTAMP: Get or Set UNIX timestamp in second
1731 +
1732 +AT+LEAPSEC: Get or Set Leap Second
1733 +
1734 +AT+SYNCMOD: Get or Set time synchronization method
1735 +
1736 +AT+SYNCTDC: Get or set time synchronization interval in day
1737 +
1738 +AT+PID: Get or set the PID
1739 +
1577 1577  
1578 1578  )))
1579 1579  
image-20220530085651-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +93.8 KB
Content
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