GnssSvInfo Struct Reference

GnssSvInfo Struct Reference

#include < gps.h >

Data Fields

size_t  size
 
int16_t  svid
 
GnssConstellationType   constellation
 
float  c_n0_dbhz
 
float  elevation
 
float  azimuth
 
GnssSvFlags   flags
 

Detailed Description

Definition at line 575 of file gps.h .

Field Documentation

float azimuth

Azimuth of SV in degrees.

Definition at line 613 of file gps.h .

float c_n0_dbhz

Carrier-to-noise density in dB-Hz, typically in the range [0, 63]. It contains the measured C/N0 value for the signal at the antenna port.

This is a mandatory value.

Definition at line 607 of file gps.h .

Defines the constellation of the given SV. Value should be one of those GNSS_CONSTELLATION_* constants

Definition at line 599 of file gps.h .

float elevation

Elevation of SV in degrees.

Definition at line 610 of file gps.h .

Contains additional data about the given SV. Value should be one of those GNSS_SV_FLAGS_* constants

Definition at line 619 of file gps.h .

size_t size

set to sizeof(GnssSvInfo)

Definition at line 577 of file gps.h .

int16_t svid

Pseudo-random number for the SV, or FCN/OSN number for Glonass. The distinction is made by looking at constellation field. Values should be in the range of:

  • GPS: 1-32
  • SBAS: 120-151, 183-192
  • GLONASS: 1-24, the orbital slot number (OSN), if known. Or, if not: 93-106, the frequency channel number (FCN) (-7 to +6) offset by + 100 i.e. report an FCN of -7 as 93, FCN of 0 as 100, and FCN of +6 as 106.
  • QZSS: 193-200
  • Galileo: 1-36
  • Beidou: 1-37

Definition at line 593 of file gps.h .


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