Modified for W5500 Ethernet initialize
Fork of GMMP_mbed by
Operation/Reg/Struct_DeReg_GW.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 | /** GMMP Operation 중 GW DeRegistration 명령에 사용되는 구조체 |
lesmin | 0:7e575e5f88ec | 2 | * @date 2013/11/21 |
lesmin | 0:7e575e5f88ec | 3 | * @version 0.0.0.1 |
lesmin | 0:7e575e5f88ec | 4 | * @file Struct_DeReg_GW.h |
lesmin | 0:7e575e5f88ec | 5 | **/ |
lesmin | 0:7e575e5f88ec | 6 | |
lesmin | 0:7e575e5f88ec | 7 | #ifndef STRUCT_DEREG_GW_H_ |
lesmin | 0:7e575e5f88ec | 8 | #define STRUCT_DEREG_GW_H_ |
lesmin | 0:7e575e5f88ec | 9 | |
lesmin | 0:7e575e5f88ec | 10 | #include "Define.h" |
lesmin | 0:7e575e5f88ec | 11 | #include "Struct_Common.h" |
lesmin | 0:7e575e5f88ec | 12 | |
lesmin | 0:7e575e5f88ec | 13 | #pragma pack(1) |
lesmin | 0:7e575e5f88ec | 14 | /** |
lesmin | 0:7e575e5f88ec | 15 | * @struct stGwDeRegistrationReqHdr |
lesmin | 0:7e575e5f88ec | 16 | * @brief GMMP TCP Packet 구조 중 Request 수행 시 Message Header와 Message Body 영역 |
lesmin | 0:7e575e5f88ec | 17 | * OMP에서 GW DeRegistration 메시지를 OMP에 전송한다. |
lesmin | 0:7e575e5f88ec | 18 | */ |
lesmin | 0:7e575e5f88ec | 19 | typedef struct { |
lesmin | 0:7e575e5f88ec | 20 | /** |
lesmin | 0:7e575e5f88ec | 21 | *@var usDomainCode |
lesmin | 0:7e575e5f88ec | 22 | *@brief 서비스 영역별 구분 코드\n |
lesmin | 0:7e575e5f88ec | 23 | - AlphaNumeric : 문자,숫자 조합, 특수문자제외, SPACE 허용 안하며 빈자리는 0x00(NULL)로 채운다.\n |
lesmin | 0:7e575e5f88ec | 24 | */ |
lesmin | 0:7e575e5f88ec | 25 | /** |
lesmin | 0:7e575e5f88ec | 26 | *@var usGWID |
lesmin | 0:7e575e5f88ec | 27 | *@brief M2M GW ID |
lesmin | 0:7e575e5f88ec | 28 | */ |
lesmin | 0:7e575e5f88ec | 29 | U8 usDomainCode[LEN_DOMAIN_CODE]; |
lesmin | 0:7e575e5f88ec | 30 | U8 usGWID[LEN_GW_ID]; |
lesmin | 0:7e575e5f88ec | 31 | }stGwDeRegistrationReqHdr; //GW Registration Request |
lesmin | 0:7e575e5f88ec | 32 | |
lesmin | 0:7e575e5f88ec | 33 | /** |
lesmin | 0:7e575e5f88ec | 34 | * @struct stGwDeRegistrationRspHdr |
lesmin | 0:7e575e5f88ec | 35 | * @brief GMMP TCP Packet 구조 중 Response 수행 시 Message Header와 Message Body 영역 |
lesmin | 0:7e575e5f88ec | 36 | * OMP에서 GW DeRegistration 메시지를 OMP에 수신한다. |
lesmin | 0:7e575e5f88ec | 37 | */ |
lesmin | 0:7e575e5f88ec | 38 | typedef struct { |
lesmin | 0:7e575e5f88ec | 39 | /** |
lesmin | 0:7e575e5f88ec | 40 | *@var usDomainCode |
lesmin | 0:7e575e5f88ec | 41 | *@brief 서비스 영역별 구분 코드\n |
lesmin | 0:7e575e5f88ec | 42 | - AlphaNumeric : 문자,숫자 조합, 특수문자제외, SPACE 허용 안하며 빈자리는 0x00(NULL)로 채운다.\n |
lesmin | 0:7e575e5f88ec | 43 | */ |
lesmin | 0:7e575e5f88ec | 44 | /** |
lesmin | 0:7e575e5f88ec | 45 | *@var usGWID |
lesmin | 0:7e575e5f88ec | 46 | *@brief M2M GW ID |
lesmin | 0:7e575e5f88ec | 47 | */ |
lesmin | 0:7e575e5f88ec | 48 | /** |
lesmin | 0:7e575e5f88ec | 49 | *@var ucResultCode |
lesmin | 0:7e575e5f88ec | 50 | *@brief Result Code (0x00 : Success, other : Fail Reason) @ref OMPErrorCode.h 참조 |
lesmin | 0:7e575e5f88ec | 51 | */ |
lesmin | 0:7e575e5f88ec | 52 | U8 usDomainCode[LEN_DOMAIN_CODE]; |
lesmin | 0:7e575e5f88ec | 53 | U8 usGWID[LEN_GW_ID]; |
lesmin | 0:7e575e5f88ec | 54 | U8 ucResultCode; |
lesmin | 0:7e575e5f88ec | 55 | }stGwDeRegistrationRspHdr; //GW Registration Response |
lesmin | 0:7e575e5f88ec | 56 | |
lesmin | 0:7e575e5f88ec | 57 | /** |
lesmin | 0:7e575e5f88ec | 58 | * @struct GwDeRegist_Req |
lesmin | 0:7e575e5f88ec | 59 | * @brief GMMP TCP Packet 구조 중 Request GW DeRegist 구조체 |
lesmin | 0:7e575e5f88ec | 60 | * OMP에 Request GW DeRegist 데이터 전송한다. |
lesmin | 0:7e575e5f88ec | 61 | */ |
lesmin | 0:7e575e5f88ec | 62 | typedef struct { |
lesmin | 0:7e575e5f88ec | 63 | /** |
lesmin | 0:7e575e5f88ec | 64 | *@var header |
lesmin | 0:7e575e5f88ec | 65 | *@brief @ref GMMPHeader 참조 |
lesmin | 0:7e575e5f88ec | 66 | */ |
lesmin | 0:7e575e5f88ec | 67 | /** |
lesmin | 0:7e575e5f88ec | 68 | *@var body |
lesmin | 0:7e575e5f88ec | 69 | *@brief @ref stGwDeRegistrationReqHdr 참조 |
lesmin | 0:7e575e5f88ec | 70 | */ |
lesmin | 0:7e575e5f88ec | 71 | GMMPHeader header; |
lesmin | 0:7e575e5f88ec | 72 | stGwDeRegistrationReqHdr body; |
lesmin | 0:7e575e5f88ec | 73 | }GwDeRegist_Req; |
lesmin | 0:7e575e5f88ec | 74 | |
lesmin | 0:7e575e5f88ec | 75 | /** |
lesmin | 0:7e575e5f88ec | 76 | * @struct GwDeRegist_Rsp |
lesmin | 0:7e575e5f88ec | 77 | * @brief GMMP TCP Packet 구조 중 Response GW DeRegist 구조체 |
lesmin | 0:7e575e5f88ec | 78 | * OMP에 Response GW DeRegist 데이터 수신한다. |
lesmin | 0:7e575e5f88ec | 79 | */ |
lesmin | 0:7e575e5f88ec | 80 | typedef struct { |
lesmin | 0:7e575e5f88ec | 81 | /** |
lesmin | 0:7e575e5f88ec | 82 | *@var header |
lesmin | 0:7e575e5f88ec | 83 | *@brief @ref GMMPHeader 참조 |
lesmin | 0:7e575e5f88ec | 84 | */ |
lesmin | 0:7e575e5f88ec | 85 | /** |
lesmin | 0:7e575e5f88ec | 86 | *@var body |
lesmin | 0:7e575e5f88ec | 87 | *@brief @ref stGwDeRegistrationRspHdr 참조 |
lesmin | 0:7e575e5f88ec | 88 | */ |
lesmin | 0:7e575e5f88ec | 89 | GMMPHeader header; |
lesmin | 0:7e575e5f88ec | 90 | stGwDeRegistrationRspHdr body; |
lesmin | 0:7e575e5f88ec | 91 | }GwDeRegist_Rsp; |
lesmin | 0:7e575e5f88ec | 92 | #pragma pack(0) |
lesmin | 0:7e575e5f88ec | 93 | |
lesmin | 0:7e575e5f88ec | 94 | #endif /* STRUCT_DEREG_GW_H_ */ |