MCPcopy Create free account
hub / github.com/BruceDevices/firmware / isApModeActive

Function isApModeActive

src/modules/wifi/karma_attack.cpp:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35void updateSSIDFrequency(const String &ssid);
36
37static bool isApModeActive() {
38 wifi_mode_t mode = WiFi.getMode();
39 return mode == WIFI_MODE_AP || mode == WIFI_MODE_APSTA;
40}
41
42static bool ensureKarmaApInterface(uint8_t channel) {
43 if (channel < 1 || channel > 14) channel = 1;

Callers 1

ensureKarmaApInterfaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected