!
3.2.9.
AT+UART_DEF—Default UART Configuration, Saved in Flash
Set Command
Parameters
Espressif
AT+UART_DEF=<baudrate>,<databits>,<stopbits>,<parity>,<flow control>
Response
OK
•
<baudrate>: UART baud rate
•
<databits>: data bits
‣ 5: 5-bit data
‣ 6: 6-bit data
‣ 7: 7-bit data
‣ 8: 8-bit data
<stopbits>: stop bits
•
‣ 1: 1-bit stop bit
‣ 2: 1.5-bit stop bit
‣ 3: 2-bit stop bit
•
<parity>: parity bit
‣ 0: None
‣ 1: Odd
‣ 2: Even
•
<flow control>: flow control
‣ 0: flow control is not enabled
‣ 1: enable RTS
‣ 2: enable CTS
‣ 3: enable both RTS and CTS
1. The configuration changes will be saved in the NVS area, and will still be valid when the
chip is powered on again.
2. The use of flow control requires the support of hardware:
Notes
‣ IO15 is UART0 CTS
‣ IO14 is UART0 RTS
3. The range of baud rates supported: 80 ~ 5000000.
Example
AT+UART=115200,8,1,0,3
! /! 8 53
3. Basic AT Commands
2017.02
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers