החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפניה ל-Struct של GnssSvInfo
#include <
gps.h
>
ההגדרה מופיעה בשורה
575
בקובץ
gps.h
.
כיוון צפון (azimuth) של צף
|
האזימוט של SV במעלות.
ההגדרה מופיעה בשורה
613
בקובץ
gps.h
.
צפיפות אות הנושא ליחס אות/רעש ב-dB-Hz, בדרך כלל בטווח [0, 63]. הוא מכיל את הערך שנמדד של C/N0 עבור האות ביציאת האנטנה.
זהו ערך חובה.
ההגדרה מופיעה בשורה
607
בקובץ
gps.h
.
הגדרת קבוצת הכוכבים של SV נתון. הערך צריך להיות אחד מהקבועים GNSS_CONSTELLATION_*
ההגדרה מופיעה בשורה
599
בקובץ
gps.h
.
הגובה של SV במעלות.
ההגדרה מופיעה בשורה
610
בקובץ
gps.h
.
מכיל נתונים נוספים על SV הנתון. הערך צריך להיות אחד מהקבועים GNSS_SV_FLAGS_*
ההגדרה מופיעה בשורה
619
בקובץ
gps.h
.
מוגדר ל-sizeof(GnssSvInfo)
ההגדרה מופיעה בשורה
577
בקובץ
gps.h
.
מספר פסאודו-אקראי ל-SV, או מספר FCN/OSN ל-Glonass. ההבדל נקבע לפי השדה constellation. הערכים צריכים להיות בטווח:
-
GPS: 1-32
-
SBAS: 120-151, 183-192
-
GLONASS: 1-24, מספר המשבצת במסלול (OSN), אם ידוע. לחלופין, אם לא: 93-106, מספר ערוץ התדירות (FCN) (-7 עד +6) עם תוספת של 100. כלומר, מדווחים על FCN של -7 כ-93, על FCN של 0 כ-100 ועל FCN של +6 כ-106.
-
QZSS: 193-200
-
Galileo: 1-36
-
Beidou: 1-37
ההגדרה מופיעה בשורה
593
בקובץ
gps.h
.
התיעוד של המבנה הזה נוצר מהקובץ הבא:
-
hardware/libhardware/include/hardware/
gps.h
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 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)"]]