הפניה ל-Struct של __attribute__
#include <
bluetooth.h
>
שדות נתונים |
|
| uint8_t | address [6] |
| uint8_t | name [249] |
| uint8_t | הצמדה [16] |
| uint8_t | status |
| 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 |
| קצר | size |
| bt_bdaddr_t | bd_addr |
| int | channel |
| int | status |
| unsigned short | max_tx_packet_size |
| unsigned short | max_rx_packet_size |
תיאור מפורט
כתובת Bluetooth
שם מכשיר ה-Bluetooth
קוד PinKey ל-Bluetooth
מייצג את ממשק BT SOCKET הסטנדרטי.
ההגדרה מופיעה בשורה 55 בקובץ bluetooth.h .
מסמכי תיעוד של שדה
| uint8_t address[6] |
ההגדרה מופיעה בשורה 56 בקובץ bluetooth.h .
| int32_t app_uid |
ההגדרה מופיעה בשורה 113 בקובץ bluetooth.h .
| uint8_t ctrl_state |
ההגדרה מופיעה בשורה 105 בקובץ bluetooth.h .
| uint64_t energy_used |
ההגדרה מופיעה בשורה 109 בקובץ bluetooth.h .
| uint64_t idle_time |
ההגדרה מופיעה בשורה 108 בקובץ bluetooth.h .
| uint8_t name[249] |
ההגדרה מופיעה בשורה 61 בקובץ bluetooth.h .
| uint8_t pin[16] |
ההגדרה מופיעה בשורה 100 בקובץ bluetooth.h .
| uint64_t rx_bytes |
ההגדרה מופיעה בשורה 115 בקובץ bluetooth.h .
| uint64_t rx_time |
ההגדרה מופיעה בשורה 107 בקובץ bluetooth.h .
| uint8_t status |
ההגדרה מופיעה בשורה 104 בקובץ bluetooth.h .
| uint64_t tx_bytes |
ההגדרה מופיעה בשורה 114 בקובץ bluetooth.h .
| uint64_t tx_time |
ההגדרה מופיעה בשורה 106 בקובץ bluetooth.h .
המסמכים של המבנה הזה נוצרו מהקבצים הבאים:
- hardware/libhardware/include/hardware/ bluetooth.h
- hardware/libhardware/include/hardware/ bt_sock.h