How does BLE stack know the next timeout is going to happen? osalTimerUpdate is called but osal_next_timeout is not called from anywhere..
BTW: Why there is no consistency in naming? Even in same module? Such as: osalTimerUpdate osal_next_timeout, two different naming conventions..