wireless
Dependencies: Socket lwip-eth lwip-sys lwip
Dependents: USBHost-MSD_Sensors_1 IOT-GPS-SMS Application-SimpleSMTPClient_HelloWorld IOT_HW_5_websockets
Fork of EthernetInterface by
Diff: EthernetInterface.h
- 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