Statistics (Pro)
Setup Statistics
Pro Feature
This is an exclusive feature of NetWizard Pro. Check it out here.
NetWizard Pro comes with Statistics
module which lets you show key-value pairs in the captive portal. These are quite essential when you want to add your own application specific data to captive portal.
All the statistics are added sequentially to the config page and you can add as many statistics as you want.
API Reference
Initialization
NetWizard NW(&server);
NetWizardStatistic nw_stat(&NW, "Label", "Value"); // <-- add this line here
void setup() {
...
}
void loop() {
...
}
Setters
nw_stat.setLabel("Label");
nw_stat.setValue("Value");