Tool/software:
HI TI,
I noticed there is a struct in the settings as shown below, and I would like to understand the functions of scanInterval
and scanWindow
within this struct. Furthermore, do these two parameters have any direct or indirect impacts after a Bluetooth connection is successfully established?
I’ve observed that modifying the scan interval seems to affect the stability of the Bluetooth connection, and I’m wondering if this is a normal phenomenon.
const BLEAppUtil_ConnParams_t centralConnInitParams =
{
/*! Opt INIT_PHY_ALL | INIT_PHY_1M | INIT_PHY_2M | INIT_PHY_CODED */
.initPhys = DEFAULT_INIT_PHY,
.scanInterval = INIT_PHYPARAM_SCAN_INT, /* Units of 0.625ms */
.scanWindow = INIT_PHYPARAM_SCAN_WIN, /* Units of 0.625ms */
.minConnInterval = INIT_PHYPARAM_MIN_CONN_INT, /* Units of 1.25ms */
.maxConnInterval = INIT_PHYPARAM_MAX_CONN_INT, /* Units of 1.25ms */
.connLatency = INIT_PHYPARAM_CONN_LAT,
.supTimeout = INIT_PHYPARAM_SUP_TO /* Units of 10ms */
};