Instructions
" " ! "
Espressif Systems
ESP8266
AT Instruction Set
7.
AT+UART – UART configuration
This command sets the UART configuration and writes the new configuration to the flash. It is stored
as the default parameter and will also be used as the default baudrate henceforth. [THIS API IS
DEPRECATED.]
AT+UART=<baudrate>, <databits>, <stopbits>, <parity>, <flow control>
This command is deprecated, please use AT+UART_CUR or AT+UART_DEF instead.
Example
AT+UART=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 also store the baudrate as the default rate in the user
parameter area in the flash for boot up.
•
Flow control needs hardware support: MTCK is UART0 CTS and MTDO is
UART0 RTS.
Espressif Systems / Friday, July 15, 201614 73