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::fpa::FpaGnssantPayload Struct Reference

FP_A-GNSSANT (version 1) message payload. More...

#include <fpa.hpp>

Inheritance diagram for fpsdk::common::parser::fpa::FpaGnssantPayload:
Collaboration diagram for fpsdk::common::parser::fpa::FpaGnssantPayload:

Public Member Functions

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

Public Attributes

FpaGpsTime gps_time
 Time.
 
FpaAntState gnss1_state = FpaAntState::UNSPECIFIED
 GNSS1 antenna state.
 
FpaAntPower gnss1_power = FpaAntPower::UNSPECIFIED
 GNSS1 antenna power.
 
FpaInt gnss1_age
 Time since gnss1_state or gnss1_power information last changed, 0-604800.
 
FpaAntState gnss2_state = FpaAntState::UNSPECIFIED
 GNSS2 antenna state.
 
FpaAntPower gnss2_power = FpaAntPower::UNSPECIFIED
 GNSS2 antenna power.
 
FpaInt gnss2_age
 Time since gnss2_state or gnss2_power information last changed, 0-604800.
 
- Public Attributes inherited from fpsdk::common::parser::fpa::FpaPayload
bool valid_ = false
 Payload successfully decoded (true), or not (yet) decoded (false)
 

Static Public Attributes

static constexpr const char * MSG_NAME = "FP_A-GNSSANT"
 Message name.
 

Detailed Description

FP_A-GNSSANT (version 1) message payload.

Definition at line 559 of file fpa.hpp.

Member Function Documentation

◆ SetFromMsg()

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

Set data from message.

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

◆ gps_time

FpaGpsTime fpsdk::common::parser::fpa::FpaGnssantPayload::gps_time

Time.

Definition at line 561 of file fpa.hpp.

◆ gnss1_state

FpaAntState fpsdk::common::parser::fpa::FpaGnssantPayload::gnss1_state = FpaAntState::UNSPECIFIED

GNSS1 antenna state.

Definition at line 562 of file fpa.hpp.

◆ gnss1_power

FpaAntPower fpsdk::common::parser::fpa::FpaGnssantPayload::gnss1_power = FpaAntPower::UNSPECIFIED

GNSS1 antenna power.

Definition at line 563 of file fpa.hpp.

◆ gnss1_age

FpaInt fpsdk::common::parser::fpa::FpaGnssantPayload::gnss1_age

Time since gnss1_state or gnss1_power information last changed, 0-604800.

Definition at line 564 of file fpa.hpp.

◆ gnss2_state

FpaAntState fpsdk::common::parser::fpa::FpaGnssantPayload::gnss2_state = FpaAntState::UNSPECIFIED

GNSS2 antenna state.

Definition at line 565 of file fpa.hpp.

◆ gnss2_power

FpaAntPower fpsdk::common::parser::fpa::FpaGnssantPayload::gnss2_power = FpaAntPower::UNSPECIFIED

GNSS2 antenna power.

Definition at line 566 of file fpa.hpp.

◆ gnss2_age

FpaInt fpsdk::common::parser::fpa::FpaGnssantPayload::gnss2_age

Time since gnss2_state or gnss2_power information last changed, 0-604800.

Definition at line 567 of file fpa.hpp.

◆ MSG_NAME

const char* fpsdk::common::parser::fpa::FpaGnssantPayload::MSG_NAME = "FP_A-GNSSANT"
staticconstexpr

Message name.

Definition at line 581 of file fpa.hpp.


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