gps.h File Reference

Go to the source code of this file.


Data Structures

struct  AGpsCallbacks
 Callback structure for the AGPS interface. More...
struct  AGpsInterface
 Extended interface for AGPS support. More...
struct  AGpsStatus
 Represents the status of AGPS. More...
struct  GpsCallbacks
 GPS callback structure. More...
struct  GpsInterface
 Represents the standard GPS interface. More...
struct  GpsLocation
 Represents a location. More...
struct  GpsStatus
 Represents the status. More...
struct  GpsSvInfo
 Represents SV information. More...
struct  GpsSvStatus
 Represents SV status. More...
struct  GpsXtraCallbacks
 Callback structure for the XTRA interface. More...
struct  GpsXtraInterface
 Extended interface for XTRA support. More...

Typedefs

typedef void(* agps_status_callback )(AGpsStatus *status)
 Callback with AGPS status information.
typedef uint16_t AGpsStatusValue
 AGPS status event values.
typedef uint16_t AGpsType
 AGPS type.
typedef void(* gps_location_callback )(GpsLocation *location)
 Callback with location information.
typedef void(* gps_status_callback )(GpsStatus *status)
 Callback with status information.
typedef void(* gps_sv_status_callback )(GpsSvStatus *sv_info)
 Callback with SV status information.
typedef void(* gps_xtra_download_request )()
 Callback to request the client to download XTRA data.
typedef uint16_t GpsAidingData
 Flags used to specify which aiding data to delete when calling delete_aiding_data().
typedef uint16_t GpsLocationFlags
 Flags to indicate which values are valid in a GpsLocation.
typedef uint16_t GpsPositionMode
 Requested mode for GPS operation.
typedef uint16_t GpsStatusValue
 GPS status event values.
typedef int64_t GpsUtcTime
 Milliseconds since January 1, 1970.

Functions

const GpsInterfacegps_get_hardware_interface ()
 Returns the hardware GPS interface.
const GpsInterfacegps_get_interface ()
 Returns the default GPS interface.
const GpsInterfacegps_get_qemu_interface ()
 Returns the qemu emulated GPS interface.

Typedef Documentation

typedef void(* agps_status_callback)(AGpsStatus *status)

Callback with AGPS status information.

Definition at line 274 of file gps.h.

typedef uint16_t AGpsStatusValue

AGPS status event values.

Definition at line 99 of file gps.h.

typedef uint16_t AGpsType

AGPS type.

Definition at line 93 of file gps.h.

typedef void(* gps_location_callback)(GpsLocation *location)

Callback with location information.

Definition at line 185 of file gps.h.

typedef void(* gps_status_callback)(GpsStatus *status)

Callback with status information.

Definition at line 188 of file gps.h.

typedef void(* gps_sv_status_callback)(GpsSvStatus *sv_info)

Callback with SV status information.

Definition at line 191 of file gps.h.

typedef void(* gps_xtra_download_request)()

Callback to request the client to download XTRA data.

The client should download XTRA data and inject it by calling inject_xtra_data().

Definition at line 249 of file gps.h.

typedef uint16_t GpsAidingData

Flags used to specify which aiding data to delete when calling delete_aiding_data().

Definition at line 75 of file gps.h.

typedef uint16_t GpsLocationFlags

Flags to indicate which values are valid in a GpsLocation.

Definition at line 59 of file gps.h.

typedef uint16_t GpsPositionMode

Requested mode for GPS operation.

Definition at line 33 of file gps.h.

typedef uint16_t GpsStatusValue

GPS status event values.

Definition at line 44 of file gps.h.

typedef int64_t GpsUtcTime

Milliseconds since January 1, 1970.

Definition at line 27 of file gps.h.


Function Documentation

const GpsInterface* gps_get_hardware_interface (  ) 

Returns the hardware GPS interface.

const GpsInterface* gps_get_interface (  ) 

Returns the default GPS interface.

const GpsInterface* gps_get_qemu_interface (  ) 

Returns the qemu emulated GPS interface.