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

Revision:
0:7e575e5f88ec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ErrorCode/ErrorCode.h	Sun Aug 09 14:11:35 2015 +0000
@@ -0,0 +1,31 @@
+/** GMMP 라이브러리 에러코드
+ * @file ErrorCode.h
+ * @date 2013/11/21
+ * @version 0.0.0.1
+ **/
+
+#ifndef ERRORCODE_H_
+#define ERRORCODE_H_
+
+//error type define
+#define GMMP_SUCCESS										0
+
+#define GMMP_ERROR_DEFAULT						10000
+#define GMMP_ERROR_UNKWOUN					10001
+#define GMMP_LOG_ERROR_OPEN						10002
+#define GMMP_LOG_ERROR_WRITE					10003
+#define GMMP_LOG_ERROR_CLOSE					10004
+#define GMMP_LOG_NO_WRITE_DATA				10005
+#define GMMP_LOG_LONG_STRING					10006
+#define SERVER_INFO_NOT_FOUND					10007
+#define SERVER_REQUEST_TIMEOUT					10008
+#define SERVER_SOCKET_ERROR						10009
+#define SERVER_CONNECT_ERROR					10010
+#define SERVER_DISCONNECT							10011
+#define LIB_PARAM_ERROR								10012
+#define GMMP_MALLOC_ERROR						10013
+#define GMMP_HEADER_SIZE_ERROR					10014
+
+#define E_WOULDBLOCK                  20000
+
+#endif /* ERRORCODE_H_ */