WPS WPS_TYPE_PBC
Posted: Thu Feb 02, 2017 12:52 pm
HI,
I'm trying to connect ESP-32 to an AP through BPC . This is the code I'm using:
esp_wifi_set_mode(WIFI_MODE_STA)
esp_wifi_wps_enable(WPS_TYPE_PBC)
esp_wifi_start()
esp_wifi_wps_start(10000)
And I'm not getting any of the events I expected to have:
SYSTEM_EVENT_STA_WPS_ER_SUCCESS
SYSTEM_EVENT_STA_WPS_ER_FAILED
SYSTEM_EVENT_STA_WPS_ER_TIMEOUT
If I try to configure the WPS_TYPE_PIN, I intermediately get SYSTEM_EVENT_STA_WPS_ER_PIN. I assume that it's because I have no PIN set (the SDK is not giving any call for that by the way).
Am I missing something?
regards
I'm trying to connect ESP-32 to an AP through BPC . This is the code I'm using:
esp_wifi_set_mode(WIFI_MODE_STA)
esp_wifi_wps_enable(WPS_TYPE_PBC)
esp_wifi_start()
esp_wifi_wps_start(10000)
And I'm not getting any of the events I expected to have:
SYSTEM_EVENT_STA_WPS_ER_SUCCESS
SYSTEM_EVENT_STA_WPS_ER_FAILED
SYSTEM_EVENT_STA_WPS_ER_TIMEOUT
If I try to configure the WPS_TYPE_PIN, I intermediately get SYSTEM_EVENT_STA_WPS_ER_PIN. I assume that it's because I have no PIN set (the SDK is not giving any call for that by the way).
Am I missing something?
regards