GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
Public Member Functions | List of all members
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 ()
 
Gps_Ephemeris get_ephemeris () const
 Obtain a GPS SV Ephemeris class filled with current SV data. More...
 
Gps_Iono get_iono ()
 Obtain a GPS ionospheric correction parameters class filled with current SV data. More...
 
Gps_Utc_Model get_utc_model ()
 Obtain a GPS UTC model parameters class filled with current SV data. More...
 
int32_t subframe_decoder (const char *subframe)
 Decodes the GPS NAV message. More...
 
double utc_time (double gpstime_corrected) const
 Computes the Coordinated Universal Time (UTC) and returns it in s More...
 
int32_t get_TOW () const
 Gets Time of Week, in seconds. More...
 
int32_t get_GPS_week () const
 Sets Time of Week, in seconds. More...
 
void set_satellite_PRN (uint32_t prn)
 Sets satellite PRN number. More...
 
uint32_t get_satellite_PRN () const
 Gets satellite PRN number. More...
 
void set_channel (int32_t channel_id)
 Sets channel ID. More...
 
bool get_flag_iono_valid () const
 Gets flag_iono_valid. More...
 
bool get_flag_utc_model_valid () const
 Gets flag_utc_model_valid. More...
 
bool satellite_validation ()
 

Detailed Description

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

See https://www.gps.gov/technical/icwg/IS-GPS-200M.pdf Appendix II

Definition at line 45 of file gps_navigation_message.h.

Constructor & Destructor Documentation

◆ Gps_Navigation_Message()

Gps_Navigation_Message::Gps_Navigation_Message ( )

Default constructor

Member Function Documentation

◆ 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 122 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 130 of file gps_navigation_message.h.

◆ get_GPS_week()

int32_t Gps_Navigation_Message::get_GPS_week ( ) const
inline

Sets Time of Week, in seconds.

Definition at line 90 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 106 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 82 of file gps_navigation_message.h.

◆ get_utc_model()

Gps_Utc_Model Gps_Navigation_Message::get_utc_model ( )

Obtain a GPS UTC 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 114 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 98 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


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