Merge pull request #410 from mc-hamster/master

Completed Software AP and basic Captive Portal
This commit is contained in:
Jm Casler 2020-09-18 18:20:27 -07:00 committed by GitHub
commit 6f753799fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -52,6 +52,7 @@ void initWifi()
const char *wifiName = radioConfig.preferences.wifi_ssid;
const char *wifiPsw = radioConfig.preferences.wifi_password;
/*
if (1) {
radioConfig.preferences.wifi_ap_mode = 1;
strcpy(radioConfig.preferences.wifi_ssid, "MeshTest2");
@ -61,7 +62,7 @@ void initWifi()
strcpy(radioConfig.preferences.wifi_ssid, "meshtastic");
strcpy(radioConfig.preferences.wifi_password, "meshtastic!");
}
*/
if (*wifiName && *wifiPsw) {
if (radioConfig.preferences.wifi_ap_mode) {

View File

@ -13,6 +13,4 @@ void initWifi();
void deinitWifi();
bool isWifiAvailable();
void WiFiEvent(WiFiEvent_t event);
void handleDNSResponse();