XFusion API v1.3.0
载入中...
搜索中...
未找到
xf_ble_gap_adv_data_t结构体 参考

BLE GAP 广播数据 ( 包含响应数据 ) 更多...

#include <xf_ble_gap_types.h>

xf_ble_gap_adv_data_t 的协作图:
Collaboration graph

成员变量

xf_ble_gap_adv_struct_tadv_struct_set
 
uint16_t scan_rsp_length
 
uint8_t * scan_rsp_data
 

详细描述

BLE GAP 广播数据 ( 包含响应数据 )

警告
目前 广播数据单元 并不是严格按标准的广播数据结构进行定义, 而是从更方便使用的角度对标准的结构进行了微调
目前 响应数据 是需严格遵循标准结构,需要自行逐项填充
示例
examples/wireless/ble/sample_gatt_server/main/xf_main.c.

在文件 xf_ble_gap_types.h266 行定义.

结构体成员变量说明

◆ adv_struct_set

xf_ble_gap_adv_struct_t* adv_struct_set

广播数据单元( AD Structure )的集合, 见 xf_ble_gap_adv_struct_t

示例
examples/wireless/ble/sample_gatt_server/main/xf_main.c.

在文件 xf_ble_gap_types.h267 行定义.

◆ scan_rsp_length

uint16_t scan_rsp_length

扫描响应数据长度,

在文件 xf_ble_gap_types.h270 行定义.

◆ scan_rsp_data

uint8_t* scan_rsp_data

扫描响应数据

在文件 xf_ble_gap_types.h271 行定义.


该结构体的文档由以下文件生成: