Fixposition SDK 0.0.0-heads/main-0-g90a51ff
Collection of c++ libraries and apps for use with Fixposition products
Loading...
Searching...
No Matches
fpsdk::common::parser::nmea::NmeaGllPayload Struct Reference

NMEA-Gx-GLL message payload. More...

#include <nmea.hpp>

Inheritance diagram for fpsdk::common::parser::nmea::NmeaGllPayload:
Collaboration diagram for fpsdk::common::parser::nmea::NmeaGllPayload:

Public Member Functions

bool SetFromMsg (const uint8_t *msg, const std::size_t msg_size)
 Set data from sentence.
 
- Public Member Functions inherited from fpsdk::common::parser::nmea::NmeaPayload
virtual ~NmeaPayload ()=default
 Virtual dtor for polymorphism.
 

Public Attributes

NmeaLlh ll
 Position (no height)
 
NmeaTime time
 Time.
 
NmeaStatusGllRmc status = NmeaStatusGllRmc::UNSPECIFIED
 Positioning system status.
 
NmeaModeGllVtg mode = NmeaModeGllVtg::UNSPECIFIED
 Positioning system mode.
 
- Public Attributes inherited from fpsdk::common::parser::nmea::NmeaPayload
NmeaTalkerId talker = NmeaTalkerId::UNSPECIFIED
 Talker.
 
bool valid_ = false
 Payload successfully decoded (true), or not (yet) decoded (false)
 

Static Public Attributes

static constexpr const char * FORMATTER = "GLL"
 Formatter.
 

Detailed Description

NMEA-Gx-GLL message payload.

Definition at line 498 of file nmea.hpp.

Member Function Documentation

◆ SetFromMsg()

bool fpsdk::common::parser::nmea::NmeaGllPayload::SetFromMsg ( const uint8_t * msg,
const std::size_t msg_size )

Set data from sentence.

Parameters
[in]msgPointer to the NMEA message
[in]msg_sizeSize 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)

Member Data Documentation

◆ ll

NmeaLlh fpsdk::common::parser::nmea::NmeaGllPayload::ll

Position (no height)

Definition at line 500 of file nmea.hpp.

◆ time

NmeaTime fpsdk::common::parser::nmea::NmeaGllPayload::time

Time.

Definition at line 501 of file nmea.hpp.

◆ status

NmeaStatusGllRmc fpsdk::common::parser::nmea::NmeaGllPayload::status = NmeaStatusGllRmc::UNSPECIFIED

Positioning system status.

Definition at line 502 of file nmea.hpp.

◆ mode

NmeaModeGllVtg fpsdk::common::parser::nmea::NmeaGllPayload::mode = NmeaModeGllVtg::UNSPECIFIED

Positioning system mode.

Definition at line 503 of file nmea.hpp.

◆ FORMATTER

const char* fpsdk::common::parser::nmea::NmeaGllPayload::FORMATTER = "GLL"
staticconstexpr

Formatter.

Definition at line 516 of file nmea.hpp.


The documentation for this struct was generated from the following file: