|
nros C API
Lightweight ROS 2 client for embedded real-time systems
|
#include <nros_generated.h>
Data Fields | |
| int8_t | crc_valid |
| bool | duplicate |
| int64_t | gap |
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().
| 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).
| bool nros_integrity_status_t::duplicate |
true if this sample's sequence number was already seen (a duplicate).
| int64_t nros_integrity_status_t::gap |
Sequence-number gap since the previous in-order message (0 = none).