cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a possibility to connect a slave to more than 2 masters (BLE)?

pzt
Associate II

Programming manual PM0271, page 4, current features supported on Bluetooth specification v4.1, it is said that it only supports being slave of up to two masters simultaneously.

But as for the standard, the maximum connections number would be 8. I'm trying to use "server" and "client" examples, using full stack, but the server can only connect to 2 clients. After this, it can't put server on advertising mode (I'm starting again the advertiser after every connection). Currently I'm using STM32WB v1.11.1 package. I've tried v1.9.0 and v1.10.0 with the same limitation.

Is there a way to connect a slave to more masters?

1 ACCEPTED SOLUTION

Accepted Solutions
Remi QUINTIN
ST Employee

No this is not possible.

STM32WB could be connected with 8 devices maximum with the possible congigurations below:

--> Being Master with 8 slaves

--> Being Master with 7 slaves + being 1 Slave with another Master

--> Being Master with 6 Slaves + being twice Slaves with 2 Masters different

View solution in original post

2 REPLIES 2
pzt
Associate II

I already changed the define below, with no success.

/**

 * Maximum number of simultaneous connections that the device will support.

 * Valid values are from 1 to 8

 */

#define CFG_BLE_NUM_LINK      8

Remi QUINTIN
ST Employee

No this is not possible.

STM32WB could be connected with 8 devices maximum with the possible congigurations below:

--> Being Master with 8 slaves

--> Being Master with 7 slaves + being 1 Slave with another Master

--> Being Master with 6 Slaves + being twice Slaves with 2 Masters different