Developmental Flight Test Instrumentation
Functions
rio.cc File Reference

Remote I/O implementation. More...

#include "rio.hh"

Functions

bool dfti::validateRIOChecksum (QByteArray pkt)
 Validate the RIO packet checksum. More...
 

Detailed Description

Remote I/O implementation.

Author
Joshua Harris
License
ISC License

Function Documentation

bool dfti::validateRIOChecksum ( QByteArray  pkt)

Validate the RIO packet checksum.

The checksum is a simple byte-wise XOR up to but not including the checksum byte itself.

Parameters
pktA full packet to validate.
Returns
True if the packet checksum is correct.