Chengdu Ebyte Electronic Technology Co.,Ltd.
ECAN-401 User Manual
Copyright ©2012–2022
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
23
5. AT Command
1. Enter AT command mode: send +++ via serial port, send AT again within 3 seconds, the device will return AT MODE,
then enter AT command mode.
2. If there is no special instruction, all subsequent AT command operations need to add "\r\n".
3. All examples are performed with the command echo function turned off.
4. After setting the parameters, you need to restart the device to make the set parameters take effect.
Error code table:
error code
instruction
-1
Invalid command format
-2
Invalid command
-3
Not yet defined
-4
Invalid parameter
-5
Not yet defined
Default parameters
Parameter
category
parameter name
Parameter value
Related instructions
Serial port
Baud rate
115200
AT+UART
digit
8
Stop bit
1
Parity check
None
5.1 Enter AT command
Command
AT
Function
Enter AT command mode
Send
AT
Back
<CR><LF>+OK<CR><LF>
【
Example
】
Send: +++ // no line break
Send: AT // no line break
Response: <CR><LF>AT MODE<CR><LF>
5.2 Exit AT command
Command
EXAT
Function
Exit AT command mode