Chengdu Ebyte Electronic Technology Co., Ltd.
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
10
3. AT Command
a) Command format: AT+<CMD>[op][ para1, para2, para3,…]<CR><LF>
AT+: Command prefix
CMD: Control command
[op]: “=” Parameter configuration
“NULL” Parameter query
[para-n]: List of parameters, can be omitted
<CR><LF>: Line Feed
,
ASCII 0x0D 0x0A
b) Command error code:
Error code
Description
-1
Invalid command format
-2
Invalid command
-3
Invalid operator
-4
Invalid parameter
-5
Operation not allowed
c) Command set:
Command
Description
REBT
Restart
VER
Query version number
INFO
Query device information
EXAT
Exit AT command mode
RESTORE
Restore factory settings
UART
Set/query serial port parameters
UARTCLR
Set/Query whether to clear the serial port cache before connecting
MAC
Query MAC address
IMEI
Query IMEI
SN
Set/query SN code
LINKSTA
Query the SOCK connection status
SOCK
Set/query SOCK parameters
REGMOD
Set/Query Registration Packet Mode
REGINFO
Set/Query User Registration Packet information (ASCII)
REGINFONEW
Set/Query User Registration Packet information (HEX)
HEARTMOD
Set/query heartbeat packet mode
HEARTINFO
Set/Query User Heartbeat Packet information (ASCII)
HEARTINFOEW
Set/Query User Heartbeat Packet information (HEX), Supporting index
HEARTM
Set/query heartbeat time
SHORTM
Set/query short connection time
CDEBYTEIOT
Set/query the IP and port address of the Ebyte IoT cloud platform