esp_idf_svc::hal::sys

Function esp_openthread_auto_start

Source
pub unsafe extern "C" fn esp_openthread_auto_start(
    datasetTlvs: *mut otOperationalDatasetTlvs,
) -> i32
Expand description

@brief Starts the Thread protocol operation and attaches to a Thread network.

@param[in] datasetTlvs The operational dataset (TLV encoded), if it’s NULL, the function will generate the dataset based on the configurations from kconfig.

@return - ESP_OK on success - ESP_FAIL on failures