Instructions
" " ! "
Espressif Systems
ESP8266
AT Instruction Set
9.
AT+UART_DEF – default UART configuration
This command sets the UART configuration and saves it to flash. It is stored as the default parameter
and will also be used as the default baud rate henceforth.!
AT+UART_DEF=<baudrate>, <databits>, <stopbits>, <parity>, <flow control>
Example
AT+UART_DEF=115200, 8, 1, 0, 3
Response
OK
Parameters
<baudrate>
Baudrate range: 110 to 115200*40 (4.608 Mega)
<databits>
5: 5 bits data!
6: 6 bits data!
7: 7 bits data!
8: 8 bits data
<stopbits>
1: 1 bit stop bit!
2: 1.5 bit stop bit!
3: 2 bit stop bit
<parity>
0: None!
1: Odd!
2: EVEN
<flow control>
0: disable flow control!
1: enable RTS!
2: enable CTS!
3: enable both RTS and CTS
Notes
•
This configuration will be stored in flash user parameter area for boot up.
•
Flow control needs hardware support: MTCK is UART0 CTS and MTDO is
UART0 RTS.
Espressif Systems / Friday, July 15, 201616 73