Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
bt_mesh_health_cli Struct Reference

#include <health_cli.h>

Data Fields

struct bt_mesh_modelmodel
 
void(* current_status )(struct bt_mesh_health_cli *cli, uint16_t addr, uint8_t test_id, uint16_t cid, uint8_t *faults, size_t fault_count)
 Optional callback for Health Current Status messages. More...
 
struct bt_mesh_msg_ack_ctx ack_ctx
 

Detailed Description

Health Client Model Context

Field Documentation

◆ ack_ctx

struct bt_mesh_msg_ack_ctx bt_mesh_health_cli::ack_ctx

◆ current_status

void(* bt_mesh_health_cli::current_status) (struct bt_mesh_health_cli *cli, uint16_t addr, uint8_t test_id, uint16_t cid, uint8_t *faults, size_t fault_count)

Optional callback for Health Current Status messages.

Handles received Health Current Status messages from a Health server. The fault array represents all faults that are currently present in the server's element.

See also
Health faults
Parameters
cliHealth client that received the status message.
addrAddress of the sender.
test_idIdentifier of a most recently performed test.
cidCompany Identifier of the node.
faultsArray of faults.
fault_countNumber of faults in the fault array.

◆ model

struct bt_mesh_model* bt_mesh_health_cli::model

Composition data model entry pointer.


The documentation for this struct was generated from the following file: