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 996 of file gps.h.

Field Documentation

void(* init)(AGpsRilCallbacks *callbacks)

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

Definition at line 1003 of file gps.h.

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

Send network initiated message.

Definition at line 1017 of file gps.h.

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

Sets the reference location.

Definition at line 1008 of file gps.h.

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

Sets the set ID.

Definition at line 1012 of file gps.h.

size_t size

set to sizeof(AGpsRilInterface)

Definition at line 998 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 1029 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 1023 of file gps.h.


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