Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
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) BT_MESH_MODEL_PUB_DEFINE(_name, NULL, (1 + 3 + (_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...) BT_BYTES_LIST_LE16(cid), sizeof((uint8_t[]){ tests }), 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. | |
Health Server Model APIs.