Function esp_idf_hal::sys::esp_console_start_repl
source · pub unsafe extern "C" fn esp_console_start_repl(
repl: *mut esp_console_repl_s,
) -> i32
Expand description
@brief Start REPL environment @param[in] repl REPL handle returned from esp_console_new_repl_xxx @note Once the REPL gets started, it won’t be stopped until the user calls repl->del(repl) to destroy the REPL environment. @return - ESP_OK on success - ESP_ERR_INVALID_STATE, if repl has started already