__attribute__ 结构体参考文档
#include <
bluetooth.h
>
数据字段 |
|
| uint8_t | address [6] |
| uint8_t | name [249] |
| uint8_t | 引脚 [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 |
| 短视频 | 尺寸 |
| 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 行 。
| uint8_t ctrl_state |
定义位于文件 bluetooth.h 的 105 行。
| uint64_t energy_used |
定义位于文件 bluetooth.h 的 109 行 。
| uint64_t idle_time |
定义位于文件 bluetooth.h 的 108 行 。
| unsigned short max_tx_packet_size |
定义位于文件 bt_sock.h 的第 42 行。
| 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 status |
定义位于文件 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