Bluetooth: Mesh: Add model publish support to Health Client
Mesh Profile Specification errata 11310 Section 4.4.4.1 "This model shall support model publication, as defined in Section 4.2.2 of the Mesh Profile specification and model subscription, as defined in section 4.2.3 of the Mesh Profile specification." Signed-off-by: Michal Narajowski <michal.narajowski@codecoup.pl>
This commit is contained in:
parent
e98df9f160
commit
fab8e29ee2
9 changed files with 659 additions and 367 deletions
|
@ -385,6 +385,11 @@ static int health_pub_update(struct bt_mesh_model *mod)
|
|||
}
|
||||
|
||||
int bt_mesh_fault_update(struct bt_mesh_elem *elem)
|
||||
{
|
||||
return bt_mesh_health_srv_fault_update(elem);
|
||||
}
|
||||
|
||||
int bt_mesh_health_srv_fault_update(struct bt_mesh_elem *elem)
|
||||
{
|
||||
struct bt_mesh_model *mod;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue