QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GPSReceiverDetection Struct Reference

The receiver detection found, or why it found none. More...

#include <GPSReceiverDetector.h>

+ Collaboration diagram for GPSReceiverDetection:

Public Member Functions

bool found () const
 

Public Attributes

const GPSReceiverFamily * family = nullptr
 Null when no family was identified.
 
unsigned baud = 0
 The rate the receiver answered at.
 
QString evidence
 What identified it: a signature such as "UBX frames", or "identity query".
 
GPSProtocolError error = GPSProtocolError::None
 Protocol when nothing was identified; Cancelled or Transport when the link ended detection.
 
QString errorDetail
 

Detailed Description

The receiver detection found, or why it found none.

Definition at line 53 of file GPSReceiverDetector.h.

Member Function Documentation

◆ found()

bool GPSReceiverDetection::found ( ) const
inline

Definition at line 65 of file GPSReceiverDetector.h.

References family.

Member Data Documentation

◆ baud

unsigned GPSReceiverDetection::baud = 0

The rate the receiver answered at.

Definition at line 58 of file GPSReceiverDetector.h.

◆ error

GPSProtocolError GPSReceiverDetection::error = GPSProtocolError::None

Protocol when nothing was identified; Cancelled or Transport when the link ended detection.

Definition at line 62 of file GPSReceiverDetector.h.

Referenced by GPSReceiverDetector::detect().

◆ errorDetail

QString GPSReceiverDetection::errorDetail

Definition at line 63 of file GPSReceiverDetector.h.

Referenced by GPSReceiverDetector::detect().

◆ evidence

QString GPSReceiverDetection::evidence

What identified it: a signature such as "UBX frames", or "identity query".

Definition at line 60 of file GPSReceiverDetector.h.

◆ family

const GPSReceiverFamily* GPSReceiverDetection::family = nullptr

Null when no family was identified.

Definition at line 56 of file GPSReceiverDetector.h.

Referenced by found().


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