Function esp_idf_hal::sys::wifi_prov_mgr_get_wifi_state

source ยท
pub unsafe extern "C" fn wifi_prov_mgr_get_wifi_state(
    state: *mut u32,
) -> i32
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