esp_idf_svc::sys

Function esp_openthread_border_router_init

Source
pub unsafe extern "C" fn esp_openthread_border_router_init() -> i32
Expand description

@brief Initializes the border router features of OpenThread.

@note Calling this function will make the device behave as an OpenThread border router. Kconfig option CONFIG_OPENTHREAD_BORDER_ROUTER is required.

@return - ESP_OK on success - ESP_ERR_NOT_SUPPORTED if feature not supported - ESP_ERR_INVALID_STATE if already initialized - ESP_FIAL on other failures