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

what exactly do I need softdevice_sys_evt_handler for?

Hi

I am using SDK12 with NRF51822,

So far I haven’t initialized the sys_evt_handler (softdevice_sys_evt_handler_set(sys_evt_dispatch)) And my program works fine,

Ive seen a thread mentioning that it is used for NVMC,

but I have used sd_flash_write successfully to write to flash, what will I gain from using this handler when writing to flash or in general?

I would like to get some more understanding about this issue, what exactly are the events this meant to handle, what is its importance? Preferably with some examples.

Thanks!

Parents Reply
  • Hey,

    What Im using is LOG_INTERNAL, it just calls it directly.

    I just found out something interesting,

    The problem is not happening like J-Link RTT Viewer V6.22g ,

    It does happen with J-Link RTT Viewer V6.33i which I have been using as default. 

    I am just turning off the V6.33i and switch on the V6.22g  and see the messages just fine..

    If that gives you any idea regarding what is happening..

    Thanks again!

Children
Related