Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
health_srv.h File Reference

Health Server Model APIs. More...

Go to the source code of this file.

Data Structures

struct  bt_mesh_health_srv_cb
 Callback function for the Health Server model. More...
 
struct  bt_mesh_health_srv
 Mesh Health Server Model Context. More...
 

Macros

#define BT_MESH_HEALTH_PUB_DEFINE(_name, _max_faults)
 A helper to define a health publication context.
 
#define BT_MESH_MODEL_HEALTH_SRV(srv, pub, ...)
 Define a new health server model.
 
#define BT_MESH_HEALTH_TEST_INFO_METADATA_ID   0x0000
 Health Test Information Metadata ID.
 
#define BT_MESH_HEALTH_TEST_INFO_METADATA(tests)
 
#define BT_MESH_HEALTH_TEST_INFO(cid, tests...)
 Define a Health Test Info Metadata array.
 

Functions

int bt_mesh_health_srv_fault_update (const struct bt_mesh_elem *elem)
 Notify the stack that the fault array state of the given element has changed.
 

Detailed Description

Health Server Model APIs.