Bluetooth: Mesh: Add API to discard subscription in vendor model
This commit adds missing API that allows to discard the Subscription List of a vendor model. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
parent
538f97f737
commit
0e9d668970
2 changed files with 48 additions and 41 deletions
|
@ -968,6 +968,21 @@ int bt_mesh_cfg_mod_sub_del_all(uint16_t net_idx, uint16_t addr,
|
|||
uint16_t elem_addr, uint16_t mod_id,
|
||||
uint8_t *status);
|
||||
|
||||
/** @brief Delete all group addresses in a vendor model's subscription list.
|
||||
*
|
||||
* @param net_idx Network index to encrypt with.
|
||||
* @param addr Target node address.
|
||||
* @param elem_addr Element address the model is in.
|
||||
* @param mod_id Model ID.
|
||||
* @param cid Company ID of the model.
|
||||
* @param status Status response parameter.
|
||||
*
|
||||
* @return 0 on success, or (negative) error code on failure.
|
||||
*/
|
||||
int bt_mesh_cfg_mod_sub_del_all_vnd(uint16_t net_idx, uint16_t addr,
|
||||
uint16_t elem_addr, uint16_t mod_id,
|
||||
uint16_t cid, uint8_t *status);
|
||||
|
||||
/** @brief Update a network key to the target node.
|
||||
*
|
||||
* @param net_idx Network index to encrypt with.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue