2 Replies Latest reply on Jan 30, 2019 4:34 AM by user_1536336

    Call CyBle_ProcessEvents() function from timer_isr

    user_1536336

      Hi,

       

      I have often seen, that the CyBle_ProcessEvents() function is called in the main loop to process the BLE stack work. But in my situation, the cycle time highly depends on the external peripheral and can take more time than my connection interval. So I have to call the CyBle_ProcessEvents() function minimum twice. Right now, I tried to call this function in a timer ISR where my timer period represents an average between the minimum and maximum connection interval. So are there any disadvantages for me or why is it not implemented in any example code?

       

      Thanks!