Phau Ntawv Qhia
Table Of Contents
- 1."Basic function" AT command set
- 1.1 Summary of Basic Configuration Instructions
- 1.2 Enter AT Command
- 1.3 Exit AT Command
- 1.4 Query Model
- 1.5 Query/Set Name
- 1.6 Query/Set ID
- 1.7 Reboot
- 1.8 Reset
- 1.9 Query version Information
- 1.10 Query MAC Address
- 1.11 Query/Set Native LORA Parameters
- 1.12 Set Remote LORA Parameters
- 1.13 Query/Set Network Parameters
- 1.14 Query/Set Local Port Number
- 1.15 Query/set the working mode of the machine and
- 1.16 Query Network Link Status
- 1.17 Query/Set Serial Port Cache Clearing Status
- 1.18 Query/set Registration Package Mode
- 1.19 Query/set custom registration package content
- 1.20 Query/set the heartbeat packet mode
- 1.21 Query/set heartbeat data
- 1.22 Query/set short connection time
- 1.23 Query/set timeout restart time
- 1.24 Query/set the time and times of disconnection
- 1.25 Web Configuration Port
- 2."Modbus function" AT command set
- 3."Internet of Things" AT command set
- 3.1 Summary of "IoT Capabilities" Directives
- 3.2 MQTT and HTTP target IP or domain name configu
- 3.3 Query/set HTTP request method
- 3.4 Query/Set HTTP URL Path
- 3.5 Query/Set HTTP headers
- 3.6 Query/Set MQTT target platform
- 3.7 Query/set MQTT keep-alive heartbeat packet sen
- 3.8 Query/set MQTT Device Name (Client ID)
- 3.9 Query/Set MQTT Username (User Name/Device Name
- 3.10 Query/Set MQTT Product Password (MQTT passwor
- 3.11 Query/Set the Product Key of Alibaba Cloud MQ
- 3.12 Query/set MQTT subscription topic
- 3.13 Query/Set MQTT publish topic
- 4.AT Configuration Example
- Revision History
Chengdu Ebyte Electronic Technology Co., Ltd. E90-DTU(xxxSLxx-ETH)_V2.0-AT Instruction Set
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co., Ltd.
18
3. "Internet of Things" AT command set
3.1 Summary of "IoT Capabilities" Directives
Command
Description
AT+HTPREQMODE
HTTP request method
AT+HTPURL
HTTP URL path
AT+HTPHEAD
HTTP headers
AT+MQTTCLOUD
MQTT platform
AT+MQTKPALIVE
MQTT heartbeat keep-alive period
AT+MQTDEVID
MQTT Client ID
AT+MQTUSER
MQTT User Name
AT+MQTPASS
MQTT Password
AT+MQTTPRDKEY
Alibaba Cloud Product Key
AT+MQTSUB
MQTT subscription topic
AT+MQTPUB
MQTT publish topic
3.2 MQTT and HTTP target IP or domain name configuration
Refer to "Query/Set the Working Mode of the Machine and the Network Parameters of the Target
Device".
Set the MQTT mode and target parameters:
Send: AT+SOCK=MQTTC, mqtt.heclouds.com,6002\r\n
Received:\r\n+OK\r\n
Set the MQTT mode and target parameters:
Send: AT+SOCK=HTTPC,www.baidu.com,80\r\n
Received:\r\n+OK\r\n
3.3 Query/set HTTP request method
Command
AT+HTPREQMODE
Function
Query/set HTTP request method
Send(Query)
AT+HTPREQMODE<CR><LF>
Return
(Query)
<CR><LF>+OK=<Method><CR><LF>
Send(Set)
AT+HTPREQMODE=<Method><CR><LF>
Return(Set)
<CR><LF>+OK<CR><LF>
Remarks
Method: GET\POST










