We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When uploading this code, a nework called ESP_A0EFD1 with no password appears instead of the network with 'test' as SSID and 'test' as password...
#include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> const char* ssid = "test"; const char* password = "test"; ESP8266WebServer server(80); const int led = 13; void handle_root() { digitalWrite(led, 1); server.send(200, "text/plain", "hello from esp8266!"); delay(100); digitalWrite(led, 0); } void setup(void) { WiFi.mode(WIFI_AP); Serial.begin(115200); pinMode(led, OUTPUT); digitalWrite(led, 0); // Connect to WiFi network WiFi.softAP(ssid, password); Serial.println(""); // Wait for connection Serial.println(""); Serial.print("Connected to "); Serial.println(ssid); Serial.print("IP address: "); Serial.println(WiFi.localIP()); server.on("/", handle_root); server.on("/inline", [](){ server.send(200, "text/plain", "this works as well"); }); server.begin(); Serial.println("HTTP server started"); } void loop(void) { server.handleClient(); }
The text was updated successfully, but these errors were encountered:
"test" doesn't look like a valid WPA2 password — it has to be at least 8 characters. Perhaps you could try again with "testtest" as a password?
Sorry, something went wrong.
That did the job, thanks! Can we prevent users from choosing to small passwords
This is now documented in Readme.
Merge pull request esp8266#94 from N0vaPixel/testing
8107320
Now use GPIO2 to blink the ESP LED
No branches or pull requests
When uploading this code, a nework called ESP_A0EFD1 with no password appears instead of the network with 'test' as SSID and 'test' as password...
The text was updated successfully, but these errors were encountered: