67 lines
2.1 KiB
C
67 lines
2.1 KiB
C
/****************************************************************************
|
|
|
|
Copyright(c) 2019 by Aerospace C.Power (Chongqing) Microelectronics. ALL RIGHTS RESERVED.
|
|
|
|
This Information is proprietary to Aerospace C.Power (Chongqing) Microelectronics and MAY NOT
|
|
be copied by any method or incorporated into another program without
|
|
the express written consent of Aerospace C.Power. This Information or any portion
|
|
thereof remains the property of Aerospace C.Power. The Information contained herein
|
|
is believed to be accurate and Aerospace C.Power assumes no responsibility or
|
|
liability for its use in any way and conveys no license or title under
|
|
any patent or copyright and makes no representation or warranty that this
|
|
Information is free from patent or copyright infringement.
|
|
|
|
****************************************************************************/
|
|
#ifndef _IOT_SG_EXT_CCO_H_
|
|
#define _IOT_SG_EXT_CCO_H_
|
|
|
|
#include "iot_sg_msg.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#if IOT_SG_EXT_SDK_ENABLE
|
|
|
|
/**
|
|
* @brief iot_sg_ext_cco_command_process() - extend sgapp excute command handle.
|
|
* @param p_msg: pointer of message, p_msg will not be freed.
|
|
*/
|
|
void iot_sg_ext_cco_command_process(iot_sg_msg_t *p_msg);
|
|
|
|
/**
|
|
* @brief iot_sg_ext_cco_msdu_process() - extend sgapp excute msdu handle.
|
|
* @param p_msg: pointer of message, p_msg will not be freed.
|
|
*/
|
|
void iot_sg_ext_cco_msdu_process(iot_sg_msg_t *p_msg);
|
|
|
|
/**
|
|
* @brief iot_sg_ext_cco_command_cancel() - cancel sgapp command handle.
|
|
* @param p_msg: pointer of message, p_msg will not be freed.
|
|
*/
|
|
void iot_sg_ext_cco_command_cancel(iot_sg_msg_t *p_msg);
|
|
|
|
/**
|
|
* @brief iot_sg_ext_cco_msdu_cancel() - cancel sgapp msdu handle.
|
|
* @param p_msg: pointer of message, p_msg will not be freed.
|
|
*/
|
|
void iot_sg_ext_cco_msdu_cancel(iot_sg_msg_t *p_msg);
|
|
|
|
#else /* #if IOT_SG_EXT_SDK_ENABLE */
|
|
|
|
#define iot_sg_ext_cco_command_process(p_msg)
|
|
|
|
#define iot_sg_ext_cco_msdu_process(p_msg)
|
|
|
|
#define iot_sg_ext_cco_command_cancel(p_msg)
|
|
|
|
#define iot_sg_ext_cco_msdu_cancel(p_msg)
|
|
|
|
#endif /* #if IOT_SG_EXT_SDK_ENABLE */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _IOT_SG_EXT_CCO_H_ */
|