esp_idf_svc::sys

Function esp_openthread_cli_input

Source
pub unsafe extern "C" fn esp_openthread_cli_input(
    line: *const u8,
) -> i32
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