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

How ParseLine() treats the CRC and the spacing (from the Config). More...

#include <fdo2_protocol.hpp>

Public Attributes

bool crc_required {false}
 A suffix must be present (except #ERRO with erro_without_crc).
 
bool crc_forbidden {false}
 A suffix is Malformed (CrcMode::Off).
 
bool strict_spacing {true}
 Exactly one space between tokens, none leading or trailing.
 
bool erro_without_crc
 An #ERRO line without a suffix is accepted while CRC is required.
 

Detailed Description

How ParseLine() treats the CRC and the spacing (from the Config).

Member Data Documentation

◆ erro_without_crc

bool fdo2::ParseOptions::erro_without_crc
Initial value:
{
true}

An #ERRO line without a suffix is accepted while CRC is required.


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