AGpsRilInterface 구조 참조

AGpsRilInterface 구조 참조

#include < gps.h >

데이터 필드

size_t 크기
빈(* init ) ( AGpsRilCallbacks * 콜백)
빈(* set_ref_location ) (const AGpsRefLocation * agps_reflocation, size_t sz_struct)
빈(* set_set_id ) ( AGpsSetIDType 유형, const char * setid)
빈(* ni_message ) (uint8_t * msg, size_t len)
빈(* update_network_state ) (int connected, int type, int roaming, const char * extra_info)
빈(* update_network_availability ) (int avaiable, const char * apn)

상세 설명

AGPS_RIL 지원을위한 확장 인터페이스.

gps.h 파일의 1145 번째 라인에서 정의되었습니다.

현장 문서

void (* init) ( AGpsRilCallbacks * callbacks)

AGPS 인터페이스를 열고이 인터페이스의 구현에 콜백 루틴을 제공합니다.

gps.h 파일의 1152 번째 줄에서 정의되었습니다.

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

네트워크 시작 메시지를 보냅니다.

gps.h 파일의 1166 번째 줄에서 정의되었습니다.

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

참조 위치를 설정합니다.

gps.h 파일의 1157 번째 줄에서 정의되었습니다.

void (* set_set_id) ( AGpsSetIDType 유형, const char * setid)

설정된 ID를 설정합니다.

gps.h 파일의 1161 번째 줄에서 정의되었습니다.

size_t 크기

sizeof (AGpsRilInterface)로 설정

gps.h 파일의 1147 번째 줄에서 정의되었습니다.

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

네트워크 상태 변경을 GPS에 알립니다. 이러한 매개 변수는 android.net.NetworkInfo 클래스의 값과 일치합니다.

gps.h 파일의 1178 번째 줄에서 정의되었습니다.

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

네트워크 상태 변경을 GPS에 알립니다. 이러한 매개 변수는 android.net.NetworkInfo 클래스의 값과 일치합니다.

gps.h 파일의 1172 번째 줄에서 정의되었습니다.


이 구조체에 대한 문서는 다음 파일에서 생성되었습니다.
  • 하드웨어 / libhardware / include / hardware / gps.h