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

nRF_connect Desktop Application for more than 8 concurrent connection configuration ?

Hi,

I am using the nRF52832 DK for connecting and collecting the data from multiple beacons simultaneously. Right now i use the nRF_Connect desktop application for collecting the data from 7 beacons only, but i want to connect it with more than 15. Is it possible to make the change in the nRF Connect software because i know is possible to connect 20 peripherals using the nrf52832 DK using the softdevice 132. So why can't we do it desktop application by making some changes in the configuration file as we do in the SDK by changing the  sdk_config number of connection i.e. "NRF_SDH_BLE_CENTRAL_LINK_COUNT" . 

If i try to connect more than 7 peripherals i get NRF_ERROR_CONN_COUNT and could not connect max number of connections reached. Kindly let know if we can make any changes in the connect application or is there any other option for connecting more than 15 peripherals.

Thanks and Regards,

Santosh Krishnan R 

  • Hi Santosh,

    Max connections is defined in the "serialization". 


    Some extra information:

    Typically the BLE device in PCs support up to 8 connections, but you can control the central directly from your PC using for instance pc-ble-driver-py. You can also connect the central using UART, and read the received sensor data through a terminal. The best solution would depend on your use-case and the solution you choose to collect the sensor data.

    pc-ble-driver-py provides Python bindings for pc-ble-driver, a C/C++ library for Bluetooth Low Energy nRF5 SoftDevice serialization. This library can be used for controlling the softdevice running on a nRF5x IC over a serial line, allowing you to do advertising, scanning, connections, service discovery, characteristics read/write/indications/notifications, and more. You will be able to get the sensor data in whatever format your BLE services/characteristics define. Note that the connection between PC and Central will be UART (HCI), often this solution is used with out nRF5x DKs, which have a Virtual COM interface over USB. You can integrate pc-ble-driver-py with a Python application, and we also provide the low-level C/C++ version and a version with Node.js bindings. (You should select the version that best suits the language used in your project software.)

    (The latest s132 softdevice support up to 20 concurrent connections. If you need to interact with more devices than this concurrently, you will have to consider alternative stacks or setup. One alternative could be to use two centrals that each connect to 16 devices, or you could use Bluetooth Mesh for transferring the sensor data. Another option is to use an RTOS like Zephyr or Mynewth, which respectively claims to support unlimited and 32+ connections.)

    (You can find the source code of nRFConnect here.

     The nRFConnect built on top of the pc_ble_driver, you can find the driver and bindings here.)

Related