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

BLE GAP 广播参数 更多...

#include <xf_ble_gap_types.h>

xf_ble_gap_adv_param_t 的协作图:
Collaboration graph

成员变量

uint32_t min_interval
 
uint32_t max_interval
 
xf_ble_gap_adv_type_t adv_type
 
xf_ble_addr_t own_addr
 
xf_ble_addr_t peer_addr
 
xf_ble_gap_adv_channel_t channel_map
 
xf_ble_gap_adv_filter_policy_t adv_filter_policy
 
uint32_t tx_power
 
uint32_t duration
 

详细描述

BLE GAP 广播参数

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

在文件 xf_ble_gap_types.h333 行定义.

结构体成员变量说明

◆ min_interval

uint32_t min_interval

最小的广播间隔 [N * 0.625ms]

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

在文件 xf_ble_gap_types.h334 行定义.

◆ max_interval

uint32_t max_interval

最大的广播间隔 [N * 0.625ms]

在文件 xf_ble_gap_types.h335 行定义.

◆ adv_type

广播类型,见 xf_ble_gap_adv_type_t

在文件 xf_ble_gap_types.h336 行定义.

◆ own_addr

xf_ble_addr_t own_addr

本端地址,见 xf_ble_addr_t

在文件 xf_ble_gap_types.h337 行定义.

◆ peer_addr

xf_ble_addr_t peer_addr

对端地址,见 xf_ble_addr_t

在文件 xf_ble_gap_types.h338 行定义.

◆ channel_map

广播通道,见 xf_ble_gap_adv_channel_t

在文件 xf_ble_gap_types.h339 行定义.

◆ adv_filter_policy

xf_ble_gap_adv_filter_policy_t adv_filter_policy

白名单过滤策略,见 xf_ble_gap_adv_filter_policy_t

在文件 xf_ble_gap_types.h341 行定义.

◆ tx_power

uint32_t tx_power

发送功率,单位dbm,范围-127~20

在文件 xf_ble_gap_types.h342 行定义.

◆ duration

uint32_t duration

广播持续时间

在文件 xf_ble_gap_types.h345 行定义.


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