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.
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
btgatt_callbacks_t Yapı Referansı
#include <
bt_gatt.h
>
BT-GATT geri çağırmaları
Tanımı,
bt_gatt.h
dosyasının
28. satırı
ndadır.
GATT istemcisi geri çağırma işlevleri
Tanımı,
bt_gatt.h
dosyasının
33. satırı
içinde bulabilirsiniz.
GATT sunucusu geri çağırma işlevleri
Tanımı,
bt_gatt.h
dosyasının
36
satırı
içindedir.
sizeof(btgatt_callbacks_t) olarak ayarlayın.
Tanımı,
bt_gatt.h
dosyasının
30. satırı
içinde bulabilirsiniz.
Bu yapının dokümanları aşağıdaki dosyadan oluşturulmuştur:
-
hardware/libhardware/include/hardware/
bt_gatt.h
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,["# 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)"]]