10#ifndef __BT_MESH_HEALTH_CLI_H
11#define __BT_MESH_HEALTH_CLI_H
29 uint8_t test_id, uint16_t cid, uint8_t *faults,
35extern const struct bt_mesh_model_op bt_mesh_health_cli_op[];
38#define BT_MESH_MODEL_HEALTH_CLI(cli_data) \
39 BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_HEALTH_CLI, bt_mesh_health_cli_op, \
40 NULL, cli_data, &bt_mesh_health_cli_cb)
44int bt_mesh_health_fault_get(uint16_t addr, uint16_t app_idx, uint16_t cid,
45 uint8_t *test_id, uint8_t *faults,
48int bt_mesh_health_fault_clear(uint16_t addr, uint16_t app_idx, uint16_t cid,
49 uint8_t *test_id, uint8_t *faults,
52int bt_mesh_health_fault_test(uint16_t addr, uint16_t app_idx, uint16_t cid,
53 uint8_t test_id, uint8_t *faults,
56int bt_mesh_health_period_get(uint16_t addr, uint16_t app_idx, uint8_t *divisor);
58int bt_mesh_health_period_set(uint16_t addr, uint16_t app_idx, uint8_t divisor,
59 uint8_t *updated_divisor);
61int bt_mesh_health_attention_get(uint16_t addr, uint16_t app_idx, uint8_t *attention);
63int bt_mesh_health_attention_set(uint16_t addr, uint16_t app_idx, uint8_t attention,
64 uint8_t *updated_attention);
66int32_t bt_mesh_health_cli_timeout_get(
void);
67void bt_mesh_health_cli_timeout_set(int32_t timeout);
Definition health_cli.h:25