|
ESP8266
|
Public Member Functions | |
| ArduinoOTAClass () | |
| ~ArduinoOTAClass () | |
| void | setPort (uint16_t port) |
| void | setHostname (const char *hostname) |
| void | setPassword (const char *password) |
| void | onStart (void(*fn)()) |
| void | onEnd (void(*fn)()) |
| void | onProgress (void(*fn)(unsigned int, unsigned int)) |
| void | onError (void(*fn)(ota_error_t)) |
| void | begin () |
| void | handle () |
Private Member Functions | |
| void | _runUpdate (void) |
| void | _onRx (void) |
| int | parseInt (void) |
| String | readStringUntil (char end) |
Private Attributes | |
| int | _port |
| String | _password |
| String | _hostname |
| String | _nonce |
| UdpContext * | _udp_ota |
| bool | _initialized |
| ota_state_t | _state |
| int | _size |
| int | _cmd |
| int | _ota_port |
| IPAddress | _ota_ip |
| String | _md5 |
| void(* | _start_callback )() |
| void(* | _end_callback )() |
| void(* | _error_callback )(ota_error_t) |
| void(* | _progress_callback )(unsigned int, unsigned int) |
| ArduinoOTAClass::ArduinoOTAClass | ( | ) |
| ArduinoOTAClass::~ArduinoOTAClass | ( | ) |
|
private |
|
private |
| void ArduinoOTAClass::begin | ( | ) |
| void ArduinoOTAClass::handle | ( | ) |
| void ArduinoOTAClass::onEnd | ( | void(*)() | fn | ) |
| void ArduinoOTAClass::onError | ( | void(*)(ota_error_t) | fn | ) |
| void ArduinoOTAClass::onProgress | ( | void(*)(unsigned int, unsigned int) | fn | ) |
| void ArduinoOTAClass::onStart | ( | void(*)() | fn | ) |
|
private |
|
private |
| void ArduinoOTAClass::setHostname | ( | const char * | hostname | ) |
| void ArduinoOTAClass::setPassword | ( | const char * | password | ) |
| void ArduinoOTAClass::setPort | ( | uint16_t | port | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.10