Namespace trmb::gsof
Detailed Description
Byte definitions for Trimble GSOF protocol
Glossary
GSOF: General Serial Output Format
DCOL packet: Data frames starting with START_TX (0x02) and ending with (0x03) In some documents these are referred to as “reports”.
GSOF Record: DCOL packet where the type is GENOUT (0x40)
Page: Synonym of DCOL packet
Class Message or sub-record: In the payload of a GSOF record you can find one or multiple messages, sometimes referred to as sub-records. They all start with the bytes in Message::Header which define the type and length.
Therefore, a Template Class PacketParser parses the overall Trimcomm packet. The Template Class MessageParser parses the individual messages within a packet. The gsof::Stream parser takes in a sequence of bytes and returns a buffer containing a (mostly valid) packet ready for secondary checks by a Template Class PacketParser.
See gsof.h for overall documentation