NMEA-Gx-HDT message payload.
More...
#include <nmea.hpp>
|
bool | SetFromMsg (const uint8_t *msg, const std::size_t msg_size) |
| Set data from sentence.
|
|
virtual | ~NmeaPayload ()=default |
| Virtual dtor for polymorphism.
|
|
|
static constexpr const char * | FORMATTER = "HDT" |
| Formatter.
|
|
NMEA-Gx-HDT message payload.
Definition at line 602 of file nmea.hpp.
◆ SetFromMsg()
bool fpsdk::common::parser::nmea::NmeaHdtPayload::SetFromMsg |
( |
const uint8_t * | msg, |
|
|
const std::size_t | msg_size ) |
Set data from sentence.
- Parameters
-
[in] | msg | Pointer to the NMEA message |
[in] | msg_size | Size of the NMEA message (>= 11) |
- Returns
- true if sentence payload was correct and all data could be extracted (fields are now valid), or false otherwise (fields are now invalid)
◆ heading
NmeaFloat fpsdk::common::parser::nmea::NmeaHdtPayload::heading |
◆ FORMATTER
const char* fpsdk::common::parser::nmea::NmeaHdtPayload::FORMATTER = "HDT" |
|
staticconstexpr |
The documentation for this struct was generated from the following file:
- fpsdk_common/include/fpsdk_common/parser/nmea.hpp