Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ESP8266Interface by
Diff: ESP8266Interface.h
- Branch:
- api-changes
- Revision:
- 38:eb1e46561a19
- Parent:
- 36:3d55c7187e34
- Child:
- 40:83c6b4129468
--- a/ESP8266Interface.h Tue Feb 23 01:31:42 2016 -0600 +++ b/ESP8266Interface.h Tue Feb 23 04:02:07 2016 -0600 @@ -34,8 +34,7 @@ virtual int32_t connect( const char *ssid, const char *pass, - wifi_security_t security = WI_NONE, - uint32_t timeout_ms = 15000); + wifi_security_t security = WI_NONE); virtual int32_t disconnect(); @@ -43,6 +42,8 @@ virtual const char *getIPAddress(); virtual const char *getMACAddress(); + virtual void setTimeout(uint32_t timeout); + virtual SocketInterface *createSocket(socket_protocol_t proto); virtual void destroySocket(SocketInterface *socket);