IoT Demo Example - enable WPA/WPA2

matkar
Posts: 1
Joined: Mon Jul 27, 2015 6:38 pm

IoT Demo Example - enable WPA/WPA2

Postby matkar » Wed Jul 29, 2015 6:49 pm

Hi,
I'm new here. I have successfully compiled the IoT example which creates an unencrypted (open) access point (softAP). I have no problem connecting to it.
Then I changed the user_config.h file by uncommenting the line #define SOFTAP_ENCRYPT to enable encryption.
In this case access point is created but I'm unable to connect to it. I tried with default password "v*%W>L<@i&Nxe!" and also tried to change it to something else ("1234567890").
I have also tried changing the config.authmode = AUTH_WPA_WPA2_PSK; line to config.authmode = AUTH_WPA_PSK; in user_esp_platform.c but the result is the same. The connection is not established.
Am I missing something?

Regards,
Mat

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: IoT Demo Example - enable WPA/WPA2

Postby ESP_Faye » Fri Jul 31, 2015 11:55 am

Hi,

Here is an example of ESP8266 soft-AP configuration

If your problem is still unsolved, please provide your test code and we will have a try.

Thanks for your interest in Espressif Systems and ESP8266 !

Who is online

Users browsing this forum: No registered users and 73 guests