ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การอ้างอิง Struct AGpsRefLocationCellID
#include <
gps.h
>
คําจํากัดความที่บรรทัด
656
ของไฟล์
gps.h
.
รหัสเครือข่ายใน 2G รหัสเซลล์ Utran ใน 3G รหัสสากลของเซลล์ EUTRA ใน LTE
คําจํากัดความที่บรรทัด
668
ของไฟล์
gps.h
.
รหัสพื้นที่ของตำแหน่งใน 2G, 3G และ LTE ระบบจะไม่ใช้ lac ใน 3G ใน LTE ระบบจะป้อนข้อมูล lac ด้วย tac เพื่อให้แน่ใจว่าจะไม่ทำให้ไคลเอ็นต์เก่าที่อาจใช้ลักษณะการทำงานแบบเก่า (ที่ไม่ถูกต้อง) ใช้งานไม่ได้
คําจํากัดความที่บรรทัด
666
ของไฟล์
gps.h
.
รหัสประเทศของโทรศัพท์มือถือ
คําจํากัดความที่บรรทัด
659
ของไฟล์
gps.h
.
รหัสเครือข่ายมือถือ
คําจํากัดความที่บรรทัด
661
ของไฟล์
gps.h
.
รหัสเซลล์จริงใน LTE (ไม่ได้ใช้ใน 2G และ 3G)
คําจํากัดความที่บรรทัด
672
ของไฟล์
gps.h
.
รหัสพื้นที่การติดตามใน LTE
คําจํากัดความที่บรรทัด
670
ของไฟล์
gps.h
.
คําจํากัดความที่บรรทัด
657
ของไฟล์
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: AGpsRefLocationCellID Struct Reference\n\nAGpsRefLocationCellID Struct Reference\n======================================\n\n[Data Fields](#pub-attribs) \nAGpsRefLocationCellID 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| [AGpsRefLocationType](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) | [type](/reference/hal/struct_a_gps_ref_location_cell_i_d#ad550b74263ee46a2ba2b7d0f23085161) |\n| ||\n| uint16_t | [mcc](/reference/hal/struct_a_gps_ref_location_cell_i_d#ab1019c1695b3dcd85cf676191709073d) |\n| ||\n| uint16_t | [mnc](/reference/hal/struct_a_gps_ref_location_cell_i_d#a53f79461c7ec3e0d79026ba30080a0fb) |\n| ||\n| uint16_t | [lac](/reference/hal/struct_a_gps_ref_location_cell_i_d#a4ec34a66e750c1acfbd56fd7b7a27b76) |\n| ||\n| uint32_t | [cid](/reference/hal/struct_a_gps_ref_location_cell_i_d#acb6c79f809882b2d62ccaab26ab8d945) |\n| ||\n| uint16_t | [tac](/reference/hal/struct_a_gps_ref_location_cell_i_d#a636e016fb95ae12972f9fb7fd7329dfc) |\n| ||\n| uint16_t | [pcid](/reference/hal/struct_a_gps_ref_location_cell_i_d#af25c445bd20778a6f29b5876d2d204fa) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[656](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| uint32_t cid |\n\n\nCell id in 2G. Utran Cell id in 3G. Cell Global Id EUTRA in LTE.\n\n\nDefinition at line\n[668](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| uint16_t lac |\n\n\nLocation Area Code in 2G, 3G and LTE. In 3G lac is discarded. In LTE, lac is populated with tac, to ensure that we don't break old clients that might rely in the old (wrong) behavior.\n\n\nDefinition at line\n[666](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| uint16_t mcc |\n\n\nMobile Country Code.\n\n\nDefinition at line\n[659](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| uint16_t mnc |\n\n\nMobile Network Code .\n\n\nDefinition at line\n[661](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| uint16_t pcid |\n\n\nPhysical Cell id in LTE (not used in 2G and 3G)\n\n\nDefinition at line\n[672](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| uint16_t tac |\n\n\nTracking Area Code in LTE.\n\n\nDefinition at line\n[670](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| [AGpsRefLocationType](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/gps.h) type |\n\n\nDefinition at line\n[657](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)"]]