nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

How to Add concurrent feature ble_app_uart_c

Hi All!

Can you please help me that how to add the concurrent connection feature in the ble_app_uart_c example? The reason is that I want to connect the multiple concurrent connections (peripherals) with the central.

There is an example available (ble_app_multilink_central) that is doing the same thing that I need. But the issue with this example is that it only works with the 1M_Phy. When I tried to connect with the coded_phy then it stopped working. 

I am able to connect the ble_app_uart_c & ble_app_uart using coded phy so that's why I want to add the concurrent connection feature to make it work for the coded phy .

Thanks In advance!

Parents
  • Hi

    First, you have to increase the NRF_SDH_BLE_TOTAL_LINK_COUNT and NRF_SDH_BLE_CENTRAL_LINK_COUNT in sdk_config.h to set the number of maximum concurrent central connections allowed for your central application. From there you can use the multilink main.c to start scanning after connecting successfully to the previous peripheral.

    Best regards,

    Simon

Reply
  • Hi

    First, you have to increase the NRF_SDH_BLE_TOTAL_LINK_COUNT and NRF_SDH_BLE_CENTRAL_LINK_COUNT in sdk_config.h to set the number of maximum concurrent central connections allowed for your central application. From there you can use the multilink main.c to start scanning after connecting successfully to the previous peripheral.

    Best regards,

    Simon

Children
No Data
Related