हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
GnssSvInfo स्ट्रक्चर का रेफ़रंस
#include <
gps.h
>
परिभाषा,
gps.h
फ़ाइल की लाइन
575
पर दी गई है.
डिग्री में एसवी का अज़ीमुथ.
परिभाषा,
gps.h
फ़ाइल की लाइन
613
पर दी गई है.
डीबी-हर्ट्ज़ में कैरियर-टू-नॉइज़ डेंसिटी, आम तौर पर [0, 63] की रेंज में होती है. इसमें ऐंटेना पोर्ट पर सिग्नल के लिए, मेज़र की गई C/N0 वैल्यू शामिल होती है.
यह वैल्यू डालना ज़रूरी है.
परिभाषा,
gps.h
फ़ाइल की लाइन
607
पर दी गई है.
दिए गए एसवी के कॉन्स्टेलेशन की जानकारी देता है. वैल्यू, GNSS_CONSTELLATION_* में से किसी एक कॉन्स्टेंट की होनी चाहिए
परिभाषा,
gps.h
फ़ाइल की लाइन
599
पर दी गई है.
डिग्री में एसवी का ऊंचाई.
परिभाषा,
gps.h
फ़ाइल की लाइन
610
पर दी गई है.
इसमें दिए गए एसवी के बारे में अतिरिक्त डेटा होता है. वैल्यू, GNSS_SV_FLAGS_* में से किसी एक कॉन्स्टेंट में से एक होनी चाहिए
परिभाषा,
gps.h
फ़ाइल की लाइन
619
पर दी गई है.
sizeof(GnssSvInfo) पर सेट करें
परिभाषा,
gps.h
फ़ाइल की लाइन
577
पर दी गई है.
एसवी के लिए सूडो-रैंडम नंबर या Glonass के लिए एफ़सीएन/ओएसएन नंबर. तारे के समूह के फ़ील्ड को देखकर, यह अंतर किया जाता है. वैल्यू इन रेंज में होनी चाहिए:
-
जीपीएस: 1-32
-
एसबीएएस: 120-151, 183-192
-
GLONASS: 1-24, ऑर्बिटल स्लॉट नंबर (OSN), अगर पता हो. अगर ऐसा नहीं है, तो: 93-106, फ़्रीक्वेंसी चैनल नंबर (एफ़सीएन) (-7 से +6) को + 100 से ऑफ़सेट किया जाता है. इसका मतलब है कि -7 के एफ़सीएन को 93 के तौर पर, 0 के एफ़सीएन को 100 के तौर पर, और +6 के एफ़सीएन को 106 के तौर पर रिपोर्ट किया जाता है.
-
QZSS: 193-200
-
Galileo: 1-36
-
BeiDou: 1-37
परिभाषा, फ़ाइल
gps.h
की लाइन
593
पर दी गई है.
इस स्ट्रक्चर का दस्तावेज़, इस फ़ाइल से जनरेट किया गया था:
-
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)"]]