在ch573mesh例程里面只找到了heartbeat-publication的API
int bt_mesh_cfg_hb_pub_set( uint16_t net_idx, uint16_t addr,
const struct bt_mesh_cfg_hb_pub *param );
int bt_mesh_cfg_hb_pub_get( uint16_t net_idx, uint16_t addr );
以及该API对应的结构体
struct bt_mesh_cfg_hb_pub
{
uint16_t dst;
uint8_t count;
uint8_t period;
uint8_t ttl;
uint16_t feat;
uint16_t net_idx;
};
与此同时还发现了heartbeat-subscribe对应的结构体
struct bt_mesh_cfg_hb_sub
{
uint16_t src;
uint16_t dst;
uint8_t period;
uint8_t count;
uint8_t min;
uint8_t max;
};
但是没有发现其对应的API,请问有没有对应的API