GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
Public Member Functions | Public Attributes | List of all members
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. More...
 
bool save_ephemeris_map_xml (const std::string &file_name, std::map< int, Gps_Ephemeris > eph_map)
 Save ephemeris map to XML file. More...
 
bool load_cnav_ephemeris_xml (const std::string &file_name)
 Read GPS CNAV ephemeris map from XML file. More...
 
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. More...
 
bool load_gal_ephemeris_xml (const std::string &file_name)
 Read Galileo ephemeris map from XML file. More...
 
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. More...
 
bool load_gnav_ephemeris_xml (const std::string &file_name)
 Read GLONASS GNAV ephemeris map from XML file. More...
 
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. More...
 
bool load_utc_xml (const std::string &file_name)
 Read GPS utc model from XML file. More...
 
bool save_utc_xml (const std::string &file_name, Gps_Utc_Model &utc)
 Save UTC model map to XML file. More...
 
bool load_cnav_utc_xml (const std::string &file_name)
 Read CNAV GPS utc model from XML file. More...
 
bool save_cnav_utc_xml (const std::string &file_name, Gps_CNAV_Utc_Model &utc)
 Save CNAV UTC model map to XML file. More...
 
bool load_gal_utc_xml (const std::string &file_name)
 Read Galileo utc model from XML file. More...
 
bool save_gal_utc_xml (const std::string &file_name, Galileo_Utc_Model &utc)
 Save Galileo UTC model map to XML file. More...
 
bool load_gal_almanac_xml (const std::string &file_name)
 Read Galileo almanac map from XML file. More...
 
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. More...
 
bool load_gps_almanac_xml (const std::string &file_name)
 Read GPS almanac map from XML file. More...
 
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. More...
 
bool load_iono_xml (const std::string &file_name)
 Read iono from XML file. More...
 
bool save_iono_xml (const std::string &file_name, Gps_Iono &iono)
 Save iono map to XML file. More...
 
bool load_gal_iono_xml (const std::string &file_name)
 Read Galileo iono from XML file. More...
 
bool save_gal_iono_xml (const std::string &file_name, Galileo_Iono &iono)
 Save Galileo iono map to XML file. More...
 
bool load_glo_utc_xml (const std::string &file_name)
 Read Glonass utc model from XML file. More...
 
bool save_glo_utc_xml (const std::string &file_name, Glonass_Gnav_Utc_Model &utc)
 Save Glonass UTC model map to XML file. More...
 
bool load_ref_time_xml (const std::string &file_name)
 Read ref time from XML file. More...
 
bool save_ref_time_xml (const std::string &file_name, Agnss_Ref_Time &ref_time_map)
 Save ref time map to XML file. More...
 
bool load_ref_location_xml (const std::string &file_name)
 Read ref location from XML file. More...
 
bool save_ref_location_xml (const std::string &file_name, Agnss_Ref_Location &ref_location)
 Save ref location map to XML file. More...
 
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.


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