WIFI_MODE_AP and authmode

Jerson
Posts: 2
Joined: Thu Sep 07, 2017 8:36 am

WIFI_MODE_AP and authmode

Postby Jerson » Thu Sep 07, 2017 10:48 am

Hello i am a new comer in MCU programming.
I am trying to config the ESP32 as AP mode, i find the following error whenever the authmode is set as WIFI_AUTH_WPA_PSK or WIFI_AUTH_WPA2_PSK. The ESP32 just keep rebooting.
ESP_ERROR_CHECK failed: esp_err_t 0xb at 0x400feaa3
file: "C:/Users/Administrator/workspace_cpp/wifi_AP_test2/main/main.c" line 152
func: app_main
expression: esp_wifi_set_config(WIFI_IF_AP, &ap_config)
Backtrace: 0x40086e18:0x3ffb8ca0 0x40087185:0x3ffb8cc0 0x400feaa3:0x3ffb8ce0 0x400d0c0b:0x3ffb8dd0
I do have no problem when the authmode is set as WIFI_AUTH_OPEN or WIFI_AUTH_WEP [i.e. when it is not password protected]
Is WPA_PSK not supported in AP mode ? or i miss something else?

Jerson
Posts: 2
Joined: Thu Sep 07, 2017 8:36 am

Re: WIFI_MODE_AP and authmode

Postby Jerson » Sun Sep 10, 2017 4:52 pm

Sorry its due to the fact that a min 8-words PASSWORD is needed or it will have error.
Problem is solved :mrgreen:

er.shubhendu.ee
Posts: 2
Joined: Mon Jul 05, 2021 11:21 am

Re: WIFI_MODE_AP and authmode

Postby er.shubhendu.ee » Mon Jul 05, 2021 11:25 am

Your answer gave me relief after roaming of 7 days here and there. Thanks.

Who is online

Users browsing this forum: Google [Bot] and 91 guests