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

What if sd_evt_get() returned id 0xCAFEBABE?

Hi, I'm trying to implement SOFTDEVICE_EVT_IRQHandler as in HRS example,

this is the handler source part:

 for (;;)
    {
        uint32_t err_code;

        if (!no_more_soc_evts)
        {
            uint32_t evt_id;

            // Pull event from SOC.
            err_code = sd_evt_get(&evt_id);  //<- Debugging shows evt_id=0xCAFEBABE

And no system events received. (SoftDevice S110 v.8.0 ) What could cause such behaviour?

Related