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

class that implements a C++ interface to external Secure User Location Protocol (SUPL) client library.. More...

#include <gnss_sdr_supl_client.h>

Public Member Functions

int get_assistance (int i_mcc, int i_mns, int i_lac, int i_ci)
void read_supl_data ()
bool load_ephemeris_xml (const std::string &file_name)
 Read GPS NAV ephemeris map from XML file.
bool save_ephemeris_map_xml (const std::string &file_name, std::map< int, Gps_Ephemeris > eph_map)
 Save ephemeris map to XML file.
bool load_cnav_ephemeris_xml (const std::string &file_name)
 Read GPS CNAV ephemeris map from XML file.
bool save_cnav_ephemeris_map_xml (const std::string &file_name, std::map< int, Gps_CNAV_Ephemeris > eph_map)
 Save GPS CNAV ephemeris map to XML file.
bool load_gal_ephemeris_xml (const std::string &file_name)
 Read Galileo ephemeris map from XML file.
bool save_gal_ephemeris_map_xml (const std::string &file_name, std::map< int, Galileo_Ephemeris > eph_map)
 Save Galileo ephemeris map to XML file.
bool load_gnav_ephemeris_xml (const std::string &file_name)
 Read GLONASS GNAV ephemeris map from XML file.
bool save_gnav_ephemeris_map_xml (const std::string &file_name, std::map< int, Glonass_Gnav_Ephemeris > eph_map)
 Save GLONASS GNAV ephemeris map to XML file.
bool load_utc_xml (const std::string &file_name)
 Read GPS utc model from XML file.
bool save_utc_xml (const std::string &file_name, Gps_Utc_Model &utc)
 Save UTC model map to XML file.
bool load_cnav_utc_xml (const std::string &file_name)
 Read CNAV GPS utc model from XML file.
bool save_cnav_utc_xml (const std::string &file_name, Gps_CNAV_Utc_Model &utc)
 Save CNAV UTC model map to XML file.
bool load_gal_utc_xml (const std::string &file_name)
 Read Galileo utc model from XML file.
bool save_gal_utc_xml (const std::string &file_name, Galileo_Utc_Model &utc)
 Save Galileo UTC model map to XML file.
bool load_gal_almanac_xml (const std::string &file_name)
 Read Galileo almanac map from XML file.
bool save_gal_almanac_xml (const std::string &file_name, std::map< int, Galileo_Almanac > galileo_almanac_map_to_save)
 Save Galileo almanac map to XML file.
bool load_gps_almanac_xml (const std::string &file_name)
 Read GPS almanac map from XML file.
bool save_gps_almanac_xml (const std::string &file_name, std::map< int, Gps_Almanac > gps_almanac_map_to_save)
 Save GPS almanac map to XML file.
bool load_iono_xml (const std::string &file_name)
 Read iono from XML file.
bool save_iono_xml (const std::string &file_name, Gps_Iono &iono)
 Save iono map to XML file.
bool load_gal_iono_xml (const std::string &file_name)
 Read Galileo iono from XML file.
bool save_gal_iono_xml (const std::string &file_name, Galileo_Iono &iono)
 Save Galileo iono map to XML file.
bool load_glo_utc_xml (const std::string &file_name)
 Read Glonass utc model from XML file.
bool save_glo_utc_xml (const std::string &file_name, Glonass_Gnav_Utc_Model &utc)
 Save Glonass UTC model map to XML file.
bool load_ref_time_xml (const std::string &file_name)
 Read ref time from XML file.
bool save_ref_time_xml (const std::string &file_name, Agnss_Ref_Time &ref_time_map)
 Save ref time map to XML file.
bool load_ref_location_xml (const std::string &file_name)
 Read ref location from XML file.
bool save_ref_location_xml (const std::string &file_name, Agnss_Ref_Location &ref_location)
 Save ref location map to XML file.
void print_assistance ()

Public Attributes

std::string server_name
int server_port
int request
std::map< int, Gps_Ephemerisgps_ephemeris_map
std::map< int, Galileo_Ephemerisgal_ephemeris_map
std::map< int, Gps_CNAV_Ephemerisgps_cnav_ephemeris_map
std::map< int, Glonass_Gnav_Ephemerisglonass_gnav_ephemeris_map
std::map< int, Gps_Almanacgps_almanac_map
std::map< int, Galileo_Almanacgal_almanac_map
Gps_Iono gps_iono
Galileo_Iono gal_iono
Agnss_Ref_Time gps_time
Gps_Utc_Model gps_utc
Galileo_Utc_Model gal_utc
Gps_CNAV_Utc_Model gps_cnav_utc
Glonass_Gnav_Utc_Model glo_gnav_utc
Agnss_Ref_Location gps_ref_loc
std::map< int, Gps_Acq_Assistgps_acq_map

Detailed Description

class that implements a C++ interface to external Secure User Location Protocol (SUPL) client library..

Definition at line 55 of file gnss_sdr_supl_client.h.

Member Function Documentation

◆ load_cnav_ephemeris_xml()

bool Gnss_Sdr_Supl_Client::load_cnav_ephemeris_xml ( const std::string & file_name)

Read GPS CNAV ephemeris map from XML file.

◆ load_cnav_utc_xml()

bool Gnss_Sdr_Supl_Client::load_cnav_utc_xml ( const std::string & file_name)

Read CNAV GPS utc model from XML file.

◆ load_ephemeris_xml()

bool Gnss_Sdr_Supl_Client::load_ephemeris_xml ( const std::string & file_name)

Read GPS NAV ephemeris map from XML file.

◆ load_gal_almanac_xml()

bool Gnss_Sdr_Supl_Client::load_gal_almanac_xml ( const std::string & file_name)

Read Galileo almanac map from XML file.

◆ load_gal_ephemeris_xml()

bool Gnss_Sdr_Supl_Client::load_gal_ephemeris_xml ( const std::string & file_name)

Read Galileo ephemeris map from XML file.

◆ load_gal_iono_xml()

bool Gnss_Sdr_Supl_Client::load_gal_iono_xml ( const std::string & file_name)

Read Galileo iono from XML file.

◆ load_gal_utc_xml()

bool Gnss_Sdr_Supl_Client::load_gal_utc_xml ( const std::string & file_name)

Read Galileo utc model from XML file.

◆ load_glo_utc_xml()

bool Gnss_Sdr_Supl_Client::load_glo_utc_xml ( const std::string & file_name)

Read Glonass utc model from XML file.

◆ load_gnav_ephemeris_xml()

bool Gnss_Sdr_Supl_Client::load_gnav_ephemeris_xml ( const std::string & file_name)

Read GLONASS GNAV ephemeris map from XML file.

◆ load_gps_almanac_xml()

bool Gnss_Sdr_Supl_Client::load_gps_almanac_xml ( const std::string & file_name)

Read GPS almanac map from XML file.

◆ load_iono_xml()

bool Gnss_Sdr_Supl_Client::load_iono_xml ( const std::string & file_name)

Read iono from XML file.

◆ load_ref_location_xml()

bool Gnss_Sdr_Supl_Client::load_ref_location_xml ( const std::string & file_name)

Read ref location from XML file.

◆ load_ref_time_xml()

bool Gnss_Sdr_Supl_Client::load_ref_time_xml ( const std::string & file_name)

Read ref time from XML file.

◆ load_utc_xml()

bool Gnss_Sdr_Supl_Client::load_utc_xml ( const std::string & file_name)

Read GPS utc model from XML file.

◆ save_cnav_ephemeris_map_xml()

bool Gnss_Sdr_Supl_Client::save_cnav_ephemeris_map_xml ( const std::string & file_name,
std::map< int, Gps_CNAV_Ephemeris > eph_map )

Save GPS CNAV ephemeris map to XML file.

◆ save_cnav_utc_xml()

bool Gnss_Sdr_Supl_Client::save_cnav_utc_xml ( const std::string & file_name,
Gps_CNAV_Utc_Model & utc )

Save CNAV UTC model map to XML file.

◆ save_ephemeris_map_xml()

bool Gnss_Sdr_Supl_Client::save_ephemeris_map_xml ( const std::string & file_name,
std::map< int, Gps_Ephemeris > eph_map )

Save ephemeris map to XML file.

◆ save_gal_almanac_xml()

bool Gnss_Sdr_Supl_Client::save_gal_almanac_xml ( const std::string & file_name,
std::map< int, Galileo_Almanac > galileo_almanac_map_to_save )

Save Galileo almanac map to XML file.

◆ save_gal_ephemeris_map_xml()

bool Gnss_Sdr_Supl_Client::save_gal_ephemeris_map_xml ( const std::string & file_name,
std::map< int, Galileo_Ephemeris > eph_map )

Save Galileo ephemeris map to XML file.

◆ save_gal_iono_xml()

bool Gnss_Sdr_Supl_Client::save_gal_iono_xml ( const std::string & file_name,
Galileo_Iono & iono )

Save Galileo iono map to XML file.

◆ save_gal_utc_xml()

bool Gnss_Sdr_Supl_Client::save_gal_utc_xml ( const std::string & file_name,
Galileo_Utc_Model & utc )

Save Galileo UTC model map to XML file.

◆ save_glo_utc_xml()

bool Gnss_Sdr_Supl_Client::save_glo_utc_xml ( const std::string & file_name,
Glonass_Gnav_Utc_Model & utc )

Save Glonass UTC model map to XML file.

◆ save_gnav_ephemeris_map_xml()

bool Gnss_Sdr_Supl_Client::save_gnav_ephemeris_map_xml ( const std::string & file_name,
std::map< int, Glonass_Gnav_Ephemeris > eph_map )

Save GLONASS GNAV ephemeris map to XML file.

◆ save_gps_almanac_xml()

bool Gnss_Sdr_Supl_Client::save_gps_almanac_xml ( const std::string & file_name,
std::map< int, Gps_Almanac > gps_almanac_map_to_save )

Save GPS almanac map to XML file.

◆ save_iono_xml()

bool Gnss_Sdr_Supl_Client::save_iono_xml ( const std::string & file_name,
Gps_Iono & iono )

Save iono map to XML file.

◆ save_ref_location_xml()

bool Gnss_Sdr_Supl_Client::save_ref_location_xml ( const std::string & file_name,
Agnss_Ref_Location & ref_location )

Save ref location map to XML file.

◆ save_ref_time_xml()

bool Gnss_Sdr_Supl_Client::save_ref_time_xml ( const std::string & file_name,
Agnss_Ref_Time & ref_time_map )

Save ref time map to XML file.

◆ save_utc_xml()

bool Gnss_Sdr_Supl_Client::save_utc_xml ( const std::string & file_name,
Gps_Utc_Model & utc )

Save UTC model map to XML file.

Member Data Documentation

◆ gal_almanac_map

std::map<int, Galileo_Almanac> Gnss_Sdr_Supl_Client::gal_almanac_map

Definition at line 73 of file gnss_sdr_supl_client.h.

◆ gal_ephemeris_map

std::map<int, Galileo_Ephemeris> Gnss_Sdr_Supl_Client::gal_ephemeris_map

Definition at line 67 of file gnss_sdr_supl_client.h.

◆ gal_iono

Galileo_Iono Gnss_Sdr_Supl_Client::gal_iono

Definition at line 77 of file gnss_sdr_supl_client.h.

◆ gal_utc

Galileo_Utc_Model Gnss_Sdr_Supl_Client::gal_utc

Definition at line 82 of file gnss_sdr_supl_client.h.

◆ glo_gnav_utc

Glonass_Gnav_Utc_Model Gnss_Sdr_Supl_Client::glo_gnav_utc

Definition at line 84 of file gnss_sdr_supl_client.h.

◆ glonass_gnav_ephemeris_map

std::map<int, Glonass_Gnav_Ephemeris> Gnss_Sdr_Supl_Client::glonass_gnav_ephemeris_map

Definition at line 69 of file gnss_sdr_supl_client.h.

◆ gps_acq_map

std::map<int, Gps_Acq_Assist> Gnss_Sdr_Supl_Client::gps_acq_map

Definition at line 88 of file gnss_sdr_supl_client.h.

◆ gps_almanac_map

std::map<int, Gps_Almanac> Gnss_Sdr_Supl_Client::gps_almanac_map

Definition at line 72 of file gnss_sdr_supl_client.h.

◆ gps_cnav_ephemeris_map

std::map<int, Gps_CNAV_Ephemeris> Gnss_Sdr_Supl_Client::gps_cnav_ephemeris_map

Definition at line 68 of file gnss_sdr_supl_client.h.

◆ gps_cnav_utc

Gps_CNAV_Utc_Model Gnss_Sdr_Supl_Client::gps_cnav_utc

Definition at line 83 of file gnss_sdr_supl_client.h.

◆ gps_ephemeris_map

std::map<int, Gps_Ephemeris> Gnss_Sdr_Supl_Client::gps_ephemeris_map

Definition at line 66 of file gnss_sdr_supl_client.h.

◆ gps_iono

Gps_Iono Gnss_Sdr_Supl_Client::gps_iono

Definition at line 76 of file gnss_sdr_supl_client.h.

◆ gps_ref_loc

Agnss_Ref_Location Gnss_Sdr_Supl_Client::gps_ref_loc

Definition at line 86 of file gnss_sdr_supl_client.h.

◆ gps_time

Agnss_Ref_Time Gnss_Sdr_Supl_Client::gps_time

Definition at line 79 of file gnss_sdr_supl_client.h.

◆ gps_utc

Gps_Utc_Model Gnss_Sdr_Supl_Client::gps_utc

Definition at line 81 of file gnss_sdr_supl_client.h.

◆ request

int Gnss_Sdr_Supl_Client::request

Definition at line 64 of file gnss_sdr_supl_client.h.

◆ server_name

std::string Gnss_Sdr_Supl_Client::server_name

Definition at line 62 of file gnss_sdr_supl_client.h.

◆ server_port

int Gnss_Sdr_Supl_Client::server_port

Definition at line 63 of file gnss_sdr_supl_client.h.


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