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.
25
4. AT Configuration Example
4.1 Example of connecting to a standard MQTT3.1.1 server
{
Client id:876275396
mqtt username:485233
mqtt password:E_DEV01
mqtt server: mqtt.heclouds.com
mqtt port:6002
}
Restore factory settings before configuration to avoid enabling unused functions.
SEND(+++)
3S内SEND(AT)
RECV(+OK=AT enable)
SEND(AT+RESTORE)
RECV(+OK)
The above steps can use the hardware to restore the factory settings.
Step 1: Enter AT configuration mode;
SEND(+++)
3S内SEND(AT)
RECV(+OK=AT enable)
Step 2: Enable dynamic IP, if you configure the corresponding IP for the local area network
MQTT server, use dynamic IP here;
SEND(AT+WAN=DHCP,192.168.3.7,255.255.255.0,192.168.3.1,114.114.114.114)
RECV(+OK)
Step 3: Configure the working mode and the MQTT server address and port;
SEND(AT+SOCK=MQTTC,mqtt.heclouds.com,6002)
RECV(+OK=And local port has been set to 0)
Step 4: Select the MQTT platform;
SEND(AT+MQTTCLOUD=STANDARD)
RECV(+OK)
Step 5: Configure the Client id of the device;
SEND(AT+MQTDEVID=876275396)
RECV(+OK)
Step 6: Configure the mqtt username of the device;
SEND(AT+MQTUSER=485233)
RECV(+OK)
Step 7: Configure the mqtt password of the device;
SEND(AT+MQTPASS=E_DEV01)
RECV(+OK)










