esp_rom_output_rx_string() function
Get one line of string from console channel (line ending won't be stored in the buffer).
Syntax
int esp_rom_output_rx_string(uint8_t *str,
uint8_t max_len);
Arguments
str
Where to store the string
max_len
Maximum length of the buffer (including the NULL delimiter)
Return value
always return 0 when on success or wait in a loop for rx data
![]()
int esp_rom_output_rx_string(uint8_t *str, uint8_t max_len);