Skip to content

Commit

Permalink
Update ESP8266_PhiSiFi.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
p3tr0s authored Aug 30, 2023
1 parent a0615ac commit 8e48c79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ESP8266_PhiSiFi.ino
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void setup() {
WiFi.mode(WIFI_AP_STA);
wifi_promiscuous_enable(1);
WiFi.softAPConfig(IPAddress(192, 168, 4, 1) , IPAddress(192, 168, 4, 1) , IPAddress(255, 255, 255, 0));
WiFi.softAP("WiPhi_34732", "d347h32");
WiFi.softAP("WiPhi_34732", "d347h320");
dnsServer.start(53, "*", IPAddress(192, 168, 4, 1));

webServer.on("/", handleIndex);
Expand Down Expand Up @@ -121,7 +121,7 @@ void handleResult() {
int n = WiFi.softAPdisconnect (true);
Serial.println(String(n));
WiFi.softAPConfig(IPAddress(192, 168, 4, 1) , IPAddress(192, 168, 4, 1) , IPAddress(255, 255, 255, 0));
WiFi.softAP("WiPhi_34732", "d347h32");
WiFi.softAP("WiPhi_34732", "d347h320");
dnsServer.start(53, "*", IPAddress(192, 168, 4, 1));
Serial.println("Good password was entered !");
Serial.println(_correct);
Expand Down Expand Up @@ -173,7 +173,7 @@ void handleIndex() {
int n = WiFi.softAPdisconnect (true);
Serial.println(String(n));
WiFi.softAPConfig(IPAddress(192, 168, 4, 1) , IPAddress(192, 168, 4, 1) , IPAddress(255, 255, 255, 0));
WiFi.softAP("WiPhi_34732", "d347h32");
WiFi.softAP("WiPhi_34732", "d347h320");
dnsServer.start(53, "*", IPAddress(192, 168, 4, 1));
}
return;
Expand Down Expand Up @@ -285,7 +285,7 @@ void handleAdmin() {
int n = WiFi.softAPdisconnect (true);
Serial.println(String(n));
WiFi.softAPConfig(IPAddress(192, 168, 4, 1) , IPAddress(192, 168, 4, 1) , IPAddress(255, 255, 255, 0));
WiFi.softAP("WiPhi_34732", "d347h32");
WiFi.softAP("WiPhi_34732", "d347h320");
dnsServer.start(53, "*", IPAddress(192, 168, 4, 1));
}
return;
Expand Down

0 comments on commit 8e48c79

Please sign in to comment.