اعتبارًا من 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
.
عمليات الاستدعاء لخادم 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 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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)"]]