pub unsafe extern "C" fn esp_openthread_init(
init_config: *const esp_openthread_platform_config_t,
) -> i32
Expand description
@brief Initializes the full OpenThread stack.
@note The OpenThread instance will also be initialized in this function.
@param[in] init_config The initialization configuration.
@return - ESP_OK on success - ESP_ERR_NO_MEM if allocation has failed - ESP_ERR_INVALID_ARG if radio or host connection mode not supported - ESP_ERR_INVALID_STATE if already initialized