esp_openthread_launch_mainloop() function
Launches the OpenThread main loop.
Syntax
esp_err_t esp_openthread_launch_mainloop(void); Return value
- ESP_OK on success - ESP_ERR_NO_MEM if allocation has failed - ESP_FAIL on other failures
Notes
This function will not return unless error happens when running the OpenThread stack.
Examples
esp_openthread_launch_mainloop() is referenced by 6 libraries and example projects: