uadc.cc File Reference

Aeroprobe Micro Air Data Computer implementation. More...

#include "uadc.hh"
Include dependency graph for uadc.cc:

Functions

bool dfti::validateUADCChecksum (QByteArray pkt)
 Validate the uADC packet checksum. More...
 

Detailed Description

Aeroprobe Micro Air Data Computer implementation.

Author
Joshua Harris
License
BSD 2-Clause License

Function Documentation

bool dfti::validateUADCChecksum ( QByteArray  pkt)

Validate the uADC packet checksum.

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

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