__attribute__ 結構體參考資料
  
   #include <
   
    bluetooth.h
   
   >
  
 
    資料欄位 | 
  |
| uint8_t | 地址 [6] | 
| uint8_t | name [249] | 
| uint8_t | pin [16] | 
| uint8_t | 狀態 | 
| uint8_t | ctrl_state | 
| uint64_t | tx_time | 
| uint64_t | rx_time | 
| uint64_t | idle_time | 
| uint64_t | energy_used | 
| int32_t | app_uid | 
| uint64_t | tx_bytes | 
| uint64_t | rx_bytes | 
| short | size | 
| bt_bdaddr_t | bd_addr | 
| int | 管道 | 
| int | 狀態 | 
| 無符號短整數 | max_tx_packet_size | 
| 無符號短整數 | max_rx_packet_size | 
詳細說明
欄位說明文件
| uint8_t address[6] | 
定義位於檔案 bluetooth.h 的 56 行。
| int32_t app_uid | 
定義位於檔案 bluetooth.h 的 113 行。
| bt_bdaddr_t bd_addr | 
定義位於檔案 bt_sock.h 的 36 行。
| uint8_t ctrl_state | 
定義位於檔案 bluetooth.h 的 105 行。
| uint64_t energy_used | 
定義位於檔案 bluetooth.h 的 109 行。
| uint64_t idle_time | 
定義位於檔案 bluetooth.h 的 108 行。
| uint8_t name[249] | 
定義位於檔案 bluetooth.h 的 61 行。
| uint8_t pin[16] | 
定義位於檔案 bluetooth.h 的 100 行。
| uint64_t rx_bytes | 
定義位於檔案 bluetooth.h 的 115 行。
| uint64_t rx_time | 
定義位於檔案 bluetooth.h 的 107 行。
| uint8_t 狀態 | 
定義位於檔案 bluetooth.h 的 104 行。
| uint64_t tx_bytes | 
定義位於檔案 bluetooth.h 的 114 行。
| uint64_t tx_time | 
定義位於檔案 bluetooth.h 的 106 行。
這個結構體的說明文件是由下列檔案產生:
- hardware/libhardware/include/hardware/ bluetooth.h
 - hardware/libhardware/include/hardware/ bt_sock.h