Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Health Client Model APIs. More...
#include <zephyr/bluetooth/mesh.h>
Go to the source code of this file.
Data Structures | |
struct | bt_mesh_health_cli |
Health Client Model Context. More... | |
Macros | |
#define | BT_MESH_MODEL_HEALTH_CLI(cli_data) |
Generic Health Client model composition data entry. | |
Functions | |
int | bt_mesh_health_cli_fault_get (struct bt_mesh_health_cli *cli, struct bt_mesh_msg_ctx *ctx, uint16_t cid, uint8_t *test_id, uint8_t *faults, size_t *fault_count) |
Get the registered fault state for the given Company ID. | |
int | bt_mesh_health_cli_fault_clear (struct bt_mesh_health_cli *cli, struct bt_mesh_msg_ctx *ctx, uint16_t cid, uint8_t *test_id, uint8_t *faults, size_t *fault_count) |
Clear the registered faults for the given Company ID. | |
int | bt_mesh_health_cli_fault_clear_unack (struct bt_mesh_health_cli *cli, struct bt_mesh_msg_ctx *ctx, uint16_t cid) |
Clear the registered faults for the given Company ID (unacked). | |
int | bt_mesh_health_cli_fault_test (struct bt_mesh_health_cli *cli, struct bt_mesh_msg_ctx *ctx, uint16_t cid, uint8_t test_id, uint8_t *faults, size_t *fault_count) |
Invoke a self-test procedure for the given Company ID. | |
int | bt_mesh_health_cli_fault_test_unack (struct bt_mesh_health_cli *cli, struct bt_mesh_msg_ctx *ctx, uint16_t cid, uint8_t test_id) |
Invoke a self-test procedure for the given Company ID (unacked). | |
int | bt_mesh_health_cli_period_get (struct bt_mesh_health_cli *cli, struct bt_mesh_msg_ctx *ctx, uint8_t *divisor) |
Get the target node's Health fast period divisor. | |
int | bt_mesh_health_cli_period_set (struct bt_mesh_health_cli *cli, struct bt_mesh_msg_ctx *ctx, uint8_t divisor, uint8_t *updated_divisor) |
Set the target node's Health fast period divisor. | |
int | bt_mesh_health_cli_period_set_unack (struct bt_mesh_health_cli *cli, struct bt_mesh_msg_ctx *ctx, uint8_t divisor) |
Set the target node's Health fast period divisor (unacknowledged). | |
int | bt_mesh_health_cli_attention_get (struct bt_mesh_health_cli *cli, struct bt_mesh_msg_ctx *ctx, uint8_t *attention) |
Get the current attention timer value. | |
int | bt_mesh_health_cli_attention_set (struct bt_mesh_health_cli *cli, struct bt_mesh_msg_ctx *ctx, uint8_t attention, uint8_t *updated_attention) |
Set the attention timer. | |
int | bt_mesh_health_cli_attention_set_unack (struct bt_mesh_health_cli *cli, struct bt_mesh_msg_ctx *ctx, uint8_t attention) |
Set the attention timer (unacknowledged). | |
int32_t | bt_mesh_health_cli_timeout_get (void) |
Get the current transmission timeout value. | |
void | bt_mesh_health_cli_timeout_set (int32_t timeout) |
Set the transmission timeout value. | |
Health Client Model APIs.