Function esp_idf_sys::wifi_prov_mgr_get_wifi_disconnect_reason

source ยท
pub unsafe extern "C" fn wifi_prov_mgr_get_wifi_disconnect_reason(
    reason: *mut wifi_prov_sta_fail_reason_t,
) -> esp_err_t
Expand description

@brief Get reason code in case of Wi-Fi station disconnection during provisioning

@param[out] reason Pointer to wifi_prov_sta_fail_reason_t variable to be filled

@return

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