FDO2 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
fdo2::ParsedLine Struct Reference

A parsed reply line. More...

#include <fdo2_protocol.hpp>

Public Attributes

ParseStatus status {ParseStatus::Malformed}
 Whether the line is valid.
 
bool known {false}
 The header is one of the thirteen (or #ERRO).
 
bool erro {false}
 The line is #ERRO E.
 
bool crc_present {false}
 A CRC suffix was present and valid.
 
Command command {Command::Vers}
 The header, when known and not erro.
 
std::size_t count {0}
 Values parsed (for Idnr: 1, in big).
 
int32_t error_code {0}
 E of #ERRO.
 
uint64_t big {0}
 The #IDNR value.
 
std::array< int64_t, kMaxValues > values {}
 The values, signed 32 bit or unsigned 32 bit.
 

Detailed Description

A parsed reply line.


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