70 lines
2.1 KiB
C
70 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 CVG_RT_SPG_H
|
|
#define CVG_RT_SPG_H
|
|
|
|
#include "iot_config.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#if SUPPORT_SOUTHERN_POWER_GRID
|
|
|
|
/*
|
|
* cvg_rt_update_bc() - trigger route module to update beacon template
|
|
* @vdev: pointer to vdev
|
|
* @ent: pointer to beacon update descriptor
|
|
* @rt: pointer to route parameter entry to be forwarded
|
|
*
|
|
* return:
|
|
* 0 -- for success case
|
|
* othersie -- error code
|
|
*/
|
|
uint32_t cvg_rt_update_bc_spg(cvg_vdev_t *vdev, mac_bc_update_t *ent,
|
|
mac_bc_rt_param_spg_t *rt);
|
|
|
|
/**
|
|
* @brief cvg_rt_dis_node_list_rx_spg() - discover node list mme rx
|
|
* handling funcntion
|
|
* @param vdev: pointer to vdev
|
|
* @param data: pointer to buffer of discover node list mme
|
|
* @param len: length of the mme in byte
|
|
*/
|
|
void cvg_rt_dis_node_list_rx_spg(cvg_vdev_t *vdev, uint8_t *data, uint32_t len);
|
|
|
|
/**
|
|
* @brief cvg_rt_heart_beat_rx_spg() - heart beat check mme rx handling
|
|
* funcntion.
|
|
* @param vdev: pointer to vdev
|
|
* @param data: pointer to buffer of heart beat check mme
|
|
* @param len: length of the mme in byte
|
|
*/
|
|
void cvg_rt_heart_beat_rx_spg(cvg_vdev_t *vdev, uint8_t *data, uint32_t len);
|
|
|
|
#endif /* SUPPORT_SOUTHERN_POWER_GRID */
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* CVG_RT_SPG_H */
|
|
|
|
|
|
|
|
|