|
TuyaOS
|
GAP scanning parameters. 更多...
#include <tkl_bluetooth_def.h>
成员变量 | |
| UCHAR_T | active: 1 |
| UCHAR_T | extended |
| USHORT_T | interval |
| UCHAR_T | scan_channel_map |
| UCHAR_T | scan_phys |
| USHORT_T | timeout |
| USHORT_T | window |
GAP scanning parameters.
| UCHAR_T TKL_BLE_GAP_SCAN_PARAMS_T::active |
[Tuya Need]!!!! If 1, perform active scanning by sending scan requests. This parameter is ignored when used with tkl_ble_gap_connect.
| UCHAR_T TKL_BLE_GAP_SCAN_PARAMS_T::extended |
If 1, the scanner will accept extended advertising packets. If set to 0, the scanner will not receive advertising packets on secondary advertising channels, and will not be able to receive long advertising PDUs.
| USHORT_T TKL_BLE_GAP_SCAN_PARAMS_T::interval |
Scan interval in 625 us units.
| UCHAR_T TKL_BLE_GAP_SCAN_PARAMS_T::scan_channel_map |
Scan Channel Index, refer to @TKL_BLE_GAP_ADV_PARAMS_T
| UCHAR_T TKL_BLE_GAP_SCAN_PARAMS_T::scan_phys |
Refer to @TKL_BLE_GAP_PHY_1MBPS. TKL_BLE_GAP_PHY_2MBPS
| USHORT_T TKL_BLE_GAP_SCAN_PARAMS_T::timeout |
Scan timeout in 10 ms units.
| USHORT_T TKL_BLE_GAP_SCAN_PARAMS_T::window |
Scan window in 625 us units.