Received SYSTEM_EVENT_STA_WPS_ER_SUCCESS event but can't access internet
Posted: Wed Feb 01, 2017 7:39 am
Hi,
I am working on ESP32_Core_board_v2. I am trying to connect my device with AP using WPS. I get SYSTEM_EVENT_STA_WPS_ER_SUCCESS event, but the device can't connect with internet afterwords. I am able to connect other devices with the AP and they are able to access internet successfully. Also there is no MAC binding in the router. Below is the API flow I have used:
esp_wifi_set_mode(WIFI_MODE_STA)
esp_wifi_wps_enable(WPS_TYPE_PBC)
esp_wifi_start()
esp_wifi_wps_start(0)
After these APIs, when I press WPS button on AP, I get SYSTEM_EVENT_STA_WPS_ER_SUCCESS event but there is no internet access with the device. Does the SYSTEM_EVENT_STA_WPS_ER_SUCCESS event guarantee that WPS is connected with AP and device can access internet?
I am working on ESP32_Core_board_v2. I am trying to connect my device with AP using WPS. I get SYSTEM_EVENT_STA_WPS_ER_SUCCESS event, but the device can't connect with internet afterwords. I am able to connect other devices with the AP and they are able to access internet successfully. Also there is no MAC binding in the router. Below is the API flow I have used:
esp_wifi_set_mode(WIFI_MODE_STA)
esp_wifi_wps_enable(WPS_TYPE_PBC)
esp_wifi_start()
esp_wifi_wps_start(0)
After these APIs, when I press WPS button on AP, I get SYSTEM_EVENT_STA_WPS_ER_SUCCESS event but there is no internet access with the device. Does the SYSTEM_EVENT_STA_WPS_ER_SUCCESS event guarantee that WPS is connected with AP and device can access internet?