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:
Alex Tudorache
2016-01-18 11:20:15 +02:00
parent e2bbd527d1
commit 13fa4ffa3a
4 changed files with 265 additions and 22 deletions
+8 -8
View File
@@ -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;
};