wifi_prov_mgr_get_wifi_disconnect_reason() function
Get reason code in case of Wi-Fi station disconnection during provisioning
Arguments
reason
Pointer to wifi_prov_sta_fail_reason_t variable to be filled
Return value
- ESP_OK : Successfully retrieved Wi-Fi disconnect reason - ESP_FAIL : Provisioning app not running