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::NmeaRmcPayload Struct Reference

NMEA-Gx-RMC message payload. More...

#include <nmea.hpp>

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

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

NmeaTime time
 Time.
 
NmeaStatusGllRmc status = NmeaStatusGllRmc::UNSPECIFIED
 Positioning system status.
 
NmeaLlh llh
 Position.
 
NmeaFloat speed
 Speed over ground [knots].
 
NmeaFloat course
 Course over ground w.r.t. True North [deg].
 
NmeaDate date
 Date.
 
NmeaModeRmcGns mode = NmeaModeRmcGns::UNSPECIFIED
 Positioning system mode indicator.
 
NmeaNavStatusRmc navstatus = NmeaNavStatusRmc::UNSPECIFIED
 Navigational status (optional)
 
- 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 = "RMC"
 Formatter.
 

Detailed Description

NMEA-Gx-RMC message payload.

Definition at line 522 of file nmea.hpp.

Member Function Documentation

◆ SetFromMsg()

bool fpsdk::common::parser::nmea::NmeaRmcPayload::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

◆ time

NmeaTime fpsdk::common::parser::nmea::NmeaRmcPayload::time

Time.

Definition at line 524 of file nmea.hpp.

◆ status

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

Positioning system status.

Definition at line 525 of file nmea.hpp.

◆ llh

NmeaLlh fpsdk::common::parser::nmea::NmeaRmcPayload::llh

Position.

Definition at line 526 of file nmea.hpp.

◆ speed

NmeaFloat fpsdk::common::parser::nmea::NmeaRmcPayload::speed

Speed over ground [knots].

Definition at line 527 of file nmea.hpp.

◆ course

NmeaFloat fpsdk::common::parser::nmea::NmeaRmcPayload::course

Course over ground w.r.t. True North [deg].

Definition at line 528 of file nmea.hpp.

◆ date

NmeaDate fpsdk::common::parser::nmea::NmeaRmcPayload::date

Date.

Definition at line 529 of file nmea.hpp.

◆ mode

NmeaModeRmcGns fpsdk::common::parser::nmea::NmeaRmcPayload::mode = NmeaModeRmcGns::UNSPECIFIED

Positioning system mode indicator.

Definition at line 530 of file nmea.hpp.

◆ navstatus

NmeaNavStatusRmc fpsdk::common::parser::nmea::NmeaRmcPayload::navstatus = NmeaNavStatusRmc::UNSPECIFIED

Navigational status (optional)

Definition at line 531 of file nmea.hpp.

◆ FORMATTER

const char* fpsdk::common::parser::nmea::NmeaRmcPayload::FORMATTER = "RMC"
staticconstexpr

Formatter.

Definition at line 543 of file nmea.hpp.


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