Mulai 27 Maret 2025, sebaiknya gunakan android-latest-release
, bukan aosp-main
, untuk mem-build dan berkontribusi pada AOSP. Untuk mengetahui informasi selengkapnya, lihat Perubahan pada AOSP.
UWB
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Modul ultra-wideband (UWB), yang diperkenalkan di Android 13, berisi stack UWB
di atas antarmuka HAL, yang didasarkan pada spesifikasi FiRa.
Modul UWB memberikan manfaat berikut bagi produsen perangkat:
- Stack UWB native Android lengkap yang tersedia untuk perangkat yang kompatibel dengan UWB
- Peningkatan kualitas dan interoperabilitas UWB di seluruh ekosistem Android
- Dukungan yang lebih cepat dan fleksibel untuk kasus penggunaan FiRa baru dan
update spesifikasi
Detail
Berikut adalah detail modul UWB:
- Menyertakan stack UWB lengkap di AOSP di Android 13 yang menggunakan spesifikasi UCI
yang ditentukan oleh FiRa sebagai antarmuka HAL.
- Mengizinkan aplikasi sistem menyediakan profil kustom.
- Menyertakan platform API sistem untuk memungkinkan aplikasi sistem menggunakan profil
kustom dalam sesi rentang mereka.
- Menyertakan infrastruktur untuk mengekspos RRO yang dapat digunakan oleh produsen
perangkat untuk menyesuaikan perilaku stack.
Arsitektur stack UWB
Stack UWB terdiri dari modul mainline UWB dan implementasi HAL
yang disediakan oleh vendor chip UWB.
Gambar 1. Arsitektur stack UWB
Batas modul
Kode modul berada di lokasi berikut:
Modul UWB (com.google.android.uwb
) menggunakan
format APEX.
Dependensi
Modul mainline UWB bergantung pada hal berikut:
- Implementasi HAL dari vendor chip UWB.
- Stack Bluetooth untuk semua interaksi OOB.
- Elemen aman untuk semua interaksi layanan aman.
- Framework inti untuk penerapan izin runtime UWB.
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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."]]