Function esp_idf_sys::wifi_prov_mgr_get_wifi_state

source ยท
pub unsafe extern "C" fn wifi_prov_mgr_get_wifi_state(
    state: *mut wifi_prov_sta_state_t,
) -> esp_err_t
Expand description

@brief Get state of Wi-Fi Station during provisioning

@param[out] state Pointer to wifi_prov_sta_state_t variable to be filled

@return

  • ESP_OK : Successfully retrieved Wi-Fi state
  • ESP_FAIL : Provisioning app not running