Ken Van Hoeylandt 103588948f
Implement forgetting WiFi APs (#116)
.. and fix the simulator build
2024-12-09 23:37:21 +01:00

28 lines
423 B
C++

#ifndef ESP_TARGET
#include "WifiSettings.h"
#include "Log.h"
namespace tt::service::wifi::settings {
#define TAG "wifi_settings_mock"
bool contains(const char* ssid) {
return false;
}
bool load(const char* ssid, WifiApSettings* settings) {
return false;
}
bool save(const WifiApSettings* settings) {
return true;
}
bool remove(const char* ssid) {
return true;
}
} // namespace
#endif // ESP_TARGET