1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-13 13:01:55 +03:00

allow setting the host name of AP interface

This commit is contained in:
Markus Sattler
2015-07-04 10:00:27 +02:00
parent 6a329c0562
commit 36a4131f35
2 changed files with 32 additions and 0 deletions

View File

@ -300,6 +300,19 @@ public:
*/
int hostByName(const char* aHostname, IPAddress& aResult);
/*
* Get ESP8266 station DHCP hostname
*/
String hostname(void);
/*
* Set ESP8266 station DHCP hostname
* hostname, max length:32
*/
bool hostname(char* aHostname);
bool hostname(const char* aHostname);
bool hostname(String aHostname);
/*
* Output WiFi settings to an object derived from Print interface (like Serial).
*