Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
GpsSvInfo Struct Reference
#include <
gps.h
>
Legacy struct to represents SV information. Deprecated, to be removed in the next Android release. Use
GnssSvInfo
instead.
Definition at line
562
of file
gps.h
.
Azimuth of SV in degrees.
Definition at line
572
of file
gps.h
.
Elevation of SV in degrees.
Definition at line
570
of file
gps.h
.
Pseudo-random number for the SV.
Definition at line
566
of file
gps.h
.
set to sizeof(GpsSvInfo)
Definition at line
564
of file
gps.h
.
Signal to noise ratio.
Definition at line
568
of file
gps.h
.
The documentation for this struct was generated from the following file:
-
hardware/libhardware/include/hardware/
gps.h
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 UTC."],[],[],null,["# Android Hardware Abstraction Layer: GpsSvInfo Struct Reference\n\nGpsSvInfo Struct Reference\n==========================\n\n[Data Fields](#pub-attribs) \nGpsSvInfo Struct Reference \n\n`\n#include \u003c\n`[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)`\n\u003e\n`\n\n|--------|----------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| size_t | [size](/reference/hal/struct_gps_sv_info#a854352f53b148adc24983a58a1866d66) |\n| ||\n| int | [prn](/reference/hal/struct_gps_sv_info#a1a20174966be60ad4e9d2c1c00a75bf9) |\n| ||\n| float | [snr](/reference/hal/struct_gps_sv_info#a2f13c0d577ea505db647b3e3a8600831) |\n| ||\n| float | [elevation](/reference/hal/struct_gps_sv_info#a1c921d7f2f6a29b15d709c49d2df1797) |\n| ||\n| float | [azimuth](/reference/hal/struct_gps_sv_info#a01b03ebfa7d0a95760e743f611fecbc5) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nLegacy struct to represents SV information. Deprecated, to be removed in the next Android release. Use\n[GnssSvInfo](/reference/hal/struct_gnss_sv_info)\ninstead.\n\n\nDefinition at line\n[562](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\nField Documentation\n-------------------\n\n\n|---------------|\n| float azimuth |\n\n\nAzimuth of SV in degrees.\n\n\nDefinition at line\n[572](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|-----------------|\n| float elevation |\n\n\nElevation of SV in degrees.\n\n\nDefinition at line\n[570](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|---------|\n| int prn |\n\n\nPseudo-random number for the SV.\n\n\nDefinition at line\n[566](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|-------------|\n| size_t size |\n\n\nset to sizeof(GpsSvInfo)\n\n\nDefinition at line\n[564](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n|-----------|\n| float snr |\n\n\nSignal to noise ratio.\n\n\nDefinition at line\n[568](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\nof file\n[gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [gps.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h)"]]