Function esp_idf_hal::sys::wifi_prov_mgr_init

source ยท
pub unsafe extern "C" fn wifi_prov_mgr_init(
    config: wifi_prov_mgr_config_t,
) -> i32
Expand description

@brief Initialize provisioning manager instance

Configures the manager and allocates internal resources

Configuration specifies the provisioning scheme (transport) and event handlers

Event WIFI_PROV_INIT is emitted right after initialization is complete

@param[in] config Configuration structure

@return

  • ESP_OK : Success
  • ESP_FAIL : Fail