1 Reply Latest reply on Apr 24, 2017 12:44 PM by e.pratt_1639216

    Timer Counter operation stops on disconnect


      I implemented a timer counter module to generate periodic interrupts an initiate some actions in my application. I want this to run all the time if I'm disconnected or connected. The timer initializes and runs as expected prior to a connect from an Android tablet. However, when I disconnect from the tablet the timer stops. I have tried inserting a timer enable function in the BLE event handler for a disconnect to keep the timer active. This worked, but I'm not sure it's the proper thing to do. I didn't find what's causing the timer to stop in the timer module code.

      Let me know what you suggest as the best way to keep the timer running and generating interrupts.


      Thanks,  Max