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