XFusion API v1.3.0
载入中...
搜索中...
未找到
_xf_ble_gap_adv_struct_data_t联合体 参考

BLE GAP 广播数据单元的数据 ( AD Data ) 更多...

#include <xf_ble_gap_types.h>

_xf_ble_gap_adv_struct_data_t 的协作图:
Collaboration graph

成员变量

xf_ble_var_uintptr_t adv_var
 
uint8_t flag
 
uint8_t * local_name
 
xf_ble_appearance_t appearance
 

详细描述

BLE GAP 广播数据单元的数据 ( AD Data )

注解
以下暂时仅列出部分类型的广播数据单元数据成员

以下为蓝牙标准定义的广播数据结构及广播数据单元数据 ( AD Data ) 所在的位置

| AdvData |
| AD Structure 1 | AD Structure 2 | ... |(无效数据 000...000b) |
| Length | Data | Length | Data | ...... |
| Length(type + data) | AD type | AD Data | Length | AD type | AD Data | ...... |
| ^ |

在文件 xf_ble_gap_types.h161 行定义.

结构体成员变量说明

◆ adv_var

类型不定的广播数据单元数据(暂不建议使用)

在文件 xf_ble_gap_types.h162 行定义.

◆ flag

uint8_t flag

类型为: 0x01, type:flag

在文件 xf_ble_gap_types.h163 行定义.

◆ local_name

uint8_t* local_name

类型为: 0x08, type:name short; 0x09, type:name all

在文件 xf_ble_gap_types.h164 行定义.

◆ appearance

xf_ble_appearance_t appearance

类型为: 0x19, type:appearance,见 xf_ble_appearance_t

在文件 xf_ble_gap_types.h165 行定义.


该联合体的文档由以下文件生成: