27 Mart 2025'ten itibaren AOSP'yi derlemek ve AOSP'ye katkıda bulunmak için aosp-main
yerine android-latest-release
kullanmanızı öneririz. Daha fazla bilgi için AOSP'de yapılan değişiklikler başlıklı makaleyi inceleyin.
Bluetooth
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bluetooth modülü, Android 13'te kullanıma sunulan isteğe bağlı bir Mainline modülüdür.
Android 16 ve sonraki sürümlerde modül güncellenebilir ve tamamen sertifikalı çift modlu Bluetooth ana makine yığını içerir. Bu sayede Android cihazlar hem klasik Bluetooth hem de Bluetooth Düşük Enerji (BLE) işlevlerini destekleyebilir.
Bluetooth modülünün temel amacı, aşağıdakileri yaparak cihaz üreticilerine, kullanıcılara ve uygulama geliştiricilere daha yüksek kaliteli bir Bluetooth deneyimi sunmaktır:
Android işletim sistemi sürüm döngüsünden bağımsız olarak yeni özellikler, hata düzeltmeleri, birlikte çalışabilirlik geliştirmeleri ve güvenlik yamalarıyla daha hızlı güncellemeler sunma
Parçalanmayı azaltma ve tüm Android ekosisteminde tutarlı bir deneyim oluşturma.
Android tarafından doğrulanmış Bluetooth Mainline modülleri sunarak ve sık sık yeniden temellendirmeyi önleyerek iş ortağı geliştirmesini kolaylaştırır. Böylece geliştirme ve test yükü azalır.
Bluetooth modülü APEX biçimini kullanır. com.google.android.bt
Paket, packages/modules/Bluetooth/android/app
içinde tanımlanan Bluetooth APK'sını, yerleşik kitaplığı
libbluetooth_jni.so
, packages/modules/Bluetooth/framework/java/android/bluetooth
altındaki API'leri ve HIDL
arayüzlerini içerir.
Modül sınırı
Aşağıdaki şemada Bluetooth modülü sınırı gösterilmektedir:
1. Şekil. Bluetooth modülü sınırı.
Bağımlılıklar
Bluetooth modülü aşağıdakilere bağlıdır:
- Gelen ve giden
@hide
API kullanımları
- Bluetooth APK'sı için gerekli kitaplık (
libbluetooth.so
).
- Bluetooth yonga seti sağlayıcısından HAL uygulaması
- Ses akışı için Android Ses Çerçevesi
- Telefon görüşmeleri için Android telefon özelliği
- Bluetooth kişisel alan ağı (PAN) için Android tethering
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-27 UTC."],[],[],null,["# Bluetooth\n\nThe Bluetooth module is an optional Mainline module introduced in Android 13.\nIn Android 16 and higher, the module is updatable and contains a fully\ncertified dual-mode Bluetooth host stack, enabling Android devices to support\nboth classic Bluetooth and Bluetooth Low Energy (BLE) functionalities.\n\nThe primary motivation for the Bluetooth module is to provide a higher-quality\nBluetooth experience to device manufacturers, users, and app developers by:\n\n- **Delivering faster updates** with new features, bug fixes, interoperability\n enhancements, and security patches quickly and regularly, independently of\n the Android OS release cycle.\n\n- **Reducing fragmentation** and creating a consistent experience for the\n entire Android ecosystem.\n\n- **Streamlining partner development** by delivering Android-validated\n Bluetooth Mainline modules and avoiding frequent rebasing, thus reducing\n development and testing overhead.\n\nPackage format\n--------------\n\nThe Bluetooth module uses the [APEX](/docs/core/ota/apex) format. The `com.google.android.bt`\npackage contains the Bluetooth APK defined in\n`packages/modules/Bluetooth/android/app`, the built-in library\n`libbluetooth_jni.so`, the APIs under\n`packages/modules/Bluetooth/framework/java/android/bluetooth`, and the HIDL\ninterfaces.\n\nModule boundary\n---------------\n\nThe following diagram shows the Bluetooth module boundary:\n\n**Figure 1**. Bluetooth module boundary.\n\nDependencies\n------------\n\nThe Bluetooth module has dependencies on the following:\n\n- Incoming and outgoing `@hide` API usages\n- Library required for the Bluetooth APK (`libbluetooth.so`).\n- HAL implementation from the Bluetooth chipset provider\n- Android Audio Framework for audio streaming\n- Android telephony for phone calls\n- Android tethering for Bluetooth Personal Area Network (PAN)"]]