Data Fields
AGpsRilInterface Struct Reference

Extended interface for AGPS_RIL support. More...

Data Fields

void(* init )(AGpsRilCallbacks *callbacks)
 Opens the AGPS interface and provides the callback routines to the implemenation of this interface. More...
 
void(* ni_message )(uint8_t *msg, size_t len)
 Send network initiated message. More...
 
void(* set_ref_location )(const AGpsRefLocation *agps_reflocation, size_t sz_struct)
 Sets the reference location. More...
 
void(* set_set_id )(AGpsSetIDType type, const char *setid)
 Sets the set ID. More...
 
size_t size
 set to sizeof(AGpsRilInterface) More...
 
void(* update_network_availability )(int avaiable, const char *apn)
 Notify GPS of network status changes. More...
 
void(* update_network_state )(int connected, int type, int roaming, const char *extra_info)
 Notify GPS of network status changes. More...
 

Detailed Description

Extended interface for AGPS_RIL support.

Definition at line 640 of file gps.h.

Field Documentation

void(* AGpsRilInterface::init)(AGpsRilCallbacks *callbacks)

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

Definition at line 647 of file gps.h.

void(* AGpsRilInterface::ni_message)(uint8_t *msg, size_t len)

Send network initiated message.

Definition at line 661 of file gps.h.

void(* AGpsRilInterface::set_ref_location)(const AGpsRefLocation *agps_reflocation, size_t sz_struct)

Sets the reference location.

Definition at line 652 of file gps.h.

void(* AGpsRilInterface::set_set_id)(AGpsSetIDType type, const char *setid)

Sets the set ID.

Definition at line 656 of file gps.h.

size_t AGpsRilInterface::size

set to sizeof(AGpsRilInterface)

Definition at line 642 of file gps.h.

void(* AGpsRilInterface::update_network_availability)(int avaiable, const char *apn)

Notify GPS of network status changes.

These parameters match values in the android.net.NetworkInfo class.

Definition at line 673 of file gps.h.

void(* AGpsRilInterface::update_network_state)(int connected, int type, int roaming, const char *extra_info)

Notify GPS of network status changes.

These parameters match values in the android.net.NetworkInfo class.

Definition at line 667 of file gps.h.