Links (Pro)
Setup Links
Pro Feature
This is an exclusive feature of NetWizard Pro. Check it out here.
NetWizard Pro comes with Links
module which lets you add buttons in the captive portal that redirect to other pages in AP mode. Use links to redirect the user to for example ElegantOTA portal or your own application's AP mode webpage.
All the links are added sequentially to the config page in between Setup
& Exit
buttons. You can add as many links as you want.
API Reference
Initialization
NetWizard NW(&server);
NetWizardLink nw_link(&NW, "Firmware Update", "/update"); // <-- add this line here
void setup() {
...
}
void loop() {
...
}
Setters
nw_link.setLabel("Label");
nw_link.setURL("/update");