1 Reply Latest reply on Jul 9, 2020 12:12 PM by DheerajP_41

    Regarding High / Low Duty connection duration

    Neeraj Dhekale

      Hello,

       

      I have started BLE advertising but it seems it was automatically going in sleep mode after 1.5 minutes after checking all values I found below code in BT_CFG.c file.

       

      /* Connection scan configuration */

              .high_duty_conn_scan_interval    = WICED_BT_CFG_DEFAULT_HIGH_DUTY_CONN_SCAN_INTERVAL,          /**< High duty cycle connection scan interval */

              .high_duty_conn_scan_window      = WICED_BT_CFG_DEFAULT_HIGH_DUTY_CONN_SCAN_WINDOW,            /**< High duty cycle connection scan window */

              .high_duty_conn_duration         = 30,                                                         /**< High duty cycle connection duration in seconds (0 for infinite) */

       

              .low_duty_conn_scan_interval     = WICED_BT_CFG_DEFAULT_LOW_DUTY_CONN_SCAN_INTERVAL,           /**< Low duty cycle connection scan interval */

              .low_duty_conn_scan_window       = WICED_BT_CFG_DEFAULT_LOW_DUTY_CONN_SCAN_WINDOW,             /**< Low duty cycle connection scan window */

              .low_duty_conn_duration          = 60, 

      -----------------------------------------------------------

      So I understood high_duty_conn_duration + low_duty_conn_duration  = 90 seconds that is 1.5 minutes.

       

      I have current set both to 0 and BLE is currently remaining active permanantly but I want to understand what this means?

       

      Thanks in advance.

      Regards,

      Neeraj