mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
Add ArduinoOTA::getHostname() interface
This commit is contained in:
@ -77,6 +77,10 @@ void ArduinoOTAClass::setHostname(const char * hostname) {
|
||||
}
|
||||
}
|
||||
|
||||
String ArduinoOTAClass::getHostname() {
|
||||
return _hostname;
|
||||
}
|
||||
|
||||
void ArduinoOTAClass::setPassword(const char * password) {
|
||||
if (!_initialized && !_password.length() && password) {
|
||||
_password = password;
|
||||
|
Reference in New Issue
Block a user