החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
עזרה בנושא המבנה btgatt_callbacks_t
#include <
bt_gatt.h
>
קריאות חזרה של BT-GATT
ההגדרה מופיעה בשורה
28
בקובץ
bt_gatt.h
.
קריאות חזרה ללקוח GATT
ההגדרה מופיעה בשורה
33
בקובץ
bt_gatt.h
.
קריאות חזרה (callbacks) של שרת GATT
ההגדרה מופיעה בשורה
36
בקובץ
bt_gatt.h
.
מגדירים את הערך sizeof(btgatt_callbacks_t)
ההגדרה מופיעה בשורה
30
בקובץ
bt_gatt.h
.
התיעוד של המבנה הזה נוצר מהקובץ הבא:
-
hardware/libhardware/include/hardware/
bt_gatt.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: btgatt_callbacks_t Struct Reference\n\nbtgatt_callbacks_t Struct Reference\n===================================\n\n[Data Fields](#pub-attribs) \nbtgatt_callbacks_t Struct Reference \n\n`\n#include \u003c\n`[bt_gatt.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt.h)`\n\u003e\n`\n\n|-----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| size_t | [size](/reference/hal/structbtgatt__callbacks__t#a854352f53b148adc24983a58a1866d66) |\n| ||\n| const [btgatt_client_callbacks_t](/reference/hal/structbtgatt__client__callbacks__t) \\* | [client](/reference/hal/structbtgatt__callbacks__t#a465c074bdf795e82cf341994321ed96d) |\n| ||\n| const [btgatt_server_callbacks_t](/reference/hal/structbtgatt__server__callbacks__t) \\* | [server](/reference/hal/structbtgatt__callbacks__t#aed3397f94e5b2f8e7deb800a2e93fe99) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nBT-GATT callbacks\n\n\nDefinition at line\n[28](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt.h)\nof file\n[bt_gatt.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt.h)\n.\n\nField Documentation\n-------------------\n\n\n|------------------------------------------------------------------------------------------------|\n| const [btgatt_client_callbacks_t](/reference/hal/structbtgatt__client__callbacks__t) \\* client |\n\n\nGATT Client callbacks\n\n\nDefinition at line\n[33](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt.h)\nof file\n[bt_gatt.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt.h)\n.\n\n|------------------------------------------------------------------------------------------------|\n| const [btgatt_server_callbacks_t](/reference/hal/structbtgatt__server__callbacks__t) \\* server |\n\n\nGATT Server callbacks\n\n\nDefinition at line\n[36](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt.h)\nof file\n[bt_gatt.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt.h)\n.\n\n|-------------|\n| size_t size |\n\n\nSet to sizeof(btgatt_callbacks_t)\n\n\nDefinition at line\n[30](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt.h)\nof file\n[bt_gatt.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [bt_gatt.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt.h)"]]