Page 2 of 2

Re: How to re-provision ESP with wifi credentials without forcing a reboot?

Posted: Fri Jan 13, 2023 7:01 pm
by karunt
Are the changes in commit 9bc1cc7 reflected in the appropriate components file ("components/wifi_provisioning/src/manager.c")? I'm asking specifically about function "wifi_prov_mgr_reset_sm_state_for_reprovision". I'm using esp-idf 5.0 but don't see this function in "components/wifi_provisioning/src/manager.c". Any idea why?

I'm asking because when I try to use this function in my app, I get the following error:
implicit declaration of function 'wifi_prov_mgr_reset_sm_state_for_reprovision'; did you mean 'wifi_prov_mgr_reset_sm_state_on_failure'?

Re: How to re-provision ESP with wifi credentials without forcing a reboot?

Posted: Sat Apr 15, 2023 1:12 pm
by vidaljuanp
The example wifi_prov_mgr is quite good.
But I found an issue using the "ESP BLE Prov" app in iOS. After typing the wrong credentials the app displays the message of "authentication error", it also displays the message "Reset your board to factory defaults and retry". And it gets linked to the device via BLE. and it doesn't allow to re-enter a password again. nor find the device. One must have to reset the device or close and open the iOS app again.