Data Fields
AGpsInterface Struct Reference

Extended interface for AGPS support. More...

Data Fields

int(* data_conn_closed )()
 Notifies that the AGPS data connection has been closed. More...
 
int(* data_conn_failed )()
 Notifies that a data connection is not available for AGPS. More...
 
int(* data_conn_open )(const char *apn)
 Notifies that a data connection is available and sets the name of the APN to be used for SUPL. More...
 
void(* init )(AGpsCallbacks *callbacks)
 Opens the AGPS interface and provides the callback routines to the implemenation of this interface. More...
 
int(* set_server )(AGpsType type, const char *hostname, int port)
 Sets the hostname and port for the AGPS server. More...
 
size_t size
 set to sizeof(AGpsInterface) More...
 

Detailed Description

Extended interface for AGPS support.

Definition at line 492 of file gps.h.

Field Documentation

int(* AGpsInterface::data_conn_closed)()

Notifies that the AGPS data connection has been closed.

Definition at line 509 of file gps.h.

int(* AGpsInterface::data_conn_failed)()

Notifies that a data connection is not available for AGPS.

Definition at line 513 of file gps.h.

int(* AGpsInterface::data_conn_open)(const char *apn)

Notifies that a data connection is available and sets the name of the APN to be used for SUPL.

Definition at line 505 of file gps.h.

void(* AGpsInterface::init)(AGpsCallbacks *callbacks)

Opens the AGPS interface and provides the callback routines to the implemenation of this interface.

Definition at line 500 of file gps.h.

int(* AGpsInterface::set_server)(AGpsType type, const char *hostname, int port)

Sets the hostname and port for the AGPS server.

Definition at line 517 of file gps.h.

size_t AGpsInterface::size

set to sizeof(AGpsInterface)

Definition at line 494 of file gps.h.