I'm using the Github project github.com/.../nRF51-multi-role-conn-observer-advertiser in order to SCAN in a specific channel rather than all 3 channels. In this example, softdevice_handler.c which is needed for normal advertising is not used. As long as you add this file, you will get a conflict for SWI2_IRQHandler.
It is used in both main.c of the Timeslot scanner as SD_EVT_IRQHandler (defined in nrf_soc.h #define SD_EVT_IRQHandler (SWI2_IRQHandler)) and in softdeivce.handler.c. I want to solve this conflict and be able to use the rest of my program just like before adding this Timeslot scan to it.
Generally,
1- what are the sources of these 2 interrupts? any good documentation on these interrupts?
2- If I want to use time slot only for scanning, and use normal advertising with S110, are these interrupts related? i.e., they should be handled in the same IRQHandler? or we can service them separately?