9#include <QtCore/QByteArray>
10#include <QtCore/QString>
32 std::function<void(
const QByteArray&)>
onRTCM;
56 GPSReceiveUpdates updates = {};
112 void _publishExpiredSatellites();
122 std::unique_ptr<State> _state;
GPSProtocolError
Sticky failure of the current receiver session; I/O and control stop until the next configure().
@ Cancelled
A stop was requested; not a receiver or link fault.
GPSReceiveLiveness
What one receive cycle heard from the receiver.
@ Activity
Diagnostics or partial input, never proof of navigation liveness.
@ Data
Useful reports, even without a registered sink.
QString receiverIdentity() const
Receiver model and firmware reported by the configured protocol; empty when unknown.
const QString & configurationError() const
Diagnostic from the latest configure() failure; cleared when a new attempt starts.
bool configurationNeedsConsent() const
Whether the latest configure() failed because the receiver needs persistent changes the request did n...
GPSReceiveResult receiveOutcome(std::chrono::milliseconds timeout)
bool configure()
Create and configure the underlying driver.
const std::vector< GPSConfigurationEvidence > & configurationEvidence() const
Latest configure() attempt; remains available after failure. Caller-thread access only.
The monotonic clock receiver sessions run on: the steady clock unless tests inject a virtual one.
The receiver configuration requested for one configure() attempt.
Decoded navigation plus whether the producer accepted its velocity solution.
std::function< void(const GPSSatelliteReport &)> onSatelliteInfo
std::function< void(const GPSPositionReport &)> onPosition
std::function< void(const GPSSurveyReport &)> onSurveyIn
std::function< void(const QByteArray &)> onRTCM
One complete frame; copying it shares the receiver's buffer.
std::function< void(GPSType)> onReceiverDetected
Events decoded from one span of received bytes, in publication order.
One RTCM3 frame the receiver produced, including its header and CRC.
Observers of runtime output, invoked synchronously on the runtime thread.