Modified for W5500 Ethernet initialize
Fork of GMMP_mbed by
ErrorCode/OMPErrorCode.h@3:6b4536e1962f, 2015-08-12 (annotated)
- Committer:
- hkjung
- Date:
- Wed Aug 12 02:13:34 2015 +0000
- Revision:
- 3:6b4536e1962f
- Parent:
- 0:7e575e5f88ec
Modified for W5500 Ethernet initialize
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lesmin | 0:7e575e5f88ec | 1 | /** OMP에서 제공하는 에러코드 |
lesmin | 0:7e575e5f88ec | 2 | * @file OMPErrorCode.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 | |
lesmin | 0:7e575e5f88ec | 8 | #ifndef OMPERRORCODE_H_ |
lesmin | 0:7e575e5f88ec | 9 | #define OMPERRORCODE_H_ |
lesmin | 0:7e575e5f88ec | 10 | |
lesmin | 0:7e575e5f88ec | 11 | #define STATUS_OK 0x00 |
lesmin | 0:7e575e5f88ec | 12 | #define STATUS_CREATED 0x01 |
lesmin | 0:7e575e5f88ec | 13 | #define STATUS_ACCEPTED 0x02 |
lesmin | 0:7e575e5f88ec | 14 | #define STATUS_BAD_REQUEST 0x03 |
lesmin | 0:7e575e5f88ec | 15 | #define STATUS_PERMISSION_DENIED 0x04 |
lesmin | 0:7e575e5f88ec | 16 | #define STATUS_FORBIDDEN 0x05 |
lesmin | 0:7e575e5f88ec | 17 | #define STATUS_NOT_FOUND 0x06 |
lesmin | 0:7e575e5f88ec | 18 | #define STATUS_METHOD_NOT_ALLOWED 0x07 |
lesmin | 0:7e575e5f88ec | 19 | #define STATUS_NOT_ACCEPTABLE 0x08 |
lesmin | 0:7e575e5f88ec | 20 | #define STATUS_REQUEST_TIMEOUT 0x09 |
lesmin | 0:7e575e5f88ec | 21 | #define STATUS_CONFLICT 0x0a |
lesmin | 0:7e575e5f88ec | 22 | #define STATUS_UNSUPPORTED_MEDIA_TYPE 0x0b |
lesmin | 0:7e575e5f88ec | 23 | #define STATUS_INTERNAL_SERVER_ERROR 0x0c |
lesmin | 0:7e575e5f88ec | 24 | #define STATUS_NOT_IMPLEMENTED 0x0d |
lesmin | 0:7e575e5f88ec | 25 | #define STATUS_BAD_GATEWAY 0x0e |
lesmin | 0:7e575e5f88ec | 26 | #define STATUS_SERVICE_UNAVAILABLE 0x0f |
lesmin | 0:7e575e5f88ec | 27 | #define STATUS_GATEWAY_TIMEOUT 0x10 |
lesmin | 0:7e575e5f88ec | 28 | #define STATUS_DELETED 0x11 |
lesmin | 0:7e575e5f88ec | 29 | #define STATUS_EXPIRED 0x12 |
lesmin | 0:7e575e5f88ec | 30 | #define STATUS_SMS_SEND_FAIL 0x13 |
lesmin | 0:7e575e5f88ec | 31 | |
lesmin | 0:7e575e5f88ec | 32 | #define User_Defined_Result_Code_Min 0x80 |
lesmin | 0:7e575e5f88ec | 33 | #define User_Defined_Result_Code_Max 0xff |
lesmin | 0:7e575e5f88ec | 34 | |
lesmin | 0:7e575e5f88ec | 35 | #define STATUS_DB_TIMEOUT 0x81 ///<과부하에 의한 DB Access time out의 경우 |
lesmin | 0:7e575e5f88ec | 36 | #define STATUS_MSPTCP_DISCONNECTED 0x82 ///<MNP와 MSP간의 TCP 소켓이 끊어 졌을 경우 |
lesmin | 0:7e575e5f88ec | 37 | #define STATUS_GMMPTCP_PORT_CLOSED 0x83 ///<단말과 GMMP Listen Port의 TCP연결이 끊어진 경우 |
lesmin | 0:7e575e5f88ec | 38 | #define STAUS_AO_CONTROL_SEND_FAIL 0x84 ///<TCP Always On 제어 전송 실패인 경우 |
lesmin | 0:7e575e5f88ec | 39 | |
lesmin | 0:7e575e5f88ec | 40 | |
lesmin | 0:7e575e5f88ec | 41 | #endif /* OMPERRORCODE_H_ */ |