Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE advertising, continue to advertise even though device has connected

Hi,

While using the BLE advertising module, it struck me that it automatically stops advertising as soon as a device connects. This is not acceptable in my application as several clients has to be able to be connected to the device simultaneously. Is there any way to make it continue advertising even though a client has connected?

I am using NRF SDK v15.0.0, S140.

BRs,

Dennis

Parents
  • Hi again,

    Solved this by starting the advertising on a new connection tag when a client connects to the first configured tag.

    Another question though: Do I need to run nrf_sdh_ble_default_cfg_set on all connection "tags"?

    For example, if I have set maximum number of connections to 3, do I need to run the nrf_sdh_ble_default_cfg on 1, 2, and 3 or is it enough to run it once?

    BRs,

    Dennis

Reply
  • Hi again,

    Solved this by starting the advertising on a new connection tag when a client connects to the first configured tag.

    Another question though: Do I need to run nrf_sdh_ble_default_cfg_set on all connection "tags"?

    For example, if I have set maximum number of connections to 3, do I need to run the nrf_sdh_ble_default_cfg on 1, 2, and 3 or is it enough to run it once?

    BRs,

    Dennis

Children
Related