83 return !mSsid.isEmpty();
CBORObject & put(int key, int value)
Put an integer value at a specific integer key.
Definition CBORObject.h:170
String getString(int key) const
Get a string value at a specific integer key.
Definition CBORObject.h:419
virtual bool restore() override
Restore the CBOR object from the filesystem.
Definition CBORStorage.h:92
virtual bool clean() override
Clean the CBOR object and remove the storage file.
Definition CBORStorage.h:110
virtual bool store() override
Store the CBOR object to the filesystem.
Definition CBORStorage.h:74
CBORStorage(const String &path)
Constructs a new CBORStorage object.
Definition CBORStorage.h:46
CBORObject & object()
Get access to the underlying CBORObject.
Definition CBORStorage.h:60
virtual bool restore() override
Restore WiFi credentials from persistent storage.
Definition WifiStorage.h:108
bool isCredentialsValid()
Check if stored credentials are valid.
Definition WifiStorage.h:82
WifiStorage()
Construct a new WifiStorage object.
Definition WifiStorage.h:41
void setCredentials(const String &ssid, const String &password)
Set WiFi credentials.
Definition WifiStorage.h:68
const String & getSsid() const
Get the stored WiFi SSID.
Definition WifiStorage.h:49
virtual bool clean() override
Clear stored WiFi credentials.
Definition WifiStorage.h:125
const String & getPassword() const
Get the stored WiFi password.
Definition WifiStorage.h:58
virtual bool store() override
Store WiFi credentials to persistent storage.
Definition WifiStorage.h:94
Contains all classes and functions related to the Uniot Core.