Eric Jung / GMMP_mbed_Ethernet_Reinit

Dependents:   ThingPlug_Ethernet_Example

Fork of GMMP_mbed by Eric Jung

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers OMPErrorCode.h Source File

OMPErrorCode.h

Go to the documentation of this file.
00001 /** OMP에서 제공하는 에러코드
00002  * @file OMPErrorCode.h
00003  * @date 2013/11/21
00004  * @version 0.0.0.1
00005  **/
00006 
00007 
00008 #ifndef OMPERRORCODE_H_
00009 #define OMPERRORCODE_H_
00010 
00011 #define STATUS_OK                                                           0x00
00012 #define STATUS_CREATED                                                  0x01
00013 #define STATUS_ACCEPTED                                             0x02
00014 #define STATUS_BAD_REQUEST                                          0x03
00015 #define STATUS_PERMISSION_DENIED                                0x04
00016 #define STATUS_FORBIDDEN                                                0x05
00017 #define STATUS_NOT_FOUND                                            0x06
00018 #define STATUS_METHOD_NOT_ALLOWED                           0x07
00019 #define STATUS_NOT_ACCEPTABLE                                   0x08
00020 #define STATUS_REQUEST_TIMEOUT                                  0x09
00021 #define STATUS_CONFLICT                                             0x0a
00022 #define STATUS_UNSUPPORTED_MEDIA_TYPE                       0x0b
00023 #define STATUS_INTERNAL_SERVER_ERROR                        0x0c
00024 #define STATUS_NOT_IMPLEMENTED                                  0x0d
00025 #define STATUS_BAD_GATEWAY                                          0x0e
00026 #define STATUS_SERVICE_UNAVAILABLE                              0x0f
00027 #define STATUS_GATEWAY_TIMEOUT                                  0x10
00028 #define STATUS_DELETED                                                  0x11
00029 #define STATUS_EXPIRED                                                  0x12
00030 #define STATUS_SMS_SEND_FAIL                                        0x13
00031 
00032 #define User_Defined_Result_Code_Min                                0x80
00033 #define User_Defined_Result_Code_Max                            0xff
00034 
00035 #define STATUS_DB_TIMEOUT                                           0x81    ///<과부하에 의한 DB Access time out의 경우
00036 #define STATUS_MSPTCP_DISCONNECTED                          0x82    ///<MNP와 MSP간의 TCP 소켓이 끊어 졌을 경우
00037 #define STATUS_GMMPTCP_PORT_CLOSED                          0x83    ///<단말과 GMMP Listen Port의 TCP연결이 끊어진 경우
00038 #define STAUS_AO_CONTROL_SEND_FAIL                          0x84    ///<TCP Always On 제어 전송 실패인 경우
00039 
00040 
00041 #endif /* OMPERRORCODE_H_ */