Modified for W5500 Ethernet initialize
Fork of GMMP_mbed by
Operation/Reg/Struct_DeReg_Device.h@0:7e575e5f88ec, 2015-08-09 (annotated)
- Committer:
- lesmin
- Date:
- Sun Aug 09 14:11:35 2015 +0000
- Revision:
- 0:7e575e5f88ec
forked from GMMP
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lesmin | 0:7e575e5f88ec | 1 | /** GMMP Operation 중 Device 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_Device.h |
lesmin | 0:7e575e5f88ec | 5 | **/ |
lesmin | 0:7e575e5f88ec | 6 | |
lesmin | 0:7e575e5f88ec | 7 | #ifndef STRUCT_DEREG_DEVICE_H_ |
lesmin | 0:7e575e5f88ec | 8 | #define STRUCT_DEREG_DEVICE_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 stDeviceDeRegistrationReqHdr |
lesmin | 0:7e575e5f88ec | 16 | * @brief GMMP TCP Packet 구조 중 Request 수행 시 Message Header와 Message Body 영역 |
lesmin | 0:7e575e5f88ec | 17 | * OMP에서 Device 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 | /** |
lesmin | 0:7e575e5f88ec | 30 | *@var usDeviceID |
lesmin | 0:7e575e5f88ec | 31 | *@brief M2M Device ID, 값이 0x0이면 GW 명령이다. |
lesmin | 0:7e575e5f88ec | 32 | */ |
lesmin | 0:7e575e5f88ec | 33 | U8 usDomainCode[LEN_DOMAIN_CODE]; |
lesmin | 0:7e575e5f88ec | 34 | U8 usGWID[LEN_GW_ID]; |
lesmin | 0:7e575e5f88ec | 35 | U8 usDeviceID[LEN_DEVICE_ID]; |
lesmin | 0:7e575e5f88ec | 36 | }stDeviceDeRegistrationReqHdr; //GW Registration Request |
lesmin | 0:7e575e5f88ec | 37 | |
lesmin | 0:7e575e5f88ec | 38 | /** |
lesmin | 0:7e575e5f88ec | 39 | * @struct stDeviceDeRegistrationRspHdr |
lesmin | 0:7e575e5f88ec | 40 | * @brief GMMP TCP Packet 구조 중 Response 수행 시 Message Header와 Message Body 영역 |
lesmin | 0:7e575e5f88ec | 41 | * OMP에서 Device DeRegistration 메시지를 OMP에 수신한다. |
lesmin | 0:7e575e5f88ec | 42 | */ |
lesmin | 0:7e575e5f88ec | 43 | typedef struct { |
lesmin | 0:7e575e5f88ec | 44 | /** |
lesmin | 0:7e575e5f88ec | 45 | *@var usDomainCode |
lesmin | 0:7e575e5f88ec | 46 | *@brief 서비스 영역별 구분 코드\n |
lesmin | 0:7e575e5f88ec | 47 | - AlphaNumeric : 문자,숫자 조합, 특수문자제외, SPACE 허용 안하며 빈자리는 0x00(NULL)로 채운다.\n |
lesmin | 0:7e575e5f88ec | 48 | */ |
lesmin | 0:7e575e5f88ec | 49 | /** |
lesmin | 0:7e575e5f88ec | 50 | *@var usGWID |
lesmin | 0:7e575e5f88ec | 51 | *@brief M2M GW ID |
lesmin | 0:7e575e5f88ec | 52 | */ |
lesmin | 0:7e575e5f88ec | 53 | /** |
lesmin | 0:7e575e5f88ec | 54 | *@var usDeviceID |
lesmin | 0:7e575e5f88ec | 55 | *@brief M2M Device ID, 값이 0x0이면 GW 명령이다. |
lesmin | 0:7e575e5f88ec | 56 | */ |
lesmin | 0:7e575e5f88ec | 57 | /** |
lesmin | 0:7e575e5f88ec | 58 | *@var ucResultCode |
lesmin | 0:7e575e5f88ec | 59 | *@brief Result Code (0x00 : Success, other : Fail Reason) @ref OMPErrorCode.h 참조 |
lesmin | 0:7e575e5f88ec | 60 | */ |
lesmin | 0:7e575e5f88ec | 61 | U8 usDomainCode[LEN_DOMAIN_CODE]; |
lesmin | 0:7e575e5f88ec | 62 | U8 usGWID[LEN_GW_ID]; |
lesmin | 0:7e575e5f88ec | 63 | U8 usDeviceID[LEN_DEVICE_ID]; |
lesmin | 0:7e575e5f88ec | 64 | U8 ucResultCode; |
lesmin | 0:7e575e5f88ec | 65 | }stDeviceDeRegistrationRspHdr; //GW Registration Response |
lesmin | 0:7e575e5f88ec | 66 | |
lesmin | 0:7e575e5f88ec | 67 | /** |
lesmin | 0:7e575e5f88ec | 68 | * @struct DeviceDeRegist_Req |
lesmin | 0:7e575e5f88ec | 69 | * @brief GMMP TCP Packet 구조 중 Request Device DeRegist 구조체 |
lesmin | 0:7e575e5f88ec | 70 | * OMP에 Request Device DeRegist 데이터 전송한다. |
lesmin | 0:7e575e5f88ec | 71 | */ |
lesmin | 0:7e575e5f88ec | 72 | typedef struct { |
lesmin | 0:7e575e5f88ec | 73 | /** |
lesmin | 0:7e575e5f88ec | 74 | *@var header |
lesmin | 0:7e575e5f88ec | 75 | *@brief @ref GMMPHeader 참조 |
lesmin | 0:7e575e5f88ec | 76 | */ |
lesmin | 0:7e575e5f88ec | 77 | /** |
lesmin | 0:7e575e5f88ec | 78 | *@var body |
lesmin | 0:7e575e5f88ec | 79 | *@brief @ref stDeviceDeRegistrationReqHdr 참조 |
lesmin | 0:7e575e5f88ec | 80 | */ |
lesmin | 0:7e575e5f88ec | 81 | GMMPHeader header; |
lesmin | 0:7e575e5f88ec | 82 | stDeviceDeRegistrationReqHdr body; |
lesmin | 0:7e575e5f88ec | 83 | }DeviceDeRegist_Req; |
lesmin | 0:7e575e5f88ec | 84 | |
lesmin | 0:7e575e5f88ec | 85 | /** |
lesmin | 0:7e575e5f88ec | 86 | * @struct DeviceDeRegist_Rsp |
lesmin | 0:7e575e5f88ec | 87 | * @brief GMMP TCP Packet 구조 중 Response Device DeRegist 구조체 |
lesmin | 0:7e575e5f88ec | 88 | * OMP에 Response Device DeRegist 데이터 수신한다. |
lesmin | 0:7e575e5f88ec | 89 | */ |
lesmin | 0:7e575e5f88ec | 90 | typedef struct { |
lesmin | 0:7e575e5f88ec | 91 | /** |
lesmin | 0:7e575e5f88ec | 92 | *@var header |
lesmin | 0:7e575e5f88ec | 93 | *@brief @ref GMMPHeader 참조 |
lesmin | 0:7e575e5f88ec | 94 | */ |
lesmin | 0:7e575e5f88ec | 95 | /** |
lesmin | 0:7e575e5f88ec | 96 | *@var body |
lesmin | 0:7e575e5f88ec | 97 | *@brief @ref stDeviceDeRegistrationRspHdr 참조 |
lesmin | 0:7e575e5f88ec | 98 | */ |
lesmin | 0:7e575e5f88ec | 99 | GMMPHeader header; |
lesmin | 0:7e575e5f88ec | 100 | stDeviceDeRegistrationRspHdr body; |
lesmin | 0:7e575e5f88ec | 101 | }DeviceDeRegist_Rsp; |
lesmin | 0:7e575e5f88ec | 102 | #pragma pack(0) |
lesmin | 0:7e575e5f88ec | 103 | |
lesmin | 0:7e575e5f88ec | 104 | #endif /* STRUCT_DEREG_DEVICE_H_ */ |