
Copyright ©2012–2022
,
Chengdu Ebyte Electronic Technology Co.,Ltd
12
6 AT command
Note: Before sending operation instructions, first ensure that the module is in wake-up mode, otherwise it will not
be able to receive configuration instructions.
6.1 Command description
All AT commands do not need to add carriage return (\r), line feed (\n)
All AT commands are not case sensitive
The return result of AT command ends with \r\n (except for returning HEX)
Command error response ERR=[NUM]. (NUM is ACSII)
6.2 Error code
NUM
Description
Error reason
Solution
1
Command not exist
AT command string contains error
Check AT specified data string
2
Parameter length error
1
、
AT command length sum
error
;
2
、
Data length is beyond the correct range
Check parameter
3
Invalid parameter
1
、
Parameter exceed value range
Check
the
parameter
value
according to the command
6.3 Status printing
Status
Printing info.
Connect successfully
slave
\r\nSTA:connect,1,<MAC\r\n
master
\r\nSTA:connect,1,<MAC\r\n
Disconnect
slave
\r\nSTA:disconnect\r\n
master
\r\nSTA:disconnect,1\r\n
System wake up
\r\nSTA:wakeup\r\n
Sleep mode
\r\nSTA:sleep\r\n
6.4 Command sets
6.4.1 AT test command
Command
Response