modified by ohneta
Dependents: HelloESP8266Interface_mine
Fork of ESP8266Interface by
Diff: ESP8266Interface.h
- Revision:
- 30:fd77d067f5ab
- Parent:
- 26:6e36dd3cec3f
--- a/ESP8266Interface.h Thu Aug 27 14:32:50 2015 +0000 +++ b/ESP8266Interface.h Tue Nov 10 14:46:06 2015 +0000 @@ -74,12 +74,16 @@ virtual SocketInterface *allocateSocket(socket_protocol_t socketProtocol) ; virtual int deallocateSocket(SocketInterface *socket) ; void getHostByName(const char *name, char* hostIP); + + void setPreferredDns(const char *preferredDnsIP); private: ESP8266 esp8266; static const int numSockets = 5; int availableID[numSockets]; char ip[100]; + + const char* preferred_dnsip; }; #endif