|
roo_wifi
API Documentation for roo_wifi
|
Store implementation backed by roo_prefs (ESP32 Arduino preferences). More...
#include <arduino_preferences_store.h>
Public Member Functions | |
| ArduinoPreferencesStore () | |
| void | begin () |
| Initializes the preferences store (no-op placeholder). | |
| bool | getIsInterfaceEnabled () override |
| Returns whether the Wi-Fi interface is enabled. | |
| void | setIsInterfaceEnabled (bool enabled) override |
| Sets whether the Wi-Fi interface is enabled. | |
| std::string | getDefaultSSID () override |
| Returns the default SSID, if any. | |
| void | clearDefaultSSID () override |
| Clears the default SSID. | |
| void | setDefaultSSID (const std::string &ssid) override |
| Sets the default SSID. | |
| bool | getPassword (const std::string &ssid, std::string &password) override |
| Retrieves a stored password for an SSID. | |
| void | setPassword (const std::string &ssid, roo::string_view password) override |
| Stores a password for an SSID. | |
| void | clearPassword (const std::string &ssid) override |
| Clears a stored password for an SSID. | |
Store implementation backed by roo_prefs (ESP32 Arduino preferences).
Definition at line 9 of file arduino_preferences_store.h.
| roo_wifi::ArduinoPreferencesStore::ArduinoPreferencesStore | ( | ) |
Definition at line 32 of file arduino_preferences_store.cpp.
|
inline |
Initializes the preferences store (no-op placeholder).
Definition at line 14 of file arduino_preferences_store.h.
|
overridevirtual |
Clears the default SSID.
Implements roo_wifi::Store.
Definition at line 53 of file arduino_preferences_store.cpp.
|
overridevirtual |
Clears a stored password for an SSID.
Implements roo_wifi::Store.
Definition at line 74 of file arduino_preferences_store.cpp.
|
overridevirtual |
Returns the default SSID, if any.
Implements roo_wifi::Store.
Definition at line 45 of file arduino_preferences_store.cpp.
|
overridevirtual |
Returns whether the Wi-Fi interface is enabled.
Implements roo_wifi::Store.
Definition at line 37 of file arduino_preferences_store.cpp.
|
overridevirtual |
Retrieves a stored password for an SSID.
Implements roo_wifi::Store.
Definition at line 58 of file arduino_preferences_store.cpp.
|
overridevirtual |
Sets the default SSID.
Implements roo_wifi::Store.
Definition at line 49 of file arduino_preferences_store.cpp.
|
overridevirtual |
Sets whether the Wi-Fi interface is enabled.
Implements roo_wifi::Store.
Definition at line 41 of file arduino_preferences_store.cpp.
|
overridevirtual |
Stores a password for an SSID.
Implements roo_wifi::Store.
Definition at line 66 of file arduino_preferences_store.cpp.