Skip to content

WiFi.SoftAP(ssid, password) still not working in v2.0.0 #1327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
EnochHwang opened this issue Dec 30, 2015 · 2 comments
Closed

WiFi.SoftAP(ssid, password) still not working in v2.0.0 #1327

EnochHwang opened this issue Dec 30, 2015 · 2 comments

Comments

@EnochHwang
Copy link

I think I've found the problem (or solution).
When the password length is less than 8 characters, then the softAP(ssid, password) will NOT set to the given ssid. The command will only work if the password length is 8 characters or more.

Please verify that this is the case.


I read in other posts that v2.0.0 has fixed the problem with softAP not changing the ssid and/or password. It was working for me last week, but now it is no longer working. Whatever ssid I use in the WiFi.softAP command, the WiFi I get is always the original ESP_DAFA99. I'm using Arduino IDE v1.6.7. How should I debug this?
The relevant part of my set up code is just the standard...

char ssid[] = "ABC";
char password[] = "123"
WiFi.mode(WIFI_AP);
WiFi.softAP(ssid, password);
server.begin();

@tzapu
Copy link
Contributor

tzapu commented Dec 30, 2015

i can cofirm the same behaviour @EnochHwang , you need to set a valid password for the configuration to be updated.

@Links2004
Copy link
Collaborator

in #1323 i add a check for this and softAP will return false if password is to short.
https://github.com/esp8266/Arduino/pull/1323/files#diff-49f133721a21472dcdbc6beb4394f329R96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants