AGpsStatus Struct Reference

AGpsStatus Struct Reference

#include < gps.h >

Data Fields

size_t  size
AGpsType   type
AGpsStatusValue   status
uint32_t  ipaddr
struct sockaddr_storage  addr

Detailed Description

Definition at line 885 of file gps.h .

Field Documentation

struct sockaddr_storage addr

Must contain the IPv4 (AF_INET) or IPv6 (AF_INET6) address to report. Any other value of addr.ss_family will be rejected.

Definition at line 902 of file gps.h .

uint32_t ipaddr

Must be set to a valid IPv4 address if the field 'addr' contains an IPv4 address, or set to INADDR_NONE otherwise.

Definition at line 896 of file gps.h .

size_t size

set to sizeof(AGpsStatus)

Definition at line 887 of file gps.h .

Definition at line 890 of file gps.h .

Definition at line 889 of file gps.h .

The documentation for this struct was generated from the following file:
  • hardware/libhardware/include/hardware/ gps.h