multiple connections

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi All,

is it possible for BCM20737s (e.g. a sensor) to connect in master role to 20 peripheral devices in time multiplex mode?

eg a sensor detects sth and sends commands to all peripherals. Is this possible?

Does limitation of 8 simultaneous connections means at same time or in time multiplex (quasi simultaneous?)

Thanks, Andreas

0 Likes
1 Solution
VictorZ_46
Employee
Employee
5 comments on blog 25 sign-ins 250 likes received

That should be pretty simple to do if you are on the both sides.  Master can look for the advertisement from a sensor, connect, read/write data and disconnect.  The reason you better be on both sides is because sensor should expect that master can disconnect, and store the data until it is acknowledged.

Also it would be good for sensor to modify the advertisement data at the time when there is something new for the master to consume.  In this case the master would know if it needs to connect.

The latency of the delivering data in this kind of scheme may not be that great.  But if battery is not a problem and they can advertise pretty often, or if latency is not an issue, it is indeed doable.

View solution in original post

2 Replies
VictorZ_46
Employee
Employee
5 comments on blog 25 sign-ins 250 likes received

That should be pretty simple to do if you are on the both sides.  Master can look for the advertisement from a sensor, connect, read/write data and disconnect.  The reason you better be on both sides is because sensor should expect that master can disconnect, and store the data until it is acknowledged.

Also it would be good for sensor to modify the advertisement data at the time when there is something new for the master to consume.  In this case the master would know if it needs to connect.

The latency of the delivering data in this kind of scheme may not be that great.  But if battery is not a problem and they can advertise pretty often, or if latency is not an issue, it is indeed doable.

asridharan
Employee
Employee
10 comments on KBA 5 comments on KBA First comment on KBA

> Does limitation of 8 simultaneous connections means at same time or in time multiplex (quasi simultaneous?)

Simultaneous connections are always time-shared. There is limited bandwidth available to a network and this is shared between pairs of devices at a time. If you have 1 master with n slaves, the master will poll each slave and the slave can respond only to the master when polled. The interval and instant when the poll happens is established when the connection between the master and that slave is established.

> is it possible for BCM20737s (e.g. a sensor) to connect in master role to 20 peripheral devices

If you mean stay connected to all devices (unlike what victorz says here), then probably not. Each connection requires RAM resources and if you need to allocate space for all these connections, then you might not have enough space left for your application code.