Files
kunlun/app/brm/inc/iot_brm_ppm_ping.h

65 lines
2.0 KiB
C
Raw Normal View History

2024-09-28 14:24:04 +08:00
/****************************************************************************
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_BRM_PPM_PING_H
#define IOT_BRM_PPM_PING_H
#include "iot_ipc_api.h"
#include "iot_brm.h"
#include "iot_brm_mr.h"
#ifdef __cplusplus
extern "C" {
#endif
#if IOT_BRM_ENABLE
/**
* @brief iot_brm_ppm_ping_handle() - brm ppm ping handle.
* @param node: node infomation.
* @retval ERR_OK - for success case, othersie - error code
*/
uint32_t iot_brm_ppm_ping_handle(iot_brm_node_desc_t *node);
/**
* @brief iot_brm_ppm_ping_cur_addr_get() - brm ppm ping current address get.
* @param addr: return ppm ping current address, little endian.
* @retval ERR_OK - for success case, othersie - error code.
*/
uint32_t iot_brm_ppm_ping_cur_addr_get(uint8_t *cur_addr);
/**
* @brief iot_brm_ppm_ping_desc_clear() - clear ppm ping global descriptor.
*/
void iot_brm_ppm_ping_desc_clear(void);
/**
* @brief iot_brm_ppm_ping_init() - brm ppm ping init.
* @retval ERR_OK - for success case, othersie - error code.
*/
uint32_t iot_brm_ppm_ping_init(void);
/**
* @brief iot_brm_ppm_ping_deinit() - brm ppm ping deinit.
*/
void iot_brm_ppm_ping_deinit(void);
#endif /* IOT_BRM_ENABLE */
#ifdef __cplusplus
}
#endif
#endif /* IOT_BRM_PPM_PING_H */