EthernetInterface patched with https://github.com/mbedmicro/mbed/commit/8222bde1af2e328e4c58d0f438827f3091e5e0eb

Dependencies:   Socket lwip-eth-ansond-patched lwip-sys lwip-ansond-patched

Dependents:   df-2013-thermostat-handson df-2013-minihack-thermostat-complete df-2013-minihack-thermostat df-2013-thermostat-remotes

Fork of EthernetInterface by mbed official

Revision:
21:8cd2de462559
Parent:
20:0d9ae7845bfe
Child:
23:5d5b40c4378b
--- a/EthernetInterface.h	Wed Aug 01 13:02:38 2012 +0000
+++ b/EthernetInterface.h	Fri Aug 03 14:43:57 2012 +0000
@@ -45,9 +45,10 @@
 
   /** Connect
   * Bring the interface up, start DHCP if needed.
+  * \param   timeout_ms  timeout in ms (default: (3)s).
   * \return 0 on success, a negative number on failure
   */
-  static int connect();
+  static int connect(unsigned int timeout_ms=3000);
   
   /** Disconnect
   * Bring the interface down