!
3.2.7.
AT+UART_CUR—Current UART Configuration, Not Saved in Flash
Command
Response
Parameters
Notes
Example
Espressif
The execution of this command will reset all parameters saved in flash, and
Note
restore the factory default settings of the module. The chip will be restarted when
this command is executed.
Query Command:
AT+UART_CUR?
+UART_CUR:<baudrate>,<databits>,<stopbi
ts>,<parity>,<flow control>
OK
Command AT+UART_CUR? will return the
actual value of UART configuration
parameters, which may have allowable errors
compared with the set value because of the
clock division.
<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 NOT be saved in flash.
2. The use of flow control requires the support of hardware:
‣ IO15 is UART0 CTS
‣ IO14 is UART0 RTS
3. The range of baud rates supported: 80 ~ 5000000.
AT+UART_CUR=115200,8,1,0,3
Set Command:
AT+UART_CUR=<baudrate>,<databits>,<stop
bits>,<parity>,<flow control>
OK
! /! 6 97
3. Basic AT Commands
2019.06
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers