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

sd_ble_evt_get called from main context

Hi all

In the documentation for the function "sd_ble_evt_get" it is mentioned, that this function may be called directly in the ISR for the SD_EVT_IRQn or from the main context.

I personally would prefere to call it from the main context, because the handling of events would be much easier this way. The change into the main context may take some time (depends on the activities in the system).

How long may the call to sd_ble_evt_get be delayed? What is the influence of this delayed call to sd_ble_evt_get? Are there any performance (throughput) issues to be considered?

BR Adrian

Related