While porting my app to the latest 14.0 SDK, it got a little stuck with the new sdh library. I was previously fetching all events through a custom poll & wait loop, but I decided to switch to the sdh library now. Now the question is, what are the PROS and CONS of each dispatch model? I haven't found no explanation in the Documentation about this.
My application must Process events for Buttons, BLE, Timer, Soc, Radio and maybe more in the future. It is not implemented thread/interrupt safe, so I must make sure that all dispatch methods are called one after the other. (There are some exceptions, e.g. UART having a custom buffering that can be always triggered) How would I make sure that Timer, BLE and Soc Events are delivered one after the other to my application when using the nrf_sdh library?
Thanks, Marius