Od 27 marca 2025 r. zalecamy używanie android-latest-release
zamiast aosp-main
do kompilowania i wspołtworzenia AOSP. Więcej informacji znajdziesz w artykule o zmianach w AOSP.
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Odwołania do struktury GnssSvInfo
#include <
gps.h
>
Definicja w wierszu
575
pliku
gps.h
.
Azymut satelity w stopniach.
Definicja w wierszu
613
w pliku
gps.h
.
Współczynnik gęstości sygnału w dB-Hz, zwykle w zakresie [0, 63]. Zawiera zmierzoną wartość C/N0 sygnału na porcie anteny.
Ta wartość jest wymagana.
Definicja w wierszu
607
pliku
gps.h
.
Definiuje konstelację danego satelity. Wartość powinna być jedną z tych stałych GNSS_CONSTELLATION_*
Definicja w wierszu
599
pliku
gps.h
.
Wysokość SV w stopniach.
Definicja w wierszu
610
w pliku
gps.h
.
Zawiera dodatkowe dane o danym SV. Wartość powinna być jedną z tych stałych wartości GNSS_SV_FLAGS_*.
Definicja w wierszu
619
pliku
gps.h
.
ustaw na sizeof(GnssSvInfo)
Definicja w wierszu
577
pliku
gps.h
.
Liczba pseudolosowa dla SV lub numer FCN/OSN dla Glonas. Różnica polega na tym, że w przypadku konstelacji sprawdzane jest pole constellation. Wartości powinny mieścić się w tym zakresie:
-
GPS: 1–32
-
SBAS: 120-151, 183-192
-
GLONASS: 1–24, numer slotu orbitalnego (OSN), jeśli jest znany. Jeśli nie: 93–106, numer kanału częstotliwości (FCN) (-7 do +6) przesunięty o +100, np. raport FCN o -7 jako 93, FCN o 0 jako 100 i FCN o +6 jako 106.
-
QZSS: 193-200
-
Galileo: 1–36
-
Beidou: 1–37
Definicja w wierszu
593
pliku
gps.h
.
Dokumentacja tego typu danych została wygenerowana z tego pliku:
-
hardware/libhardware/include/hardware/
gps.h
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-27 UTC."],[],[],null,["# Android Hardware Abstraction Layer: GnssSvInfo Struct Reference\n\nGnssSvInfo Struct Reference\n===========================\n\n[Data Fields](#pub-attribs) \nGnssSvInfo 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_gnss_sv_info#a854352f53b148adc24983a58a1866d66) |\n| ||\n| int16_t | [svid](/reference/hal/struct_gnss_sv_info#a1f9f9bb3d6474ed021c65f57d5d6702b) |\n| ||\n| [GnssConstellationType](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) | [constellation](/reference/hal/struct_gnss_sv_info#a8484c45fd5f95799df85efef0d62b773) |\n| ||\n| float | [c_n0_dbhz](/reference/hal/struct_gnss_sv_info#ac948700fde8e354a89994a5133abed9a) |\n| ||\n| float | [elevation](/reference/hal/struct_gnss_sv_info#a1c921d7f2f6a29b15d709c49d2df1797) |\n| ||\n| float | [azimuth](/reference/hal/struct_gnss_sv_info#a01b03ebfa7d0a95760e743f611fecbc5) |\n| ||\n| [GnssSvFlags](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) | [flags](/reference/hal/struct_gnss_sv_info#afd2e459cce87ef8ceb841c395095f81b) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[575](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[613](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 c_n0_dbhz |\n\n\nCarrier-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.\n\n\nThis is a mandatory value.\n\n\nDefinition at line\n[607](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| [GnssConstellationType](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) constellation |\n\n\nDefines the constellation of the given SV. Value should be one of those GNSS_CONSTELLATION_\\* constants\n\n\nDefinition at line\n[599](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[610](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| [GnssSvFlags](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) flags |\n\n\nContains additional data about the given SV. Value should be one of those GNSS_SV_FLAGS_\\* constants\n\n\nDefinition at line\n[619](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(GnssSvInfo)\n\n\nDefinition at line\n[577](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| int16_t svid |\n\n\nPseudo-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:\n\n- GPS: 1-32\n- SBAS: 120-151, 183-192\n- 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.\n- QZSS: 193-200\n- Galileo: 1-36\n- Beidou: 1-37\n\n\nDefinition at line\n[593](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)"]]