Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
health_cli.h File Reference

Health Client Model APIs. More...

Go to the source code of this file.

Data Structures

struct  bt_mesh_health_cli
 

Macros

#define BT_MESH_MODEL_HEALTH_CLI(cli_data)
 Generic Health Client model composition data entry. More...
 

Functions

int bt_mesh_health_cli_set (struct bt_mesh_model *model)
 Set Health client model instance to use for communication. More...
 
int bt_mesh_health_fault_get (uint16_t addr, uint16_t app_idx, uint16_t cid, uint8_t *test_id, uint8_t *faults, size_t *fault_count)
 Get the registered fault state for the given Company ID. More...
 
int bt_mesh_health_fault_clear (uint16_t addr, uint16_t app_idx, uint16_t cid, uint8_t *test_id, uint8_t *faults, size_t *fault_count)
 Clear the registered faults for the given Company ID. More...
 
int bt_mesh_health_fault_test (uint16_t addr, uint16_t app_idx, uint16_t cid, uint8_t test_id, uint8_t *faults, size_t *fault_count)
 Invoke a self-test procedure for the given Company ID. More...
 
int bt_mesh_health_period_get (uint16_t addr, uint16_t app_idx, uint8_t *divisor)
 Get the target node's Health fast period divisor. More...
 
int bt_mesh_health_period_set (uint16_t addr, uint16_t app_idx, uint8_t divisor, uint8_t *updated_divisor)
 Set the target node's Health fast period divisor. More...
 
int bt_mesh_health_attention_get (uint16_t addr, uint16_t app_idx, uint8_t *attention)
 Get the current attention timer value. More...
 
int bt_mesh_health_attention_set (uint16_t addr, uint16_t app_idx, uint8_t attention, uint8_t *updated_attention)
 Set the attention timer. More...
 
int32_t bt_mesh_health_cli_timeout_get (void)
 Get the current transmission timeout value. More...
 
void bt_mesh_health_cli_timeout_set (int32_t timeout)
 Set the transmission timeout value. More...
 

Detailed Description

Health Client Model APIs.