gnssApi.h
Go to the documentation of this file.
92 typedef boost::function<void(boost::system::error_code error_code, GnssPosition& last_position)> get_position_handler_function;
93 typedef boost::function<void(boost::system::error_code error_code, GnssPosition& next_position)> get_periodic_position_handler_function;
94 typedef boost::function<void(boost::system::error_code error_code, GnssStatus& current_status)> get_gnss_status_handler_function;
95 typedef boost::function<void(boost::system::error_code error_code, tm date)> get_time_date_handler_function;
96 typedef boost::function<void(boost::system::error_code error_code, GnssInfo type, const std::string& value)> get_info_handler_function;
97 typedef boost::function<void(boost::system::error_code error_code, GnssPowerStatus pwr_stat)> power_status_handler_function;
150 void asyncSetPowerStatus(dpyGnss::GnssPowerStatus power_stat, dpyGnss::result_handler_function handler);
155 void asyncPerformSoftwareReset(dpyGnss::SwResetType reset_type, dpyGnss::result_handler_function handler);
178 void asyncStartSimulationMode(dpyGnss::SimulationMode simulation_type, std::string file_path,dpyGnss::result_handler_function handler);
189 virtual void asyncSetPowerStatus(dpyGnss::GnssPowerStatus power_stat, dpyGnss::result_handler_function handler);
193 virtual void asyncGetModuleInfo(dpyGnss::GnssInfo info, dpyGnss::get_info_handler_function handler);
194 virtual void asyncPerformSoftwareReset(dpyGnss::SwResetType reset_type, dpyGnss::result_handler_function handler);
217 virtual void asyncStartSimulationMode(dpyGnss::SimulationMode simulation_type, std::string file_path,dpyGnss::result_handler_function handler);
AntenaStatus antenna_stat
Current AntenaStatus, please check dpyGnss::AntenaStatus documentation to be able to interpret this v...
Definition: gnssApi.h:82
boost::function< void(boost::system::error_code error_code, GnssStatus ¤t_status)> get_gnss_status_handler_function
Prototype of the handler function for setPositionSubscriberHandler method.
Definition: gnssApi.h:94
Plain position text will be used to simulate positions.
Definition: gnssApi.h:30
NMEA format text will be used to simulate positions.
Definition: gnssApi.h:31
dpyGnssPosition::QualityIndicator fix_quality
Current FIX status. Module is FIXED if different from NO_FIX.
Definition: gnssApi.h:83
boost::function< void(boost::system::error_code error_code, GnssPowerStatus pwr_stat)> power_status_handler_function
Prototype of the handler function for generateEventMsg method.
Definition: gnssApi.h:97
SwResetType
Defines the possible ways of performing a GNSS Reset.
Definition: gnssApi.h:43
Defines the status information structure that is obtained within a GNSS STATUS.
Definition: gnssApi.h:79
Deepsy Gnss namespace that includes the different enums, structs or method signatures that should be ...
boost::function< void(boost::system::error_code error_code, GnssInfo type, const std::string &value)> get_info_handler_function
Prototype of the handler function for getModemInfo method.
Definition: gnssApi.h:96
boost::function< void(const bool &available)> service_availability_handler
Prototype of the handler function used to monitor service availability.
Definition: gnssApi.h:91
boost::function< void(boost::system::error_code error_code)> result_handler_function
Prototype of the handler function for obtaining result of the different operations.
Definition: gnssApi.h:98
GnssPowerStatus pwr_status
Current GnssPowerStatus.
Definition: gnssApi.h:81
AntenaStatus
Defines the possible status in which the antenna can be.
Definition: gnssApi.h:61
Antenna has been enabled and has voltage supply. Check interpretation of this value in the documentat...
Definition: gnssApi.h:66
boost::function< void(boost::system::error_code error_code, GnssPosition &next_position)> get_periodic_position_handler_function
Prototype of the handler function for setPositionSubscriberHandler method.
Definition: gnssApi.h:93
GnssInfo
Defines the possible information that can be queried.
Definition: gnssApi.h:70
boost::function< void(boost::system::error_code error_code, tm date)> get_time_date_handler_function
Prototype of the handler function for getStoredTimeDate method.
Definition: gnssApi.h:95
boost::function< void(boost::system::error_code error_code, GnssPosition &last_position)> get_position_handler_function
Prototype of the handler function for getLastPosition method.
Definition: gnssApi.h:92
GnssPowerStatus
Defines the possible GNSS POWER states that the gnss can be in.
Definition: gnssApi.h:35
QualityIndicator
Defines the posible FIX quality indicators.
Definition: gnssPosition.h:20
bool simulation_mode_active
Information about the status of the GNSS in terms of operation mode (real/simulation). If active, the positions received are not real , but simulated from a file.
Definition: gnssApi.h:84