This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

S130 demo app event handler

hello, I am working with S130 demo app. But I could not find any registering of event handler being done usind softdevice_ble_evt_handler_set(). In both S110 and S120 demo apps one function is registered to be called for each received BLE event. Why it is not used in S130? How the app will work without this? Anybody noticed the same??? Could anybody please explain the event_handle function in S130 demo app??

Parents
  • The S130 demo app is just a proof of concept. It doesn't use an handler.

    It poll the events instead, see the forever for loop in do_work().

    When an S130 example is added to the SDK it will probably use an event handler as well.

    Edit: Questions about release dates is better suited for one of our sales managers. If you don't know yours is, please send me a PM with your location and I'll put you in contact with the correct one.

    Edit (Kristin): There is now a SDK based S130 example on github, it can be found here. The example is event driven and uses event handlers.

  • Great! You can thank me by accepting my answer, click the grey circle with a check mark in it.

Reply Children
No Data
Related