With SDK v14.2.0, are SOC and BLE events delivered in an interrupt context? If so, what is the best way to move them out into the main event loop?
With SDK v14.2.0, are SOC and BLE events delivered in an interrupt context? If so, what is the best way to move them out into the main event loop?
I found "NRF_SDH_DISPATCH_MODEL_APPSH" which seems to change things, but the documentation is pretty sparse.
Presumably, BLE events will be handled during calls to "app_sched_execute." Is this correct? Also presumably, they are queued up until the next call to app_sched_execute, but how deep is that queue? What happens if the even queue overflows?
So, setting NRF_SDH_DISPATCH_MODEL_APPSH causes the events to be rescheduled through the app events queue, whose size and management is up to us?
Sounds good, thanks!