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?
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?
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.