app_prov_get_wifi_state() returns "connecting" even after wifi is connected?
Posted: Mon Oct 28, 2019 1:31 pm
I'm working on BLE provisioning based on IDF 3.2 and the samples ios app (the version before the latest change to v1.2)
Even after the esp32 is connected to the AP, the status is not updated and the IOS app gets stuck in polling.
I've added an additional endpoint to the BLE to send some custom device info BEFORE the Wifi credential is sent.
What am I doing incorrectly?
Thanks in advance.
Even after the esp32 is connected to the AP, the status is not updated and the IOS app gets stuck in polling.
I've added an additional endpoint to the BLE to send some custom device info BEFORE the Wifi credential is sent.
What am I doing incorrectly?
Thanks in advance.
Code: Select all
I (135674) app_prov_handler: WiFi Credentials Received :
ssid MySSID
password 123456
I (135834) app_prov_handler: WiFi Credentials Applied
I (101424) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:1
I (102424) wifi: state: init -> auth (b0)
I (102434) wifi: state: auth -> assoc (0)
I (102434) app_prov_handler: Connecting state: 0
I (102434) wifi: state: assoc -> run (10)
I (102454) wifi: connected with MySSID, channel 1
I (102504) wifi: pm start, type: 1
I (135964) app_prov_handler: Connecting state: 0
I (141144) app_prov_handler: Connecting state: 0