mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
Wifi configuration from NVS
This commit is contained in:
@@ -14,9 +14,17 @@ public:
|
||||
|
||||
static uint16_t get_module_id();
|
||||
static ModuleType get_module_type();
|
||||
static std::string get_wifi_ssid();
|
||||
static std::string get_wifi_password();
|
||||
|
||||
static void set_module_id(uint16_t id);
|
||||
static void set_module_type(ModuleType type);
|
||||
static void set_wifi_ssid(const char* ssid);
|
||||
static void set_wifi_password(const char* password);
|
||||
|
||||
private:
|
||||
static std::string get_string(const char* key);
|
||||
|
||||
};
|
||||
|
||||
#endif //CONFIGMANAGER_H
|
||||
|
||||
Reference in New Issue
Block a user