|
QGroundControl
Ground Control Station for MAVLink Drones
|
PQTM reply fields and the acknowledgement and readback rules every command shares. More...
Classes | |
| class | Fields |
| Borrowed fields for the largest supported PQTM reply, including empty trailing fields. More... | |
Functions | |
| template<typename T > | |
| bool | number (std::string_view text, T &result) |
| std::string_view | checkedBody (std::string_view line) |
| The body of a checksum-valid "$<body>*hh" line; empty otherwise. | |
| bool | rejected (const Fields &reply, std::string_view command) |
| GPSCommandOutcome | acknowledgement (const Fields &reply, std::string_view command) |
| "<command>,OK" acknowledges and "<command>,ERROR,<code>" rejects a setting. | |
| GPSCommandOutcome | readback (const Fields &reply, std::string_view command, bool matches) |
PQTM reply fields and the acknowledgement and readback rules every command shares.
|
inline |
"<command>,OK" acknowledges and "<command>,ERROR,<code>" rejects a setting.
Definition at line 71 of file QuectelCodec.h.
References Acknowledged, Pending, Rejected, rejected(), and QuectelCodec::Fields::size().
Referenced by Quectel::Plan::acknowledgement().
|
inline |
The body of a checksum-valid "$<body>*hh" line; empty otherwise.
Definition at line 58 of file QuectelCodec.h.
References NMEA::frame().
| bool QuectelCodec::number | ( | std::string_view | text, |
| T & | result | ||
| ) |
Definition at line 44 of file QuectelCodec.h.
|
inline |
Definition at line 79 of file QuectelCodec.h.
References QuectelCodec::Fields::overflowed(), Pending, readback(), ReadbackVerified, Rejected, rejected(), and QuectelCodec::Fields::size().
Referenced by readback().
|
inline |
Definition at line 64 of file QuectelCodec.h.
References error, rejected(), and QuectelCodec::Fields::size().
Referenced by acknowledgement(), readback(), and rejected().