#include <GPSReceiverDetector.h>
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.
|
inlinenodiscard |
Standard NMEA sentences or RTCM3 frames arrived, so the link runs at the receiver's rate.
Definition at line 41 of file GPSReceiverDetector.h.
|
inlinenodiscard |
The first family signature since the last reset.
Definition at line 38 of file GPSReceiverDetector.h.
| void GPSReceiverSignatures::push | ( | std::span< const uint8_t > | bytes | ) |
Definition at line 36 of file GPSReceiverDetector.cc.
| void GPSReceiverSignatures::reset | ( | ) |
Forgets partial frames and findings, as after a rate change.
Definition at line 43 of file GPSReceiverDetector.cc.