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 Eric Jung

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?

UserRevisionLine numberNew contents of line
lesmin 0:7e575e5f88ec 1 /** GMMP 라이브러리 에러코드
lesmin 0:7e575e5f88ec 2 * @file ErrorCode.h
lesmin 0:7e575e5f88ec 3 * @date 2013/11/21
lesmin 0:7e575e5f88ec 4 * @version 0.0.0.1
lesmin 0:7e575e5f88ec 5 **/
lesmin 0:7e575e5f88ec 6
lesmin 0:7e575e5f88ec 7 #ifndef ERRORCODE_H_
lesmin 0:7e575e5f88ec 8 #define ERRORCODE_H_
lesmin 0:7e575e5f88ec 9
lesmin 0:7e575e5f88ec 10 //error type define
lesmin 0:7e575e5f88ec 11 #define GMMP_SUCCESS 0
lesmin 0:7e575e5f88ec 12
lesmin 0:7e575e5f88ec 13 #define GMMP_ERROR_DEFAULT 10000
lesmin 0:7e575e5f88ec 14 #define GMMP_ERROR_UNKWOUN 10001
lesmin 0:7e575e5f88ec 15 #define GMMP_LOG_ERROR_OPEN 10002
lesmin 0:7e575e5f88ec 16 #define GMMP_LOG_ERROR_WRITE 10003
lesmin 0:7e575e5f88ec 17 #define GMMP_LOG_ERROR_CLOSE 10004
lesmin 0:7e575e5f88ec 18 #define GMMP_LOG_NO_WRITE_DATA 10005
lesmin 0:7e575e5f88ec 19 #define GMMP_LOG_LONG_STRING 10006
lesmin 0:7e575e5f88ec 20 #define SERVER_INFO_NOT_FOUND 10007
lesmin 0:7e575e5f88ec 21 #define SERVER_REQUEST_TIMEOUT 10008
lesmin 0:7e575e5f88ec 22 #define SERVER_SOCKET_ERROR 10009
lesmin 0:7e575e5f88ec 23 #define SERVER_CONNECT_ERROR 10010
lesmin 0:7e575e5f88ec 24 #define SERVER_DISCONNECT 10011
lesmin 0:7e575e5f88ec 25 #define LIB_PARAM_ERROR 10012
lesmin 0:7e575e5f88ec 26 #define GMMP_MALLOC_ERROR 10013
lesmin 0:7e575e5f88ec 27 #define GMMP_HEADER_SIZE_ERROR 10014
lesmin 0:7e575e5f88ec 28
lesmin 0:7e575e5f88ec 29 #define E_WOULDBLOCK 20000
lesmin 0:7e575e5f88ec 30
lesmin 0:7e575e5f88ec 31 #endif /* ERRORCODE_H_ */