Modified for W5500 Ethernet initialize Added the Ethernet interface re-initialize code Added the connection retry
Dependents: ThingPlug_Ethernet_Example
Fork of GMMP_mbed by
Network/TCPclient/Utility.h@5:9bbb6933559b, 2015-08-12 (annotated)
- Committer:
- hkjung
- Date:
- Wed Aug 12 08:58:58 2015 +0000
- Revision:
- 5:9bbb6933559b
- Parent:
- 0:7e575e5f88ec
Ethernet interface reinitialize code added
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lesmin | 0:7e575e5f88ec | 1 | #ifndef UTILITY_H_ |
lesmin | 0:7e575e5f88ec | 2 | #define UTILITY_H_ |
lesmin | 0:7e575e5f88ec | 3 | |
lesmin | 0:7e575e5f88ec | 4 | #include "mbed.h" |
lesmin | 0:7e575e5f88ec | 5 | #include <string.h> |
lesmin | 0:7e575e5f88ec | 6 | |
lesmin | 0:7e575e5f88ec | 7 | #ifdef __cplusplus |
lesmin | 0:7e575e5f88ec | 8 | extern "C" { |
lesmin | 0:7e575e5f88ec | 9 | #endif |
lesmin | 0:7e575e5f88ec | 10 | |
lesmin | 0:7e575e5f88ec | 11 | void delay(int ms); |
lesmin | 0:7e575e5f88ec | 12 | char* strdup(const char* s); |
lesmin | 0:7e575e5f88ec | 13 | |
lesmin | 0:7e575e5f88ec | 14 | #ifdef __cplusplus |
lesmin | 0:7e575e5f88ec | 15 | } |
lesmin | 0:7e575e5f88ec | 16 | #endif |
lesmin | 0:7e575e5f88ec | 17 | |
lesmin | 0:7e575e5f88ec | 18 | #endif |