Android Hardware Abstraction Layer
Data Fields
AGpsRilInterface Struct Reference

#include <gps.h>

Data Fields

size_t size
 
void(* init )(AGpsRilCallbacks *callbacks)
 
void(* set_ref_location )(const AGpsRefLocation *agps_reflocation, size_t sz_struct)
 
void(* set_set_id )(AGpsSetIDType type, const char *setid)
 
void(* ni_message )(uint8_t *msg, size_t len)
 
void(* update_network_state )(int connected, int type, int roaming, const char *extra_info)
 
void(* update_network_availability )(int avaiable, const char *apn)
 

Detailed Description

Extended interface for AGPS_RIL support.

Definition at line 719 of file gps.h.

Field Documentation

void(* init)(AGpsRilCallbacks *callbacks)

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

Definition at line 726 of file gps.h.

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

Send network initiated message.

Definition at line 740 of file gps.h.

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

Sets the reference location.

Definition at line 731 of file gps.h.

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

Sets the set ID.

Definition at line 735 of file gps.h.

size_t size

set to sizeof(AGpsRilInterface)

Definition at line 721 of file gps.h.

void(* 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 752 of file gps.h.

void(* 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 746 of file gps.h.


The documentation for this struct was generated from the following file: