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@0:7e575e5f88ec, 2015-08-09 (annotated)
- Committer:
- lesmin
- Date:
- Sun Aug 09 14:11:35 2015 +0000
- Revision:
- 0:7e575e5f88ec
forked from GMMP
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 |