MCPcopy Create free account
hub / github.com/UtilitechAS/amsreader-firmware / wifiTestStart

Method wifiTestStart

lib/SvelteUi/src/AmsWebServer.cpp:2919–2932  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2917}
2918
2919void AmsWebServer::wifiTestStart() {
2920 if(!checkSecurity(1))
2921 return;
2922
2923 if(WiFi.getMode() == WIFI_AP_STA) {
2924 wifiTestStarted = millis();
2925 String ssid = server.arg(F("ssid"));
2926 String psk = server.arg(F("psk"));
2927 WiFi.begin(ssid, psk);
2928 wifiTestInProgress = true;
2929 wifiTestStatusCode = 0;
2930 }
2931 wifiTestStatus();
2932}
2933
2934void AmsWebServer::wifiTestStatus() {
2935 if(!checkSecurity(1))

Callers

nothing calls this directly

Calls 2

getModeMethod · 0.80
beginMethod · 0.80

Tested by

no test coverage detected