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

Advertising while connected with SD 7

How do I keep advertising when I have a connection come in? I'm a BLE peripheral.

I'm running SD 7, is there a particular flag or sequence I need to do now that I've upgraded from SD 6?

  • With Softdevice S110 version 7.0.0 it is possible to call the function: sd_ble_gap_adv_start() when you are in a connection. It is however only possible to do scannable and non-connectable advertisements when you are in a connection.

    The alternative is to use the time slot API and send broadcasting packages when you have control over the radio peripheral. Please have a look here.

  • Thanks Adbjorn, I used that TS API (fantastic piece of code) along with the restarting of advertising via the sd_xxxx methods for an interesting combo..

    That code was really good, it should be in the standard SDK files.

Related