Начиная с 27 марта 2025 г. мы рекомендуем использовать android-latest-release
вместо aosp-main
для создания и участия в AOSP. Дополнительные сведения см. в разделе Изменения в AOSP .
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
bluetooth_device_t Справочник по структуре
#include < bluetooth.h >
ЗАДАЧА: Необходимо добавить API для обнаружения служб, авторизации служб и управления соединениями. Также необходимо добавить API для настройки свойств удаленных подключенных устройств, таких как имя, UUID и т. д.
Определение в строке 599 файла bluetooth.h .
Документация для этой структуры была создана из следующего файла:
- Аппаратное обеспечение/libhardware/include/hardware/ bluetooth.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: bluetooth_device_t Struct Reference\n\nbluetooth_device_t Struct Reference\n===================================\n\n[Data Fields](#pub-attribs) \nbluetooth_device_t Struct Reference \n\n`\n#include \u003c\n`[bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)`\n\u003e\n`\n\n|---------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| struct [hw_device_t](/reference/hal/structhw__device__t) | [common](/reference/hal/structbluetooth__device__t#a86a0ca82dd3f02023e259b8b5e155dbe) |\n| ||\n| const [bt_interface_t](/reference/hal/structbt__interface__t) \\*(\\* | [get_bluetooth_interface](/reference/hal/structbluetooth__device__t#a1858c251d0584ee2ca6dc30b5938c570) )() |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nTODO: Need to add APIs for Service Discovery, Service authorization and connection management. Also need to add APIs for configuring properties of remote bonded devices such as name, UUID etc.\n\n\nDefinition at line\n[599](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\nof file\n[bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\n.\n\nField Documentation\n-------------------\n\n\n|-----------------------------------------------------------------|\n| struct [hw_device_t](/reference/hal/structhw__device__t) common |\n\n\nDefinition at line\n[600](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\nof file\n[bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\n.\n\n|------------------------------------------------------------------------------------------------|\n| const [bt_interface_t](/reference/hal/structbt__interface__t) \\*(\\* get_bluetooth_interface)() |\n\n\nDefinition at line\n[601](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\nof file\n[bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [bluetooth.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bluetooth.h)"]]