ArduinoOTAClass¶
詳細情報¶
メンバー¶
ArduinoOTAClass()¶
ArduinoOTAClass::ArduinoOTAClass()
~ArduinoOTAClass()¶
ArduinoOTAClass::~ArduinoOTAClass()
setPort()¶
ArduinoOTAClass & ArduinoOTAClass::setPort(uint16_t port)
引数
- uint16_t
port
戻り値
ArduinoOTAClass&
setHostname()¶
ArduinoOTAClass & ArduinoOTAClass::setHostname(const char *hostname)
引数
- constchar *
hostname
戻り値
ArduinoOTAClass&
getHostname()¶
String ArduinoOTAClass::getHostname()
戻り値
String
setPassword()¶
ArduinoOTAClass & ArduinoOTAClass::setPassword(const char *password)
引数
- constchar *
password
戻り値
ArduinoOTAClass&
setPasswordHash()¶
ArduinoOTAClass & ArduinoOTAClass::setPasswordHash(const char *password)
引数
- constchar *
password
戻り値
ArduinoOTAClass&
setRebootOnSuccess()¶
ArduinoOTAClass & ArduinoOTAClass::setRebootOnSuccess(bool reboot)
引数
- bool
reboot
戻り値
ArduinoOTAClass&
setMdnsEnabled()¶
ArduinoOTAClass & ArduinoOTAClass::setMdnsEnabled(bool enabled)
引数
- bool
enabled
戻り値
ArduinoOTAClass&
onStart()¶
ArduinoOTAClass & ArduinoOTAClass::onStart(THandlerFunction fn)
引数
- THandlerFunction
fn
戻り値
ArduinoOTAClass&
onEnd()¶
ArduinoOTAClass & ArduinoOTAClass::onEnd(THandlerFunction fn)
引数
- THandlerFunction
fn
戻り値
ArduinoOTAClass&
onError()¶
ArduinoOTAClass & ArduinoOTAClass::onError(THandlerFunction_Error fn)
引数
- THandlerFunction_Error
fn
戻り値
ArduinoOTAClass&
onProgress()¶
ArduinoOTAClass & ArduinoOTAClass::onProgress(THandlerFunction_Progress fn)
引数
- THandlerFunction_Progress
fn
戻り値
ArduinoOTAClass&
begin()¶
void ArduinoOTAClass::begin()
end()¶
void ArduinoOTAClass::end()
handle()¶
void ArduinoOTAClass::handle()
getCommand()¶
int ArduinoOTAClass::getCommand()
戻り値
int
setTimeout()¶
void ArduinoOTAClass::setTimeout(int timeoutInMillis)
引数
- int
timeoutInMillis