nRF5 SDK for Mesh v5.0.0
Data Fields
health_server_t Struct Reference

Health server instance structure. More...

#include <health_server.h>

Data Fields

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

◆ model_handle

access_model_handle_t health_server_t::model_handle

Model handle.

Definition at line 106 of file health_server.h.

◆ fast_period_divisor

uint8_t health_server_t::fast_period_divisor

Fast period divisor, used to increase publishing interval when faults are present.

Definition at line 107 of file health_server.h.

◆ p_selftests

const health_server_selftest_t* health_server_t::p_selftests

Pointer to an array of self-tests.

Definition at line 108 of file health_server.h.

◆ num_selftests

uint8_t health_server_t::num_selftests

Number of self-tests in p_selftests.

Definition at line 109 of file health_server.h.

◆ previous_test_id

uint8_t health_server_t::previous_test_id

ID of the latest self-test run by the model.

Definition at line 110 of file health_server.h.

◆ company_id

uint16_t health_server_t::company_id

Health server company ID.

Definition at line 111 of file health_server.h.

◆ registered_faults

health_server_fault_array_t health_server_t::registered_faults

Array of registered faults.

Definition at line 112 of file health_server.h.

◆ current_faults

health_server_fault_array_t health_server_t::current_faults

Array of current faults.

Definition at line 113 of file health_server.h.

◆ 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.

◆ attention_timer

uint8_t health_server_t::attention_timer

Timer for the attention state.

Definition at line 115 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:

Documentation feedback | Developer Zone | Subscribe | Updated