|
Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
Configuration specific to RTE_SAFECHANNEL_TYPE_DUAL_REDUNDANT. More...
#include <rte_safechannel.h>
Data Fields | |
| rte_safechannel_endpoint_t | endpoints [RTE_SAFECHANNEL_MAX_LINKS] |
| uint32_t | link_count |
| uint32_t | sender_id |
| uint32_t | expected_peer_id |
| rte_duration_ms_t | connect_timeout_ms |
| rte_duration_ms_t | ack_timeout_ms |
| rte_dual_channel_status_callback_t | status_callback |
| void * | status_callback_ctx |
Configuration specific to RTE_SAFECHANNEL_TYPE_DUAL_REDUNDANT.
Definition at line 94 of file rte_safechannel.h.
| rte_safechannel_endpoint_t rte_safechannel_dual_config_t::endpoints[RTE_SAFECHANNEL_MAX_LINKS] |
Endpoints to open, 1..RTE_SAFECHANNEL_MAX_LINKS of them.
Definition at line 97 of file rte_safechannel.h.
| uint32_t rte_safechannel_dual_config_t::link_count |
Number of entries populated in endpoints[].
Definition at line 99 of file rte_safechannel.h.
| uint32_t rte_safechannel_dual_config_t::sender_id |
This instance's own EN 50159 sender identifier.
Definition at line 101 of file rte_safechannel.h.
| uint32_t rte_safechannel_dual_config_t::expected_peer_id |
Expected sender_id of the peer at the other end of every link.
Definition at line 103 of file rte_safechannel.h.
| rte_duration_ms_t rte_safechannel_dual_config_t::connect_timeout_ms |
Max time rte_safechannel_open() may block per endpoint establishing it.
Definition at line 105 of file rte_safechannel.h.
| rte_duration_ms_t rte_safechannel_dual_config_t::ack_timeout_ms |
Per-link budget rte_safechannel_send() waits for that link's own ACK.
Definition at line 107 of file rte_safechannel.h.
| rte_dual_channel_status_callback_t rte_safechannel_dual_config_t::status_callback |
Optional; NULL = no callback. Fires on aggregate status change.
Definition at line 109 of file rte_safechannel.h.
| void* rte_safechannel_dual_config_t::status_callback_ctx |
Opaque context passed back to status_callback. Ignored if NULL.
Definition at line 111 of file rte_safechannel.h.