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_t * | p_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_t * | p_next |
Pointer to the next instance. More... | |
Health server instance structure.
Object type for health server instances.
Definition at line 104 of file health_server.h.
access_model_handle_t health_server_t::model_handle |
Model handle.
Definition at line 106 of file health_server.h.
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.
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.
uint8_t health_server_t::num_selftests |
Number of self-tests in p_selftests
.
Definition at line 109 of file health_server.h.
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.
uint16_t health_server_t::company_id |
Health server company ID.
Definition at line 111 of file health_server.h.
health_server_fault_array_t health_server_t::registered_faults |
Array of registered faults.
Definition at line 112 of file health_server.h.
health_server_fault_array_t health_server_t::current_faults |
Array of current faults.
Definition at line 113 of file health_server.h.
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.
uint8_t health_server_t::attention_timer |
Timer for the attention state.
Definition at line 115 of file health_server.h.
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.