Skip to content

Commit

Permalink
Merge pull request #481 from 0xchocolate/develop
Browse files Browse the repository at this point in the history
Fix Portal to prompt for sign-in on Android
  • Loading branch information
justcallmekoko authored Feb 13, 2024
2 parents 4c9adac + 23015fe commit c7f1b5c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions esp32_marauder/EvilPortal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,13 @@ bool EvilPortal::setAP(LinkedList<ssid>* ssids, LinkedList<AccessPoint>* access_
}

void EvilPortal::startAP() {
const IPAddress AP_IP(172, 0, 0, 1);

Serial.print("starting ap ");
Serial.println(apName);

WiFi.mode(WIFI_AP);
WiFi.softAPConfig(AP_IP, AP_IP, IPAddress(255, 255, 255, 0));
WiFi.softAP(apName);

#ifdef HAS_SCREEN
Expand Down

0 comments on commit c7f1b5c

Please sign in to comment.