Static classes, enterprise networks properly handled
This commit is contained in:
@@ -14,6 +14,10 @@ class WiFi {
|
||||
const std::string password, const wifi_auth_mode_t authMode);
|
||||
static bool isConnected();
|
||||
static void scanAndUpdateSSIDList();
|
||||
|
||||
// Helper to check if auth mode requires enterprise credentials
|
||||
static bool isEnterpriseMode(wifi_auth_mode_t authMode);
|
||||
|
||||
private:
|
||||
static void processScanResults();
|
||||
static std::atomic<bool> authFailed;
|
||||
@@ -27,6 +31,4 @@ class WiFi {
|
||||
static std::string getIP();
|
||||
};
|
||||
|
||||
extern WiFi bmWiFi;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user