Class OTA
OTA Class
Description
A class used for updating firmware Over the Air (OTA) in local area network.
Syntax
class OTA
Members
Public Constructors |
|
---|---|
A public constructor should not be used as this class is intended to be a singleton class. Access member functions using the object instance named OTA. |
|
Public Methods |
|
OTA::start_OTA_threads |
To begin threading tasks for OTA firmware update. |
OTA::start_OTA_threads
Description
To begin threading tasks for OTA firmware update.
Syntax
void start_OTA_threads(int port, char* server);
Parameters
port: port number for the OTA HTTP server IP address
*server: pointer for OTA HTTP server IP address
Returns
NA
Example Code
Example: OTA
Note
“OTA.h” must be included to use the function.