esp_idf_sys

Function esp_openthread_cli_input

Source
pub unsafe extern "C" fn esp_openthread_cli_input(
    line: *const c_char,
) -> esp_err_t
Expand description

@brief This function feeds a line to the OpenThread CLI.

@note This function is thread-safe, the line will be copied and posted to the OpenThread task queue.

@param[in] line The input line.

@return - ESP_OK on success - ESP_ERR_NO_MEM if allocation has failed