mbed IP library over Ethernet K64F static IP FIXED
Dependencies: Socket lwip-eth lwip-sys lwip
Fork of EthernetInterface by
Diff: EthernetInterface.h
- Revision:
- 55:ab0511be5528
- Parent:
- 52:f81b90d9a441
--- a/EthernetInterface.h Wed May 11 22:18:04 2016 +0000 +++ b/EthernetInterface.h Mon Oct 24 16:25:18 2016 +0000 @@ -45,7 +45,7 @@ * \param gateway the gateway to use * \return 0 on success, a negative number on failure */ - static int init(const char* ip, const char* mask, const char* gateway); + static int init(const char* ip, const char* mask, const char* gateway, const char * dns = NULL); /** Connect * Bring the interface up, start DHCP if needed.