User's Manual

Copyright ©20122020Chengdu Ebyte Electronic Technology Co.,Ltd
11
5 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.
5.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 format +ERR=[NUM]. (NUM is ACSII)
5.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
2Data length is beyond the correct range
Check parameter
3
Invalid parameter
1Parameter exceed value range
Check the parameter value
according to the command
5.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
5.4 Command sets
5.4.1 AT test command
Command
Response