Anniversary Sale · up to 80% off all librariesEnds Nov 9Shop now
SOFTTDocs

Custom Title

Change the page title of the NetWizard captive portal.

NetWizard Pro feature. This functionality is available only in the commercial edition of NetWizard.

Some browsers and captive-portal windows display the page title of the portal. By default, the title is NetWizard. Use setTitle() to replace it with your product name.

Custom captive portal title

Method

setTitle()

void setTitle(const char* title);
void setTitle(String& title);

Sets the portal title. Call it before autoConnect() or before the portal is started.

void setup() {
  // ...
  NW.setTitle("Acme Thermostat Setup");
  NW.autoConnect("Acme Thermostat", "");
  // ...
}

On this page