nros C API
Lightweight ROS 2 client for embedded real-time systems
Loading...
Searching...
No Matches
Data Fields
nros_integrity_status_t Struct Reference

#include <nros_generated.h>

Data Fields

int8_t crc_valid
 
bool duplicate
 
int64_t gap
 

Detailed Description

Phase 252 / issue 0073 — E2E message-integrity status surfaced to the C/C++ receive path ([nros_subscription_try_recv_validated]). The C analog of the Rust IntegrityStatus / CallbackCtx::integrity().

Field Documentation

◆ crc_valid

int8_t nros_integrity_status_t::crc_valid

CRC verdict: 1 = valid, 0 = mismatch (corruption), -1 = no CRC on the wire (the publisher was built without safety-e2e).

◆ duplicate

bool nros_integrity_status_t::duplicate

true if this sample's sequence number was already seen (a duplicate).

◆ gap

int64_t nros_integrity_status_t::gap

Sequence-number gap since the previous in-order message (0 = none).


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