mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-03 03:09:59 +00:00
Merge pull request #410 from mc-hamster/master
Completed Software AP and basic Captive Portal
This commit is contained in:
commit
6f753799fd
@ -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