DUNE: Uniform Navigational Environment  2016.05.0
Sensors::MicrostrainMIP::Parser Class Reference

Public Member Functions

 Parser (void)
 
bool parse (uint8_t byte)
 
size_t getInvalidChecksumCount (void) const
 
void clearInvalidChecksumCount (void)
 
uint8_t getDescriptorSet (void) const
 
uint8_t getFieldDescriptor (void) const
 
size_t getPayloadSize (void) const
 
const uint8_t * getPayload (void) const
 
double getTimeStamp (void) const
 

Constructor & Destructor Documentation

Sensors::MicrostrainMIP::Parser::Parser ( void  )
inline

Member Function Documentation

void Sensors::MicrostrainMIP::Parser::clearInvalidChecksumCount ( void  )
inline

Clear invalid checksum count.

uint8_t Sensors::MicrostrainMIP::Parser::getDescriptorSet ( void  ) const
inline
uint8_t Sensors::MicrostrainMIP::Parser::getFieldDescriptor ( void  ) const
inline
size_t Sensors::MicrostrainMIP::Parser::getInvalidChecksumCount ( void  ) const
inline

Get the number of invalid checksums detected thus far.

Returns
number of invalid checksums.

Referenced by Sensors::MicrostrainMIP::Driver::getInvalidCount().

const uint8_t* Sensors::MicrostrainMIP::Parser::getPayload ( void  ) const
inline
size_t Sensors::MicrostrainMIP::Parser::getPayloadSize ( void  ) const
inline
double Sensors::MicrostrainMIP::Parser::getTimeStamp ( void  ) const
inline
bool Sensors::MicrostrainMIP::Parser::parse ( uint8_t  byte)
inline
Collaboration diagram for Sensors::MicrostrainMIP::Parser:
Collaboration graph