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

BLE GAP 扫描参数 更多...

#include <xf_ble_gap_types.h>

xf_ble_gap_scan_param_t 的协作图:
Collaboration graph

成员变量

xf_ble_gap_phy_type_t scan_phy
 
xf_ble_gap_scan_filter_t scan_filter_policy
 
xf_ble_gap_scan_type_t scan_type
 
uint16_t scan_interval
 
uint16_t scan_window
 

详细描述

BLE GAP 扫描参数

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

在文件 xf_ble_gap_types.h384 行定义.

结构体成员变量说明

◆ scan_phy

PHY类型,见 xf_ble_gap_phy_type_t

在文件 xf_ble_gap_types.h385 行定义.

◆ scan_filter_policy

xf_ble_gap_scan_filter_t scan_filter_policy

扫描过滤策略,见 xf_ble_gap_scan_filter_t

在文件 xf_ble_gap_types.h386 行定义.

◆ scan_type

扫描类型 xf_ble_gap_scan_type_t

在文件 xf_ble_gap_types.h387 行定义.

◆ scan_interval

uint16_t scan_interval

扫描间隔,[N * 0.625 ms], 范围 (看具体标准):[0x0004, 0x4000],[2.5 ms, 10.24 s]

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

在文件 xf_ble_gap_types.h388 行定义.

◆ scan_window

uint16_t scan_window

扫描窗长,[N * 0.625 ms], 范围 (看具体标准):[0x0004, 0x4000],[2.5 ms, 10.24 s]

在文件 xf_ble_gap_types.h390 行定义.


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