ThingPlug GMMP library for mbed
Dependents: ThingPlug_WiFi_Example
Diff: Operation/Control/GMMP_Control.h
- Revision:
- 0:32c20cfb2b30
diff -r 000000000000 -r 32c20cfb2b30 Operation/Control/GMMP_Control.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Operation/Control/GMMP_Control.h Thu Jul 23 00:55:15 2015 +0000 @@ -0,0 +1,30 @@ + /** GMMP Operation 중 제어 명령 함수 + * @file GMMP_Control.h + * @date 2013/11/21 + * @version 0.0.0.1 + * @ref GMMPHeader참조 + **/ + +#ifndef GMMP_CONTROL_H_ +#define GMMP_CONTROL_H_ + +#include "Network.h" +#include "Struct_Control.h" + + + +/** + *@brief 제어 명령 수신 구조체 + * @param pControl_Req @ref Control_Req참조 + * @return 성공 : GMMMP_SUCCESS, 실패 : @ref ErrorCode.h 참조 + */ +int GMMP_Control_Req(Control_Req* pControl_Req); + +/** + * @brief 제어 명령 확인 전송 구조체 + * @param pControl_Req @ref Control_Rsp참조 + * @return 성공 : GMMMP_SUCCESS, 실패 : @ref ErrorCode.h 참조 + */ +int GMMP_Control_Rsp(Control_Rsp* pControl_Req); + +#endif /* GMMP_CONTROL_H_ */