LP-EM-CC2340R53: scanInterval/scanWindow Impacts on Bluetooth Connection

Part Number: LP-EM-CC2340R53
Other Parts Discussed in Thread: SYSCONFIG

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 */
};

  • Hello Peisheng,

    Thanks for reaching out.

    I would suggest to look at this training material: https://dev.ti.com/tirex/content/simplelink_academy_for_cc23xx_8_40_01_00/_build_simplelink_academy_for_cc23xx_8_40_01_00/source/ble/cc2340rx_02_ble_scan_adv_basic.html.

    There you will find more information about the different scanning and advertisement parameters.

    BR,

    David.

  • Hello David,  

     Thank you for your reply.
      In the document you shared - "Bluetooth® Low Energy Connections with basic_ble example" - I noticed that the connection parameters it describes do not include scan interval and scan window, even though these parameters exist in actual connection parameter settings.
      I understand the role that scanning parameters play before a connection is established. My key focus is to understand, Do scanning parameters have any impact during and after the establishment of a connection?

  • Hello Peisheng,

    Apologies for the delay here. The scanning parameters are used by the central/observer and they don't affect the connection parameters, they are used before the connection has been established to schedule scanning events accordingly. The connection parameter ones (max, min intervals, conn latency and supervision timeout) are used after the conn has been established. So if you look in SysConfig, I would suggest to use the Central Configuration to configure the connection parameters and the Observer Configuration to configure the scan parameters.

    Hope this helps.

    David.