W5500 driver for mbed OS 5
Dependents: http-webserver-example mbed-os-example-sockets
Fork of W5500Interface by
Diff: W5500Interface.h
- Revision:
- 16:380b4a629c4f
- Parent:
- 12:3a5f5b5ae5f8
- Child:
- 17:60f75e78f35d
--- a/W5500Interface.h Mon Aug 13 09:26:21 2018 +0000 +++ b/W5500Interface.h Tue Aug 14 01:02:27 2018 +0000 @@ -129,6 +129,8 @@ //using NetworkInterface::gethostbyname; virtual nsapi_error_t gethostbyname(const char *host, SocketAddress *address, nsapi_version_t version = NSAPI_UNSPEC); + + int IPrenew(int timeout_ms = 15*1000); protected: /** Opens a socket @@ -318,6 +320,7 @@ void init_socks(); DHCPClient dhcp; + bool _dhcp_enable; DNSClient dns; /* Thread *_daemon;