XFusion API v1.3.0
|
BLE GAP 广播参数 更多...
#include <xf_ble_gap_types.h>
成员变量 | |
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 广播参数
在文件 xf_ble_gap_types.h 第 333 行定义.
uint32_t min_interval |
最小的广播间隔 [N * 0.625ms]
在文件 xf_ble_gap_types.h 第 334 行定义.
uint32_t max_interval |
最大的广播间隔 [N * 0.625ms]
在文件 xf_ble_gap_types.h 第 335 行定义.
xf_ble_gap_adv_type_t adv_type |
广播类型,见 xf_ble_gap_adv_type_t
在文件 xf_ble_gap_types.h 第 336 行定义.
xf_ble_addr_t own_addr |
本端地址,见 xf_ble_addr_t
在文件 xf_ble_gap_types.h 第 337 行定义.
xf_ble_addr_t peer_addr |
对端地址,见 xf_ble_addr_t
在文件 xf_ble_gap_types.h 第 338 行定义.
xf_ble_gap_adv_channel_t channel_map |
广播通道,见 xf_ble_gap_adv_channel_t
在文件 xf_ble_gap_types.h 第 339 行定义.
xf_ble_gap_adv_filter_policy_t adv_filter_policy |
白名单过滤策略,见 xf_ble_gap_adv_filter_policy_t
在文件 xf_ble_gap_types.h 第 341 行定义.
uint32_t tx_power |
发送功率,单位dbm,范围-127~20
在文件 xf_ble_gap_types.h 第 342 行定义.
uint32_t duration |
广播持续时间
在文件 xf_ble_gap_types.h 第 345 行定义.