This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to handle multiple BLE peripherals per central?

Good day!

I'm trying to understand how to handle multiple BLE peripherals per central. I'm trying to create a sensor network of >10 temperature sensors, and I want to connect each sensor to my PC (central) using BLE. I also need the temperatures to be updated each second.

I've read that BLE only allows 7 peripherals connected to a central at the same time, but I don't think I need them all to be connected at the same time.

Possible scenario:

Sensor #1 connects to the central, transfers data and disconnects. When sensor #1 is done, sensor #2 goes through the same procedure by connecting, transferring and disconnecting. Then sensor #3 proceeds etc.

Do you know of any good way to make this happen? Maybe you know a better way to achieve the same result - to read >10 sensors in less than a second. Maybe BLE isn't what I should be using?

I'm truly greatful if you can help me, or point me in the right direction.

Best regards

Carl

  • Hello Carl,

    In BLE, there is no specified limit on the number of connections a Central can support. The actual limitation will be up to the device, i.e, memory and CPU availability, etc.

    I suggest you start with the central_to_multiperiperipheral example application on our GitHub page - a link can be found on the TI BLE Wiki.

    Best wishes