QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GPSRawAckMatcher Class Reference

Bounded raw-byte matching for receivers whose replies need not be complete ASCII lines. More...

#include <GPSCommand.h>

Public Member Functions

 GPSRawAckMatcher (QByteArrayView accepted, QByteArrayView rejected)
 
bool valid () const
 
void append (std::span< const uint8_t > bytes)
 
GPSCommandOutcome outcome () const
 

Detailed Description

Bounded raw-byte matching for receivers whose replies need not be complete ASCII lines.

Definition at line 76 of file GPSCommand.h.

Constructor & Destructor Documentation

◆ GPSRawAckMatcher()

GPSRawAckMatcher::GPSRawAckMatcher ( QByteArrayView  accepted,
QByteArrayView  rejected 
)
inline

Definition at line 79 of file GPSCommand.h.

Member Function Documentation

◆ append()

void GPSRawAckMatcher::append ( std::span< const uint8_t >  bytes)
inline

Definition at line 89 of file GPSCommand.h.

References Acknowledged, Rejected, and valid().

◆ outcome()

GPSCommandOutcome GPSRawAckMatcher::outcome ( ) const
inline

Definition at line 109 of file GPSCommand.h.

◆ valid()

bool GPSRawAckMatcher::valid ( ) const
inline

Definition at line 84 of file GPSCommand.h.

Referenced by append().


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