- 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
Notes
The OpenThread instance will also be initialized in this function.