gaps-online-software 0.10
online software for the TOF system for the GAPS experiment
Loading...
Searching...
No Matches
Gaps::Telemetry::PacketHeader Struct Reference

Public Member Functions

auto get_gcutime () -> f64
 
auto to_string () const -> std::string
 

Static Public Member Functions

static auto from_bytestream (Vec< u8 > const &stream, usize &pos) -> r::Result< PacketHeader, g::IOError >
 

Public Attributes

u16 sync {0}
 
BfswPacketType ptype {BfswPacketType::Unknown}
 
u32 timestamp {0}
 
u16 counter {0}
 
u16 length {0}
 
u16 checksum {0}
 

Static Public Attributes

static constexpr u16 SIZE = 13
 
static constexpr u16 HEAD = 0x90eb
 

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