Hello, I have a question about multi-peripheral.
1.Can multiple central devices be connected to one peripheral device?
SDK: simplelink_cc2640r2_sdk_5_30_00_03 , multirole
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.
Thanks for your reply
As you said, do you have any references for maintaining device advertising?
An additional problem is that when a peripheral device is connected to two central devices, advertising stops and scanning is not possible.
Hi,
The multirole example should continue to advertise if the numbmer of connections formed is less than the value specified in the maxNumBleConns vairable. By default, this is equal to MAX_NUM_BLE_CONNS (which resolves to 3). Has this been modified?
Best Regards,
Jan
Hi,
After a connection is established, the following code snippet is what determines if the advertisements should remain on or turn off.
As you can see, this depends on the value of maxNumBleConns and the current number of active connections.
Best Regards,
Jan