From 4d72afebe6aed06711fb83496f58d0769367fbc3 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Fri, 18 Sep 2020 18:16:58 -0700 Subject: [PATCH] Soft AP and basic captive portal done. --- src/meshwifi/meshwifi.cpp | 3 ++- src/meshwifi/meshwifi.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/meshwifi/meshwifi.cpp b/src/meshwifi/meshwifi.cpp index 3e8af00d..f395ff7b 100644 --- a/src/meshwifi/meshwifi.cpp +++ b/src/meshwifi/meshwifi.cpp @@ -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) { diff --git a/src/meshwifi/meshwifi.h b/src/meshwifi/meshwifi.h index facff0a1..44fff707 100644 --- a/src/meshwifi/meshwifi.h +++ b/src/meshwifi/meshwifi.h @@ -13,6 +13,4 @@ void initWifi(); void deinitWifi(); bool isWifiAvailable(); -void WiFiEvent(WiFiEvent_t event); - void handleDNSResponse();