20#ifndef GNSS_SDR_SUPL_CLIENT_H
21#define GNSS_SDR_SUPL_CLIENT_H
55class Gnss_Sdr_Supl_Client
58 Gnss_Sdr_Supl_Client();
59 ~Gnss_Sdr_Supl_Client() =
default;
62 std::string server_name;
66 std::map<int, Gps_Ephemeris> gps_ephemeris_map;
67 std::map<int, Galileo_Ephemeris> gal_ephemeris_map;
68 std::map<int, Gps_CNAV_Ephemeris> gps_cnav_ephemeris_map;
69 std::map<int, Glonass_Gnav_Ephemeris> glonass_gnav_ephemeris_map;
72 std::map<int, Gps_Almanac> gps_almanac_map;
73 std::map<int, Galileo_Almanac> gal_almanac_map;
88 std::map<int, Gps_Acq_Assist> gps_acq_map;
98 int get_assistance(
int i_mcc,
int i_mns,
int i_lac,
int i_ci);
104 void read_supl_data();
115 std::map<int, Gps_Ephemeris> eph_map);
126 std::map<int, Gps_CNAV_Ephemeris> eph_map);
137 std::map<int, Galileo_Ephemeris> eph_map);
148 std::map<int, Glonass_Gnav_Ephemeris> eph_map);
188 bool save_gal_almanac_xml(
const std::string& file_name, std::map<int, Galileo_Almanac> galileo_almanac_map_to_save);
255 void print_assistance();
258 bool read_gal_almanac_from_gsa(
const std::string& file_name);
262 supl_assist_t assist{};
Interface of an Assisted GNSS REFERENCE LOCATION storage.
Interface of an Assisted GNSS REFERENCE TIME storage.
Interface of an Assisted GNSS REFERENCE LOCATION storage.
Interface of an Assisted GNSS REFERENCE TIME storage.
This class is a storage for the GALILEO IONOSPHERIC data as described in Galileo ICD paragraph 5....
This class is a storage for the GALILEO UTC MODEL data as described in Galileo ICD https://www....
This class is a storage for the GLONASS GNAV UTC MODEL data as described in GLONASS ICD (Edition 5....
bool load_gal_almanac_xml(const std::string &file_name)
Read Galileo almanac map from XML file.
bool load_glo_utc_xml(const std::string &file_name)
Read Glonass utc model 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_cnav_ephemeris_xml(const std::string &file_name)
Read GPS CNAV ephemeris map 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_gal_utc_xml(const std::string &file_name)
Read Galileo utc model 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 save_glo_utc_xml(const std::string &file_name, Glonass_Gnav_Utc_Model &utc)
Save Glonass 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_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 save_gal_utc_xml(const std::string &file_name, Galileo_Utc_Model &utc)
Save Galileo UTC model map to XML file.
bool load_gps_almanac_xml(const std::string &file_name)
Read GPS almanac map from XML file.
bool load_iono_xml(const std::string &file_name)
Read iono 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_gal_ephemeris_xml(const std::string &file_name)
Read Galileo ephemeris map from XML file.
bool load_gnav_ephemeris_xml(const std::string &file_name)
Read GLONASS GNAV ephemeris map 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_ref_time_xml(const std::string &file_name)
Read ref time 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.
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 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 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_gal_iono_xml(const std::string &file_name)
Read Galileo iono from XML file.
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_ref_location_xml(const std::string &file_name)
Read ref location from XML file.
bool save_iono_xml(const std::string &file_name, Gps_Iono &iono)
Save iono map to XML file.
This class is a storage for the GPS UTC MODEL data as described in in IS-GPS-200M.
This class is a storage for the GPS IONOSPHERIC data as described in IS-GPS-200M.
This class is a storage for the GPS UTC MODEL data as described in IS-GPS-200M.
Interface of a Galileo ALMANAC storage.
Interface of a Galileo EPHEMERIS storage.
Interface of a Galileo Ionospheric Model storage.
Interface of a Galileo UTC MODEL storage.
Interface of a GLONASS EPHEMERIS storage.
Interface of a GLONASS GNAV UTC MODEL storage.
Interface of a GPS RRLL ACQUISITION ASSISTACE storage.
Interface of a GPS ALMANAC storage.
Interface of a GPS CNAV EPHEMERIS storage.
Interface of a GPS CNAV UTC MODEL storage.
Interface of a GPS EPHEMERIS storage.
Interface of a GPS IONOSPHERIC MODEL storage.
Interface of a GPS UTC MODEL storage.