GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
Gps_Navigation_Message Class Reference

This class decodes a GPS NAV Data message as described in IS-GPS-200M. More...

#include <gps_navigation_message.h>

Public Member Functions

 Gps_Navigation_Message (LnavSystem system=LnavSystem::GPS)
Gps_Ephemeris get_ephemeris () const
 Obtain a GPS SV Ephemeris class filled with current SV data.
Gps_Iono get_iono ()
 Obtain a GPS ionospheric correction parameters class filled with current SV data.
Gps_Almanac get_almanac ()
 Obtain a GPS almanac class filled with current SV data.
Gps_Utc_Model get_utc_model ()
 Obtain a GPS Almanac model parameters class filled with current SV data.
int32_t subframe_decoder (const char *subframe)
 Decodes the GPS NAV message.
double utc_time (double gpstime_corrected) const
 Computes the Coordinated Universal Time (UTC) and returns it in [s] (IS-GPS-200M, 20.3.3.5.2.4).
int32_t get_TOW () const
 Gets Time of Week, in seconds.
int32_t get_GPS_week () const
 Gets GPS Week Number.
void set_satellite_PRN (uint32_t prn)
 Sets satellite PRN number.
uint32_t get_satellite_PRN () const
 Gets satellite PRN number.
void set_channel (int32_t channel_id)
 Sets channel ID.
bool get_flag_iono_valid () const
 Gets flag_iono_valid.
bool get_flag_utc_model_valid () const
 Gets flag_utc_model_valid.
bool satellite_validation ()
bool almanac_validation () const

Detailed Description

This class decodes a GPS NAV Data message as described in IS-GPS-200M.

See https://www.gps.gov/sites/default/files/2025-07/IS-GPS-200M.pdf Appendix II

Definition at line 51 of file gps_navigation_message.h.

Constructor & Destructor Documentation

◆ Gps_Navigation_Message()

Gps_Navigation_Message::Gps_Navigation_Message ( LnavSystem system = LnavSystem::GPS)
explicit

Default constructor

Member Function Documentation

◆ get_almanac()

Gps_Almanac Gps_Navigation_Message::get_almanac ( )

Obtain a GPS almanac class filled with current SV data.

◆ get_ephemeris()

Gps_Ephemeris Gps_Navigation_Message::get_ephemeris ( ) const

Obtain a GPS SV Ephemeris class filled with current SV data.

◆ get_flag_iono_valid()

bool Gps_Navigation_Message::get_flag_iono_valid ( ) const
inline

Gets flag_iono_valid.

Definition at line 133 of file gps_navigation_message.h.

◆ get_flag_utc_model_valid()

bool Gps_Navigation_Message::get_flag_utc_model_valid ( ) const
inline

Gets flag_utc_model_valid.

Definition at line 141 of file gps_navigation_message.h.

◆ get_GPS_week()

int32_t Gps_Navigation_Message::get_GPS_week ( ) const
inline

Gets GPS Week Number.

Definition at line 101 of file gps_navigation_message.h.

◆ get_iono()

Gps_Iono Gps_Navigation_Message::get_iono ( )

Obtain a GPS ionospheric correction parameters class filled with current SV data.

◆ get_satellite_PRN()

uint32_t Gps_Navigation_Message::get_satellite_PRN ( ) const
inline

Gets satellite PRN number.

Definition at line 117 of file gps_navigation_message.h.

◆ get_TOW()

int32_t Gps_Navigation_Message::get_TOW ( ) const
inline

Gets Time of Week, in seconds.

Definition at line 93 of file gps_navigation_message.h.

◆ get_utc_model()

Gps_Utc_Model Gps_Navigation_Message::get_utc_model ( )

Obtain a GPS Almanac model parameters class filled with current SV data.

◆ set_channel()

void Gps_Navigation_Message::set_channel ( int32_t channel_id)
inline

Sets channel ID.

Definition at line 125 of file gps_navigation_message.h.

◆ set_satellite_PRN()

void Gps_Navigation_Message::set_satellite_PRN ( uint32_t prn)
inline

Sets satellite PRN number.

Definition at line 109 of file gps_navigation_message.h.

◆ subframe_decoder()

int32_t Gps_Navigation_Message::subframe_decoder ( const char * subframe)

Decodes the GPS NAV message.

◆ utc_time()

double Gps_Navigation_Message::utc_time ( double gpstime_corrected) const

Computes the Coordinated Universal Time (UTC) and returns it in [s] (IS-GPS-200M, 20.3.3.5.2.4).


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