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_t * | p_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_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.
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.
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.