STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
comms::messages::board Namespace Reference

Typedefs

using BoardHeartbeatElodinMessage
 Board heartbeat status record for Elodin.

Typedef Documentation

◆ BoardHeartbeatElodinMessage

Initial value:
CommsMessage<uint64_t,
uint8_t,
uint8_t,
uint8_t,
uint8_t,
uint32_t
>
CommsMessage - Template-based message serialization.

Board heartbeat status record for Elodin.

Published to Elodin each time a BOARD_HEARTBEAT is received, keyed by board_id. packet_id: {0x10, board_id}

Layout (16 bytes, no padding needed — u32 falls on 4-byte-aligned offset 12): u64 timestamp_ns (0) — monotonic receive timestamp u8 board_id (8) u8 board_type (9) — config wire byte (see fsw::daq_wire / BoardTypeWire.hpp) u8 engine_state (10) — daq::EngineState raw value u8 board_state (11) — daq::BoardState raw value u32 packet_ts_ms (12) — board-reported timestamp from packet header

Definition at line 26 of file BoardHeartbeatMessage.hpp.