SKTelecom_ThingPlug / GMMP_mbed

Dependents:   ThingPlug_WiFi_Example_2 ThingPlug_Ethernet_Example ThingPlug_Ethernet_Example_temp_V2

Fork of GMMP_2 by Sangmin Lee

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Struct_DeReg_GW.h Source File

Struct_DeReg_GW.h

Go to the documentation of this file.
00001  /** GMMP Operation 중 GW DeRegistration 명령에 사용되는 구조체
00002   * @date 2013/11/21
00003  * @version 0.0.0.1
00004  * @file Struct_DeReg_GW.h
00005  **/
00006 
00007 #ifndef STRUCT_DEREG_GW_H_
00008 #define STRUCT_DEREG_GW_H_
00009 
00010 #include "Define.h"
00011 #include "Struct_Common.h"
00012 
00013 #pragma pack(1)
00014 /**
00015  * @struct stGwDeRegistrationReqHdr
00016  * @brief GMMP TCP Packet  구조 중 Request 수행 시 Message Header와 Message Body 영역
00017  * OMP에서 GW DeRegistration 메시지를 OMP에 전송한다.
00018  */
00019 typedef struct {
00020 /**
00021 *@var usDomainCode
00022 *@brief 서비스 영역별 구분 코드\n
00023 - AlphaNumeric : 문자,숫자 조합, 특수문자제외, SPACE 허용 안하며 빈자리는 0x00(NULL)로 채운다.\n
00024 */
00025 /**
00026 *@var usGWID
00027 *@brief M2M GW ID
00028 */
00029     U8  usDomainCode[LEN_DOMAIN_CODE];
00030     U8  usGWID[LEN_GW_ID];
00031 }stGwDeRegistrationReqHdr; //GW Registration Request
00032 
00033 /**
00034  * @struct stGwDeRegistrationRspHdr
00035  * @brief GMMP TCP Packet  구조 중 Response 수행 시 Message Header와 Message Body 영역
00036  * OMP에서 GW DeRegistration 메시지를 OMP에 수신한다.
00037  */
00038 typedef struct {
00039 /**
00040 *@var usDomainCode
00041 *@brief 서비스 영역별 구분 코드\n
00042 - AlphaNumeric : 문자,숫자 조합, 특수문자제외, SPACE 허용 안하며 빈자리는 0x00(NULL)로 채운다.\n
00043 */
00044 /**
00045 *@var usGWID
00046 *@brief M2M GW ID
00047 */
00048 /**
00049 *@var ucResultCode
00050 *@brief Result Code (0x00 : Success, other : Fail Reason) @ref OMPErrorCode.h 참조
00051 */
00052     U8  usDomainCode[LEN_DOMAIN_CODE];
00053     U8  usGWID[LEN_GW_ID];
00054     U8  ucResultCode;
00055 }stGwDeRegistrationRspHdr; //GW Registration Response
00056 
00057 /**
00058  * @struct GwDeRegist_Req
00059  * @brief GMMP TCP Packet  구조 중 Request GW DeRegist 구조체
00060  * OMP에 Request GW DeRegist 데이터 전송한다.
00061  */
00062 typedef struct {
00063 /**
00064 *@var header
00065 *@brief @ref GMMPHeader 참조
00066 */
00067 /**
00068 *@var body
00069 *@brief @ref stGwDeRegistrationReqHdr 참조
00070 */
00071     GMMPHeader                  header;
00072     stGwDeRegistrationReqHdr    body;
00073 }GwDeRegist_Req;
00074 
00075 /**
00076  * @struct GwDeRegist_Rsp
00077  * @brief GMMP TCP Packet  구조 중 Response GW DeRegist 구조체
00078   * OMP에 Response GW DeRegist 데이터 수신한다.
00079  */
00080 typedef struct {
00081 /**
00082 *@var header
00083 *@brief @ref GMMPHeader 참조
00084 */
00085 /**
00086 *@var body
00087 *@brief @ref stGwDeRegistrationRspHdr 참조
00088 */
00089     GMMPHeader                  header;
00090     stGwDeRegistrationRspHdr    body;
00091 }GwDeRegist_Rsp;
00092 #pragma pack(0)
00093 
00094 #endif /* STRUCT_DEREG_GW_H_ */