Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
btgatt_callbacks_t Struct Reference
#include <
bt_gatt.h
>
BT-GATT callbacks
Definition at line
28
of file
bt_gatt.h
.
GATT Client callbacks
Definition at line
33
of file
bt_gatt.h
.
GATT Server callbacks
Definition at line
36
of file
bt_gatt.h
.
Set to sizeof(btgatt_callbacks_t)
Definition at line
30
of file
bt_gatt.h
.
The documentation for this struct was generated from the following file:
-
hardware/libhardware/include/hardware/
bt_gatt.h
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 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)"]]