|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <GPSReceiverDetector.h>
Inheritance diagram for GPSReceiverSignatures:
Collaboration diagram for GPSReceiverSignatures:Classes | |
| struct | Match |
Public Member Functions | |
| GPSReceiverSignatures (std::span< const GPSReceiverFamily *const > families) | |
| void | push (std::span< const uint8_t > bytes) |
| void | reset () |
| Forgets partial frames and findings, as after a rate change. | |
| const std::optional< Match > & | match () const |
| The first family signature since the last reset. | |
| bool | framedTraffic () const |
| Standard NMEA sentences or RTCM3 frames arrived, so the link runs at the receiver's rate. | |
Recognises receiver families in raw received bytes. Every framer is enabled, whatever the families use, and each frame goes to each family's signature hook in table order.
Definition at line 20 of file GPSReceiverDetector.h.
|
explicit |
Definition at line 31 of file GPSReceiverDetector.cc.
|
inline |
Standard NMEA sentences or RTCM3 frames arrived, so the link runs at the receiver's rate.
Definition at line 41 of file GPSReceiverDetector.h.
Referenced by GPSReceiverDetector::detect().
|
inline |
The first family signature since the last reset.
Definition at line 38 of file GPSReceiverDetector.h.
Referenced by GPSReceiverDetector::detect().
| void GPSReceiverSignatures::push | ( | std::span< const uint8_t > | bytes | ) |
Definition at line 36 of file GPSReceiverDetector.cc.
References GPSStreamDemux::push().
Referenced by GPSReceiverDetector::GPSReceiverDetector().
| void GPSReceiverSignatures::reset | ( | ) |
Forgets partial frames and findings, as after a rate change.
Definition at line 43 of file GPSReceiverDetector.cc.
References GPSStreamDemux::reset().
Referenced by GPSReceiverDetector::detect().