Page 1 of 1

Exit provisioning automatically after x minutes/seconds if no device is connected

Posted: Tue Jun 28, 2022 10:13 am
by listout
I was trying out the WiFi provisioning example from here https://github.com/espressif/esp-idf/tr ... i_prov_mgr. Things works fine, no complaints. But after the provisioning beings, a not provisioned device waits for a phone to connect indefinitely. I don't want my device to wait indefinitely, rather reboot or do something else if after x minutes still no device is connected.

How can I do so?

Thanks