This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Difference between System Events and BLE events in S110?

In SDK source code of S110 SOftdevice, I'v found two events for which module is registered and waiting using "softdevice_sys_evt_handler_set" & "softdevice_ble_evt_handler_set". Both Events are coming from Softdevice(stack), can somebody please tell me what are these two different event types.

Parents Reply Children
  • Hi Brajesh,

    For most peripherals such as the UART you will get the interrupts directly and have your own interrupt handlers. However some system activities such as access to the flash memor (NVMC) require the soft device stack to do work to ensure that the stack is not interferred with. In those cases, the stack passes you control via the system events once it does the work it needs to do.

Related