Skip to content
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

WiFi.softAP doesn't seem to honor ssid or password #1261

Closed
develpr opened this issue Dec 20, 2015 · 7 comments
Closed

WiFi.softAP doesn't seem to honor ssid or password #1261

develpr opened this issue Dec 20, 2015 · 7 comments

Comments

@develpr
Copy link

develpr commented Dec 20, 2015

I'm using the "staging" build.

I'm using the example sketch provided here in the repo which when run should result in a AP being created with a particular name, and secured with a password.

Instead, the AP is created with a generic SSID ("ESP_XXXXXXX") and w/o a password.

I'm guessing it doesn't matter, but this is on a ESP-12E.

@igrr
Copy link
Member

igrr commented Dec 20, 2015

See #1254

@develpr
Copy link
Author

develpr commented Dec 20, 2015

Silly question maybe, but I'd guess staging would have the latest fixes? Will this be pushed to the stagingrelease/ tag sometime, or should that branch not be used?

@igrr
Copy link
Member

igrr commented Dec 20, 2015

Yeah, staging will get updated shortly.

On Sun, Dec 20, 2015, 22:15 Kevin Mitchell notifications@github.com wrote:

Silly question maybe, but I'd guess staging would have the latest fixes?
Will this be pushed to the stagingrelease/ tag sometime, or should that
branch not be used?


Reply to this email directly or view it on GitHub
#1261 (comment).

@develpr
Copy link
Author

develpr commented Dec 20, 2015

Awesome! Is there any documentation about which features are available in staging vs stable? Somebody recently told me that i should be using staging buy obviously it send to behind in certain bug fixes?

@igrr
Copy link
Member

igrr commented Dec 20, 2015

You can check git tags 2.0.0 and 2.0.0-rc2 and commits between them. Also see docs:
http://esp8266.github.io/Arduino/versions/2.0.0/
http://esp8266.github.io/Arduino/versions/2.0.0-rc2/

@develpr
Copy link
Author

develpr commented Dec 20, 2015

Awesome! I'll RTFM ;) - thanks again, and sorry for the duplicate issue (I looked but somehow missed the duplicate issue!)

@develpr develpr closed this as completed Dec 20, 2015
@xetra11
Copy link

xetra11 commented Sep 16, 2016

Still having this issue that the AP is open. The SSID is being showed now. But that mybe only works because I tried to create an open AP by purpose as I omitted the password argument. Now after I added the password again it shows the AP but still as open and not secured :/

I have version 2.3.0 through board manager

my Sketch:

#include <ESP8266WiFi.h>
#include <WiFiClient.h> 
#include <WiFiUdp.h>

/* Set these to your desired credentials. */
const char *ssid = "artex11";
const char *password = "getme";
WiFiUDP udp;

void setup() {
    delay(4000);
    Serial.begin(115200);
    Serial.println();
    Serial.print("Configuring access point...");
    /* You can remove the password parameter if you want the AP to be open. */
    WiFi.softAP(ssid, password);
  IPAddress myIP = WiFi.softAPIP();
  Serial.print("AP IP address: ");
  Serial.println("AP online!");

  Serial.println("Setting up UDP Listener...");
  udp.begin(11);
  Serial.printf("UPD listeing on %s:%d\n", WiFi.softAPIP().toString().c_str(), 11);


}

void loop() {
  int packet = udp.parsePacket();
  if(packet){
    Serial.printf("got one...");
  }

}

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

No branches or pull requests

3 participants