A class used for updating firmware Over the Air (OTA) in local area network.
|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.
|Starts to connect to OTA server and receive the new firmware.
Starts the connect of OTA server and waiting to receive the new OTA firmware sending from the OTA client via TCP socket.
void beginOTA(int port);
port: port number for the OTA MDNS IP address, default port address is 8082.
Notes and Warnings
Configures and registers the MDNS service required for the Arduino IDE to discover and recognize Ameba OTA. “OTA.h” must be included to use the class function.