FUNCTIONAL Update from mbed v49: Add APIs for setName/getName so device is name addressible. Also APIs for getting link stats. Also, minor derivative to reduce compiler warnings and tag read-only parameters as const.
Dependencies: Socket lwip-eth lwip-sys lwip
Dependents: WattEye X10Svr SSDP_Server
Fork of EthernetInterface by
Diff: EthernetInterface.h
- Revision:
- 30:4d7d7dc8485f
- Parent:
- 27:2124eae946f3
- Child:
- 35:cba86db5ab96
--- a/EthernetInterface.h Tue May 14 13:46:34 2013 +0000 +++ b/EthernetInterface.h Thu May 30 17:16:22 2013 +0100 @@ -20,7 +20,7 @@ #ifndef ETHERNETINTERFACE_H_ #define ETHERNETINTERFACE_H_ -#if !defined(TARGET_LPC1768) +#if !defined(TARGET_LPC1768) && !defined(TARGET_LPC4088) #error The Ethernet Interface library is supported only on the mbed NXP LPC1768 #endif @@ -49,7 +49,7 @@ /** Connect * Bring the interface up, start DHCP if needed. - * \param timeout_ms timeout in ms (default: (10)s). + * \param timeout_ms timeout in ms (default: (15)s). * \return 0 on success, a negative number on failure */ static int connect(unsigned int timeout_ms=15000);