nRF5 SDK for Mesh v4.1.0
health_server_t Struct Reference

Health server instance structure. More...

#include <health_server.h>

Data Fields

access_model_handle_t model_handle
 Model handle.
uint8_t fast_period_divisor
 Fast period divisor, used to increase publishing interval when faults are present.
const health_server_selftest_tp_selftests
 Pointer to an array of self-tests.
uint8_t num_selftests
 Number of self-tests in p_selftests.
uint8_t previous_test_id
 ID of the latest self-test run by the model.
uint16_t company_id
 Health server company ID.
health_server_fault_array_t registered_faults
 Array of registered faults.
health_server_fault_array_t current_faults
 Array of current faults.
health_server_attention_cb_t attention_handler
 Handler for the attention state. More...
uint8_t attention_timer
 Timer for the attention state.
struct __health_server_tp_next
 Pointer to the next instance. More...

Detailed Description

Health server instance structure.

Object type for health server instances.

Definition at line 104 of file health_server.h.

Field Documentation

◆ attention_handler

health_server_attention_cb_t health_server_t::attention_handler

Handler for the attention state.

If NULL, the attention state is unsupported.

Definition at line 114 of file health_server.h.

◆ p_next

struct __health_server_t* health_server_t::p_next

Pointer to the next instance.

Used internally for supporting the attention timer.

Definition at line 116 of file health_server.h.

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