Начиная с 27 марта 2025 г. мы рекомендуем использовать android-latest-release
вместо aosp-main
для создания и участия в AOSP. Дополнительные сведения см. в разделе Изменения в AOSP .
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
btgatt_value_t Справочник по структуре
#include < bt_gatt_server.h >
Тип значения GATT, используемый в ответ на запросы удаленного чтения.
Определение в строке 31 файла bt_gatt_server.h .
Документация для этой структуры была создана из следующего файла:
Контент и образцы кода на этой странице предоставлены по лицензиям. Java и OpenJDK – это зарегистрированные товарные знаки корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-29 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-29 UTC."],[],[],null,["# Android Hardware Abstraction Layer: btgatt_value_t Struct Reference\n\nbtgatt_value_t Struct Reference\n===============================\n\n[Data Fields](#pub-attribs) \nbtgatt_value_t Struct Reference \n\n`\n#include \u003c\n`[bt_gatt_server.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_server.h)`\n\u003e\n`\n\n|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| uint8_t | [value](/reference/hal/structbtgatt__value__t#a84eff33694c81cb4ccd7f8f58b7a0b03) \\[ [BTGATT_MAX_ATTR_LEN](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_client.h) \\] |\n| ||\n| uint16_t | [handle](/reference/hal/structbtgatt__value__t#af242d6e3b6108ea75e1eb236e94c8240) |\n| ||\n| uint16_t | [offset](/reference/hal/structbtgatt__value__t#ac681806181c80437cfab37335f62ff39) |\n| ||\n| uint16_t | [len](/reference/hal/structbtgatt__value__t#a8aed22e2c7b283705ec82e0120515618) |\n| ||\n| uint8_t | [auth_req](/reference/hal/structbtgatt__value__t#a158fd893d1e3ea7780464e16c30af75f) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nGATT value type used in response to remote read requests\n\n\nDefinition at line\n[31](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_server.h)\nof file\n[bt_gatt_server.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_server.h)\n.\n\nField Documentation\n-------------------\n\n\n|------------------|\n| uint8_t auth_req |\n\n\nDefinition at line\n[37](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_server.h)\nof file\n[bt_gatt_server.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_server.h)\n.\n\n|-----------------|\n| uint16_t handle |\n\n\nDefinition at line\n[34](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_server.h)\nof file\n[bt_gatt_server.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_server.h)\n.\n\n|--------------|\n| uint16_t len |\n\n\nDefinition at line\n[36](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_server.h)\nof file\n[bt_gatt_server.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_server.h)\n.\n\n|-----------------|\n| uint16_t offset |\n\n\nDefinition at line\n[35](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_server.h)\nof file\n[bt_gatt_server.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_server.h)\n.\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| uint8_t value\\[ [BTGATT_MAX_ATTR_LEN](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_client.h) \\] |\n\n\nDefinition at line\n[33](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_server.h)\nof file\n[bt_gatt_server.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_server.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [bt_gatt_server.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_gatt_server.h)"]]