|
| GPSFixQuality | NMEA::fixQuality (unsigned quality, GPSFixQuality autonomous) |
| | Autonomous GGA does not distinguish 2D/3D; the caller supplies its independently resolved quality.
|
| |
| template<class T > |
| std::optional< T > | NMEA::number (std::string_view field, int base=DECIMAL_BASE) |
| |
| unsigned char | NMEA::checksum (std::string_view body) |
| |
| constexpr bool | NMEA::isAsciiDigit (char ch) |
| | Locale-independent ASCII character classes for receiver text.
|
| |
| constexpr bool | NMEA::isAsciiUpper (char ch) |
| |
| std::optional< uint32_t > | NMEA::hexNumber (std::string_view digits) |
| | The value of digits when every one is a hexadecimal digit, with no sign or prefix; nullopt otherwise.
|
| |
| size_t | NMEA::splitFields (std::string_view text, std::span< std::string_view > fields) |
| | Preserve empty fields, including the final field. Return zero on storage overflow.
|
| |
| std::optional< Frame > | NMEA::frame (std::string_view text) |
| |
| std::optional< Sentence > | NMEA::sentence (std::string_view text) |
| |
| bool | NMEA::isStandardSentence (std::string_view text) |
| | A checked sentence from a standard talker, not a proprietary $P... sentence.
|
| |
| double | NMEA::degreesFromDegreesMinutes (double ddmm) |
| | Convert a signed ddmm.mmmm (or dddmm.mmmm) value; invalid values return NaN.
|
| |
| std::optional< double > | NMEA::coordinate (std::string_view field, std::string_view hemisphere, bool latitude) |
| |
| std::optional< GGA > | NMEA::gga (const Sentence &input) |
| | Quality zero is a valid fix-loss observation with empty coordinates and optional hemisphere fields.
|
| |
| std::optional< int > | NMEA::utcMilliseconds (std::string_view field) |
| |
| std::optional< UtcDate > | NMEA::rmcDate (std::string_view field) |
| |
| std::optional< RMC > | NMEA::rmc (const Sentence &input) |
| |
| std::optional< GLL > | NMEA::gll (const Sentence &input) |
| |
| std::optional< VTG > | NMEA::vtg (const Sentence &input) |
| |
| std::optional< ZDA > | NMEA::zda (const Sentence &input) |
| |
| std::optional< NavigationStatus > | NMEA::navigationStatus (const Sentence &input) |
| |
| std::optional< GST > | NMEA::gst (const Sentence &input) |
| |
| QByteArray | NMEAUtils::frame (QByteArrayView body) |
| | body as one "$<body>*hh\r\n" sentence, with uppercase checksum digits.
|
| |
| QByteArray | NMEAUtils::repairChecksum (const QByteArray &sentence) |
| | Rebuild a valid frame with its checksum and CRLF; short or malformed bodies are only terminated.
|
| |
| QByteArray | NMEAUtils::makeGGA (const NMEA::GGA &fix, const QTime &utc) |
| |