◆ addEeFields()
void OmOtaClass::addEeFields |
( |
OmEeprom & |
ee | ) |
|
Must be called before ee.begin, if you're using OmEeprome
◆ addUpdateControl()
void OmOtaClass::addUpdateControl |
( |
OmWebPages & |
p | ) |
|
Add an update control to the current page in progress
◆ getIpAddress()
const char * OmOtaClass::getIpAddress |
( |
| ) |
|
will return a printable IP Address String only after OSS_WIFI_CONNECT has happened
◆ loop()
bool OmOtaClass::loop |
( |
| ) |
|
Call at the beginning of your loop() function. If it returns true, skip the rest of your loop (Any work needed to update displays during setup and upload and such must be handled in your statusProc)
◆ rebootToOta()
void OmOtaClass::rebootToOta |
( |
| ) |
|
Call this to reboot, right now, into update mode. (The next boot after this won't be in ota mode.)
◆ setup()
bool OmOtaClass::setup |
( |
const char * |
wifiSsid, |
|
|
const char * |
wifiPassword, |
|
|
const char * |
wifiBonjour = NULL , |
|
|
OtaStatusProc |
statusProc = NULL |
|
) |
| |
If returns true, skip the rest of your own setup. Uses the ee you passed, or hijacks the whole Eeprom if you didnt.
The documentation for this class was generated from the following files: