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.

multiple connection to slave

Other Parts Discussed in Thread: CC2540, CC2650, BLE-STACK

Hi,

According to BLE, it seems we can not have multiple connections at once. The slave can only be connected to one master, but the master may be connected upto 8 slaves in cc2650 and upto 3 in cc2540.

Now, I have a board (slave) which I would like to control it with bluetooth to be able to run it with only battery. On the other hand, I would like to add the wifi to the board. Therefore, I consider a bridge (wifi +bluetooth) which is connected to power socket.. This bridge get the messages and relays them to my board. So I need one permanent connection to the board (slave) via Bluetooth.

now I would like to control my board with mobile as well. but since the board (slave) is already connected to my bridge (slave) I cannot do that. recall that each slave can be connected to only one master!

Is there any solution?

1) when I am using my mobile, is it possible to have a kind of priority in the slave such that it disconnected itself from bridge and reply to mobile commands and afterward it join the bridge again?

2) or is it possible the board be both master and slave at the same time: be slave of my phone but master for bridge?

Thanks

  • Hello,

    I'm not totally clear on what you are trying to accomplish. You can support multiple connection in BT4.1, see the MultiMaster example on the BLE wiki. There is also a BleFi TI Design on the BLE wiki, this may be helpful in your design.

    Beyond that, I suggest going through the BLE SW Developer's Guide (SWRU393) in the BLE-Stack V2.1 SDK.

    Best wishes