हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
ब्लूटूथ
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लूटूथ मॉड्यूल, Android 13 में पेश किया गया एक वैकल्पिक Mainline मॉड्यूल है.
Android 16 और इसके बाद के वर्शन में, इस मॉड्यूल को अपडेट किया जा सकता है. इसमें पूरी तरह से सर्टिफ़ाइड ड्यूअल-मोड ब्लूटूथ होस्ट स्टैक होता है. इससे Android डिवाइसों में, क्लासिक ब्लूटूथ और ब्लूटूथ लो एनर्जी (बीएलई), दोनों की सुविधाओं का इस्तेमाल किया जा सकता है.
ब्लूटूथ मॉड्यूल का मुख्य मकसद, डिवाइस बनाने वाली कंपनियों, उपयोगकर्ताओं, और ऐप्लिकेशन डेवलपर को बेहतर क्वालिटी वाला ब्लूटूथ अनुभव देना है. इसके लिए, ये काम किए जाते हैं:
तेज़ी से अपडेट उपलब्ध कराना. इनमें नई सुविधाएं, गड़बड़ियां ठीक करना, अलग-अलग डिवाइसों के साथ काम करने की क्षमता को बेहतर बनाना, और सुरक्षा पैच को जल्दी और नियमित तौर पर उपलब्ध कराना शामिल है. ये अपडेट, Android ओएस के रिलीज़ साइकल से अलग होते हैं.
फ़्रैगमेंटेशन को कम करना और पूरे Android इकोसिस्टम के लिए एक जैसा अनुभव देना.
पार्टनर के लिए डेवलपमेंट की प्रोसेस को आसान बनाना. इसके लिए, Android से पुष्टि किए गए ब्लूटूथ मेनलाइन मॉड्यूल उपलब्ध कराए जाते हैं. साथ ही, बार-बार रीबेस करने से बचा जाता है. इससे डेवलपमेंट और टेस्टिंग का खर्च कम हो जाता है.
ब्लूटूथ मॉड्यूल, APEX फ़ॉर्मैट का इस्तेमाल करता है. com.google.android.bt
पैकेज में, packages/modules/Bluetooth/android/app
में तय किया गया ब्लूटूथ APK, libbluetooth_jni.so
में मौजूद लाइब्रेरी, packages/modules/Bluetooth/framework/java/android/bluetooth
में मौजूद एपीआई, और एचआईडीएल इंटरफ़ेस शामिल हैं.
मॉड्यूल की सीमा
इस डायग्राम में, ब्लूटूथ मॉड्यूल की सीमा दिखाई गई है:
पहली इमेज. ब्लूटूथ मॉड्यूल की सीमा.
डिपेंडेंसी
ब्लूटूथ मॉड्यूल, इन पर निर्भर करता है:
@hide
एपीआई के इस्तेमाल से जुड़ी इनकमिंग और आउटगोइंग जानकारी
- ब्लूटूथ APK (
libbluetooth.so
) के लिए ज़रूरी लाइब्रेरी.
- ब्लूटूथ चिपसेट बनाने वाली कंपनी से HAL लागू करना
- ऑडियो स्ट्रीमिंग के लिए Android ऑडियो फ़्रेमवर्क
- फ़ोन कॉल के लिए Android टेलीफ़ोनी
- ब्लूटूथ पर्सनल एरिया नेटवर्क (पीएएन) के लिए Android टेदरिंग
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. 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,["# 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)"]]