mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-21 18:22:37 +10:00
added example on how to save static ip to FS config.json
added static ip to config portal, if set
This commit is contained in:
+8
-8
@@ -40,15 +40,15 @@ class WiFiManagerParameter {
|
||||
public:
|
||||
WiFiManagerParameter(const char *id, const char *placeholder, const char *defaultValue, int length);
|
||||
|
||||
const char* getID();
|
||||
const char* getValue();
|
||||
const char* getPlaceholder();
|
||||
int getValueLength();
|
||||
const char *getID();
|
||||
const char *getValue();
|
||||
const char *getPlaceholder();
|
||||
int getValueLength();
|
||||
private:
|
||||
const char* _id;
|
||||
const char* _placeholder;
|
||||
char* _value;
|
||||
int _length;
|
||||
const char *_id;
|
||||
const char *_placeholder;
|
||||
char *_value;
|
||||
int _length;
|
||||
|
||||
friend class WiFiManager;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user