mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-14 23:21:31 +10:00
Added getParameters and getParametersCount methods.
Useful for iterating over WiFiManager parameter list
This commit is contained in:
@@ -150,6 +150,22 @@ bool WiFiManager::addParameter(WiFiManagerParameter *p) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* [getParameters description]
|
||||
* @access public
|
||||
*/
|
||||
WiFiManagerParameter** WiFiManager::getParameters() {
|
||||
return _params;
|
||||
}
|
||||
|
||||
/**
|
||||
* [getParametersCount description]
|
||||
* @access public
|
||||
*/
|
||||
int WiFiManager::getParametersCount() {
|
||||
return _paramsCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------------
|
||||
* WiFiManager
|
||||
|
||||
Reference in New Issue
Block a user