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

How to switch between using Softdevice and serialisation?

My main App must be able to use the soft device directly or serialisation when a external Connectivity chip is used. How can this be done? In the examples it's done at compilation time, can this also be done at runtime?

Parents
  • both of them have the exact same API. Softdevice API translates to direct SVC calls, while the serialization API translates to serial data by the codecs. I am not sure if this can be done runtime because the same API cannot translate differently at runtime AFAIK. You need to modify the serialization codecs to do this in a way that a global settings to make this codecs choose which call they make.

Reply
  • both of them have the exact same API. Softdevice API translates to direct SVC calls, while the serialization API translates to serial data by the codecs. I am not sure if this can be done runtime because the same API cannot translate differently at runtime AFAIK. You need to modify the serialization codecs to do this in a way that a global settings to make this codecs choose which call they make.

Children
No Data
Related