Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
sapi_dual_frame_header_t Struct Reference

Common 4-byte header prefixing every Layer-2 frame; kept a fixed 4 bytes (not just 1) so the fields that follow in sapi_dual_ack_frame_t/sapi_dual_state_frame_t stay naturally aligned. More...

#include <sapi_dual_frames.h>

Data Fields

uint8_t kind
uint8_t reserved [3]

Detailed Description

Common 4-byte header prefixing every Layer-2 frame; kept a fixed 4 bytes (not just 1) so the fields that follow in sapi_dual_ack_frame_t/sapi_dual_state_frame_t stay naturally aligned.

Definition at line 62 of file sapi_dual_frames.h.

Field Documentation

◆ kind

uint8_t sapi_dual_frame_header_t::kind

A sapi_dual_frame_kind_t value, stored as uint8_t for a stable wire size regardless of the enum's underlying compiler type.

Definition at line 66 of file sapi_dual_frames.h.

◆ reserved

uint8_t sapi_dual_frame_header_t::reserved[3]

Reserved, always 0 on send; ignored (not rejected) on receive so a future minor revision can use these bits without breaking this one's receivers.

Definition at line 70 of file sapi_dual_frames.h.


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