Zephyr Project API  3.4.0
A Scalable Open Source RTOS
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
 
struct  bt_mesh_health_srv
 

Macros

#define BT_MESH_HEALTH_PUB_DEFINE(_name, _max_faults)    BT_MESH_MODEL_PUB_DEFINE(_name, NULL, (1 + 3 + (_max_faults)))
 
#define BT_MESH_MODEL_HEALTH_SRV(srv, pub)
 
#define BT_MESH_HEALTH_TEST_INFO_METADATA_ID   0x0001
 
#define BT_MESH_HEALTH_TEST_INFO_METADATA(tests)
 
#define BT_MESH_HEALTH_TEST_INFO(cid, tests...)    BT_BYTES_LIST_LE16(cid), sizeof((uint8_t[]){ tests }), tests
 

Functions

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

Detailed Description

Health Server Model APIs.