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

BLE stack event and SYS event difference?

Hello there, I have been trying to look at the documentation and the forum but haven't been able to understand the difference between BLE stack event and SYS event. Could someone please explain this or posts links that would clarify the question.

Thank you

Parents
  • one returns events related to bluetooth, one returns events related to everything which isn't bluetooth but is still executed by the softdevice. If you look at the documentation for sd_evt_get it tells you what events are returned, there's only a few, and sd_ble_evt_get returns all the rest, as sd_ble_evt_t structures (although that's not clear from the function documentation particularly).

  • You can't trace it any further - it calls into the softdevice at that point. What are you trying to do here?

    I suggested looking at the softdevice eventhandler code, softdevice_handler.c which shows you how those two functions, sd_evt_get() and sd_ble_evt_get() are used.

Reply Children
No Data
Related