החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מסמך עזר בנושא המבנה bluetooth_device_t
#include <
bluetooth.h
>
TODO: צריך להוסיף ממשקי API לגילוי שירותים, להרשאת שירות ולניהול חיבורים. בנוסף, צריך להוסיף ממשקי API להגדרת מאפיינים של מכשירים מקושרים מרחוק, כמו שם, UUID וכו'.
ההגדרה מופיעה בשורה
599
בקובץ
bluetooth.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: bluetooth_device_t Struct Reference\n\nbluetooth_device_t Struct Reference\n===================================\n\n[Data Fields](#pub-attribs) \nbluetooth_device_t Struct Reference \n\n`\n#include \u003c\n`[bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)`\n\u003e\n`\n\n|---------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| struct [hw_device_t](/reference/hal/structhw__device__t) | [common](/reference/hal/structbluetooth__device__t#a86a0ca82dd3f02023e259b8b5e155dbe) |\n| ||\n| const [bt_interface_t](/reference/hal/structbt__interface__t) \\*(\\* | [get_bluetooth_interface](/reference/hal/structbluetooth__device__t#a1858c251d0584ee2ca6dc30b5938c570) )() |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nTODO: Need to add APIs for Service Discovery, Service authorization and connection management. Also need to add APIs for configuring properties of remote bonded devices such as name, UUID etc.\n\n\nDefinition at line\n[599](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\nof file\n[bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\n.\n\nField Documentation\n-------------------\n\n\n|-----------------------------------------------------------------|\n| struct [hw_device_t](/reference/hal/structhw__device__t) common |\n\n\nDefinition at line\n[600](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\nof file\n[bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\n.\n\n|------------------------------------------------------------------------------------------------|\n| const [bt_interface_t](/reference/hal/structbt__interface__t) \\*(\\* get_bluetooth_interface)() |\n\n\nDefinition at line\n[601](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\nof file\n[bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)"]]