ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
UWB
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
โมดูลแถบความถี่กว้างยิ่งยวด (UWB) ที่เปิดตัวใน Android 13 มีสแต็ก UWB เหนืออินเทอร์เฟซ HAL ซึ่งอิงตามข้อกำหนด FiRa
โมดูล UWB มีประโยชน์ต่อไปนี้สำหรับผู้ผลิตอุปกรณ์
- สแต็ก UWB ของ Android เวอร์ชันเต็มพร้อมใช้งานสำหรับอุปกรณ์ที่รองรับ UWB
- ปรับปรุงคุณภาพและการทํางานร่วมกันของ UWB ในระบบนิเวศของ Android
- การสนับสนุนที่รวดเร็วและยืดหยุ่นมากขึ้นสำหรับกรณีการใช้งาน FiRa ใหม่และการอัปเดตข้อกำหนด
รายละเอียด
รายละเอียดของโมดูล UWB มีดังนี้
- มีสแต็ก UWB ที่สมบูรณ์ใน AOSP ใน Android 13 ที่ใช้ข้อกำหนด UCI ที่ FiRa กำหนดเป็นอินเทอร์เฟซ HAL
- อนุญาตให้แอประบบจัดสรรโปรไฟล์ที่กำหนดเอง
- มีแพลตฟอร์ม API ของระบบเพื่อให้แอปของระบบใช้โปรไฟล์ที่กำหนดเองในเซสชันการระบุตำแหน่งได้
- มีโครงสร้างพื้นฐานเพื่อแสดง RRO ที่ผู้ผลิตอุปกรณ์สามารถใช้เพื่อปรับแต่งลักษณะการทำงานของสแต็ก
สถาปัตยกรรมสแต็ก UWB
สแต็ก UWB ประกอบด้วยโมดูลหลักของ UWB และการใช้งาน HAL ที่ได้จากผู้ให้บริการชิป UWB
รูปที่ 1 สถาปัตยกรรมสแต็ก UWB
ขอบเขตของโมดูล
โค้ดของโมดูลอยู่ในตำแหน่งต่อไปนี้
โมดูล UWB (com.google.android.uwb
) ใช้รูปแบบ APEX
ทรัพยากร Dependency
โมดูลหลัก UWB ขึ้นอยู่กับปัจจัยต่อไปนี้
- การใช้งาน HAL จากผู้ให้บริการชิป UWB
- สแต็กบลูทูธสำหรับการโต้ตอบทั้งหมดนอกอุปกรณ์
- องค์ประกอบที่ปลอดภัยสำหรับการโต้ตอบกับบริการที่ปลอดภัยทั้งหมด
- เฟรมเวิร์กหลักสำหรับการบังคับใช้สิทธิ์รันไทม์ UWB
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา 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,["# UWB\n\nThe ultra-wideband (UWB) module, introduced in Android 13, contains a UWB stack\nabove the HAL interface, which is based on the FiRa specification.\n\nThe UWB module provides the following benefits for device manufacturers:\n\n- A complete Android native UWB stack available for UWB capable devices\n- Improved quality and interoperability of UWB across the Android ecosystem\n- Faster and more flexible support for new FiRa use cases and specification updates\n\n### Details\n\nThe following are details of the UWB module:\n\n- Includes a complete UWB stack in AOSP in Android 13 that uses the UCI specification defined by FiRa as the HAL interface.\n- Allows system apps to provision custom profiles.\n- Includes a system API surface to allows system apps to use custom profiles in their ranging sessions.\n- Includes infrastructure to expose RROs that can be used by device manufacturers to customize the behavior of the stack.\n\nUWB stack architecture\n----------------------\n\nThe UWB stack consists of the UWB mainline module and the HAL implementation\nprovided by a UWB chip vendor.\n\n**Figure 1.** UWB stack architecture\n\nModule boundary\n---------------\n\nThe module code is in the following locations:\n\n- **UWB Mainline Apex** : `com.android.uwb`\n\n - UWB API surface (Java)\n\n - Code location: `packages/modules/Uwb/framework`\n - Process: `\u003cbootclasspath\u003e`\n - UwbService (Java)\n\n - Code location: `packages/modules/Uwb/service`\n - Process: `system_server`\n - Uwb Native stack (C++/Rust)\n\n - Code location: `external/uwb`\n - Process: `system_server`\n- **HAL interface and implementations (C++)**\n\n - Interface code location: `hardware/interfaces/uwb`\n - Implementation code location: `vendor/\u003cvendor-name\u003e/uwb`\n - Process: `\u003cvendor defined\u003e`\n\nPackage format\n--------------\n\nThe UWB module (`com.google.android.uwb`) uses the\n[APEX](/docs/core/ota/apex) format.\n\nDependencies\n------------\n\nThe UWB mainline module depends on the following:\n\n- HAL implementation from a UWB chip vendor.\n- Bluetooth stack for all OOB interactions.\n- Secure element for all secure service interactions.\n- Core framework for UWB runtime permission enforcement."]]