mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-14 09:02:14 +00:00
Soft AP and basic captive portal done.
This commit is contained in:
parent
b1643e6036
commit
4d72afebe6
@ -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) {
|
||||
|
@ -13,6 +13,4 @@ void initWifi();
|
||||
void deinitWifi();
|
||||
bool isWifiAvailable();
|
||||
|
||||
void WiFiEvent(WiFiEvent_t event);
|
||||
|
||||
void handleDNSResponse();
|
||||
|
Loading…
Reference in New Issue
Block a user