Mulai 27 Maret 2025, sebaiknya gunakan android-latest-release
, bukan aosp-main
, untuk mem-build dan berkontribusi pada AOSP. Untuk mengetahui informasi selengkapnya, lihat Perubahan pada AOSP.
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Referensi Struct bluetooth_device_t
#include <
bluetooth.h
>
TODO: Perlu menambahkan API untuk Penemuan Layanan, Otorisasi layanan, dan pengelolaan koneksi. Juga perlu menambahkan API untuk mengonfigurasi properti perangkat terikat jarak jauh seperti nama, UUID, dll.
Definisi di baris
599
file
bluetooth.h
.
Dokumentasi untuk struct ini dibuat dari file berikut:
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-27 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)"]]