Represents the standard GPS interface. More...
Data Fields | |
void(* | cleanup )(void) |
Closes the interface. More... | |
void(* | delete_aiding_data )(GpsAidingData flags) |
Specifies that the next call to start will not use the information defined in the flags. More... | |
const void *(* | get_extension )(const char *name) |
Get a pointer to extension information. More... | |
int(* | init )(GpsCallbacks *callbacks) |
Opens the interface and provides the callback routines to the implemenation of this interface. More... | |
int(* | inject_location )(double latitude, double longitude, float accuracy) |
Injects current location from another location provider (typically cell ID). More... | |
int(* | inject_time )(GpsUtcTime time, int64_t timeReference, int uncertainty) |
Injects the current time. More... | |
int(* | set_position_mode )(GpsPositionMode mode, GpsPositionRecurrence recurrence, uint32_t min_interval, uint32_t preferred_accuracy, uint32_t preferred_time) |
min_interval represents the time between fixes in milliseconds. More... | |
size_t | size |
set to sizeof(GpsInterface) More... | |
int(* | start )(void) |
Starts navigating. More... | |
int(* | stop )(void) |
Stops navigating. More... | |
void(* GpsInterface::delete_aiding_data)(GpsAidingData flags) |
const void*(* GpsInterface::get_extension)(const char *name) |
int(* GpsInterface::init)(GpsCallbacks *callbacks) |
int(* GpsInterface::inject_location)(double latitude, double longitude, float accuracy) |
int(* GpsInterface::inject_time)(GpsUtcTime time, int64_t timeReference, int uncertainty) |
int(* GpsInterface::set_position_mode)(GpsPositionMode mode, GpsPositionRecurrence recurrence, uint32_t min_interval, uint32_t preferred_accuracy, uint32_t preferred_time) |