bluetooth_device_t 結構體參考資料
   bluetooth_device_t 結構體參考資料
 
  
   #include <
   
    bluetooth.h
   
   >
  
 
| 資料欄位 | |
| struct hw_device_t | 通用 | 
| const bt_interface_t *(* | get_bluetooth_interface )() | 
詳細說明
TODO:需要新增服務探索、服務授權和連線管理的 API。也需要新增 API,用於設定遠端綁定裝置的屬性,例如名稱、UUID 等。
定義位於檔案 bluetooth.h 的 599 行。
欄位說明文件
| struct hw_device_t common | 
定義位於檔案 bluetooth.h 的 600 行。
| const bt_interface_t *(* get_bluetooth_interface)() | 
定義位於檔案 bluetooth.h 的 601 行。
這個結構體的說明文件是由下列檔案產生:
- hardware/libhardware/include/hardware/ bluetooth.h
