This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

About the muti connection of NRF51

My SDK version is NRF51_9.00, softdeive 130,  board nrf51822.

We want to confirm some questions about  BLE muti connection

1. When NRF51 is scanning, could it connect with other device at that same time?

2. When NRF51 connects with one perpheral device, could it connects with other peripheral device at the same time?

If I update the sdk version from sdk9.00 to sdk 11, softdevice 132, board nrf51822,

Could NRF51 support item1 &2 above?

Thanks

  • >>2. call API "sd_ble_gattc_primary_services_discover"to start to discover,
    >>then call API "sd_ble_gap_scan_start()"before discover complete event is coming.>This should work.

    I don't think so. my nrf51 run ble_central_and_peripheral example.

    I called call API "sd_ble_gattc_primary_services_discover"to start to discover, in HOST MCU side.
    then call API "sd_ble_gap_scan_start()"before discover complete event is coming.
    Sometimes the service discover is wrong, discover command seems be discard by NRF51 chip.(about 1/10).So I think these two APIs may be conflict with each other.

  • Hi,

    I talked to our SDK team and they had the following to say about your case:

    In principal, what he is trying to do is possible. The main issue is that he needs to adjust the db_discovery module, and each time there is a SoftDevice call, if it returns busy, he needs to have some kind of retry mechanism.

    We are planning to include a new module inside db_discovery module for handling this but that is going to be included in a future version of the SDK.

    A possible ‘simple’ work around, is to wait for the end of the discovery before doing a security procedure on another link or even before scanning again.

    Ketil

Related