1 of 1 people found this helpful
We can use CYBLE_DEBUG_EVT_BLESS_INT event which is a event from BLESS interrupt ( which triggers at every advertisement event or connection event ), enabled when StackMode parameter is set to Debug. To put the StackMode parameter to debug , navigate to tools -> select options ->go to design entry -> select component catalog -> check the enable param edit views. Now, open the BLE component customiser -> right click on general tab -> select show expression view -> change the StackMode option from release to debug.
To sync the advertisement interrupt with WDT interrupt you can enable the WDT interrupt in this event(CYBLE_DEBUG_EVT_BLESS_INT).
Please refer to the attached project for reference.
thank you. will try and update.