Merge pull request #718 from fllaca/get_parameters_method

Implements #717:  Added getParameters and getParametersCount methods.
This commit is contained in:
Shawn A
2018-10-03 10:29:45 -05:00
committed by GitHub
7 changed files with 21 additions and 1 deletions
+4
View File
@@ -200,6 +200,10 @@ class WiFiManager
void setSaveConfigCallback( std::function<void()> func );
//adds a custom parameter, returns false on failure
bool addParameter(WiFiManagerParameter *p);
//returns the list of Parameters
WiFiManagerParameter** getParameters();
// returns the Parameters Count
int getParametersCount();
//if this is set, it will exit after config, even if connection is unsuccessful.
void setBreakAfterConfig(boolean shouldBreak);
// if this is set, portal will be blocking and wait until save or exit,