esp_openthread_border_router_init() function
Initializes the border router features of OpenThread.
Syntax
esp_err_t esp_openthread_border_router_init(void); Return value
- ESP_OK on success - ESP_ERR_NOT_SUPPORTED if feature not supported - ESP_ERR_INVALID_STATE if already initialized - ESP_FIAL on other failures
Notes
Calling this function will make the device behave as an OpenThread border router. Kconfig option CONFIG_OPENTHREAD_BORDER_ROUTER is required.
![]()
esp_err_t esp_openthread_border_router_init(void);