Skip to content

Feature proposal: being able to iterate on WifiManagerParameters #717

Closed
@fllaca

Description

@fllaca

I think iterating on WifiManagerParameters could be interesting, in order to make easier the creation of reusable configuration forms, so you could do something like:

JsonObject& json = ...
....
for (int i=0; i<wifimanager.getParametersCount(); i++){
    WiFiManagerParameter parameter = wifimanager.getParameters()[i];
    json[parameter.getId()] = parameter.getValue();
}

// then save the jsonfile into a file
persistJsontoFS(json);

WDYT?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions