8#include <QtCore/QByteArray>
26inline constexpr std::string_view
REJECTED =
"<ERROR";
29inline constexpr unsigned BAUD = 115200;
37 Command{
"UNLOGALL THISPORT\r\n",
"<UNLOGALL OK"},
49 Command{
"POSAVE ON \r\n",
"<POSAVE OK"},
63 Command{
"LOG RTCM 1\r\n",
"<LOG OK"},
constexpr std::string_view REJECTED
constexpr unsigned AVERAGED_POSITION_QUALITY
GGA fix quality of a position the receiver holds fixed: position averaging finished.
constexpr std::string_view FIX_POSITION_ACCEPTED
GPSCommandSequence sequence(std::span< const Command > commands)
constexpr Command GGA_OUTPUT
GGA output; the base station uses it only to observe the survey-in.
constexpr std::array IDENTIFY
Stops every log on this port and identifies the receiver, in up to IDENTIFY_ROUNDS rounds.
GPSCommandSequence fixedBase(const GPSEllipsoidPosition &position)
ELLIPSOID_HEIGHTS, FIX_POSITION for position, then GGA_OUTPUT.
constexpr std::array RTCM_OUTPUT
RTCM3 output once the base position is known.
constexpr std::array SURVEY_IN
Survey-in base: receiver position averaging. A GGA fix of quality 7 completes it, and RTCM_OUTPUT fol...
constexpr unsigned IDENTIFY_ROUNDS
constexpr Command ELLIPSOID_HEIGHTS
constexpr Command VERSION
Identifies the receiver without changing it, so receiver detection probes with it alone.
constexpr std::chrono::milliseconds RESPONSE_TIMEOUT
Per attempt, for every command.
constexpr std::array BAUD_RATES
constexpr unsigned BAUD
The link rate unless one is selected or detected, and the only rate receiver detection probes.
std::string_view accepted
WGS84 geodetic position with ellipsoid height, not mean-sea-level altitude.