OpenDevice
Open IoT (Internet Of Things) Platform and Framework http://opendevice.io
od::WiFi Class Reference

Public Member Functions

boolean autoConnect (char const *apPassword=NULL)
 
void setLed (int led, byte ledOffState)
 
void enableAutoSetup (bool mode)
 
void enableServerParams (bool mode)
 

Static Public Member Functions

static void onConfigLoop (bool connected)
 

Detailed Description

Utility class to Configure Wifi and Server parameters. Use WiFiManager to create a Self configuration page

Author
Ricardo JL Rufino
Date
27/06/2018

Member Function Documentation

◆ enableAutoSetup()

void od::WiFi::enableAutoSetup ( bool  mode)

Set to fase, to GoTo setup mode ONLY if RESET pressed Use: ODev.resetPin(RESET_PIN);

◆ enableServerParams()

void od::WiFi::enableServerParams ( bool  mode)

Allow customize Server, ApiKey, DeviceName

◆ onConfigLoop()

void od::WiFi::onConfigLoop ( bool  connected)
static

Called from WiFiManager

◆ setLed()

void od::WiFi::setLed ( int  led,
byte  ledOffState 
)

Set ping used to provide feedback (blink) for setup mode


The documentation for this class was generated from the following files: