Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
LE scan parameters. More...
#include <bluetooth.h>
Data Fields | |
uint8_t | type |
Scan type (BT_LE_SCAN_TYPE_ACTIVE or BT_LE_SCAN_TYPE_PASSIVE) | |
uint8_t | options |
Bit-field of scanning options. | |
uint16_t | interval |
Scan interval (N * 0.625 ms). | |
uint16_t | window |
Scan window (N * 0.625 ms) | |
uint16_t | timeout |
Scan timeout (N * 10 ms) | |
uint16_t | interval_coded |
Scan interval LE Coded PHY (N * 0.625 MS) | |
uint16_t | window_coded |
Scan window LE Coded PHY (N * 0.625 MS) | |
LE scan parameters.
uint16_t bt_le_scan_param::interval |
Scan interval (N * 0.625 ms).
CONFIG_BT_SCAN_AND_INITIATE_IN_PARALLELis enabled and the application wants to scan and connect in parallel, the Bluetooth Controller may require the scan interval used for scanning and connection establishment to be equal to obtain the best performance.
uint16_t bt_le_scan_param::interval_coded |
Scan interval LE Coded PHY (N * 0.625 MS)
Set zero to use same as LE 1M PHY scan interval.
uint8_t bt_le_scan_param::options |
Bit-field of scanning options.
uint16_t bt_le_scan_param::timeout |
Scan timeout (N * 10 ms)
Application will be notified by the scan timeout callback. Set zero to disable timeout.
uint8_t bt_le_scan_param::type |
Scan type (BT_LE_SCAN_TYPE_ACTIVE or BT_LE_SCAN_TYPE_PASSIVE)
uint16_t bt_le_scan_param::window |
Scan window (N * 0.625 ms)
CONFIG_BT_SCAN_AND_INITIATE_IN_PARALLELis enabled and the application wants to scan and connect in parallel, the Bluetooth Controller may require the scan window used for scanning and connection establishment to be equal to obtain the best performance.
uint16_t bt_le_scan_param::window_coded |
Scan window LE Coded PHY (N * 0.625 MS)
Set zero to use same as LE 1M PHY scan window.