Is it possible to use hello-sensor as slave connected with multiple clients?

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

cross mob
Anonymous
Not applicable

From hello-client example, i can figure it out that
helloSensor (slave)<-> helloClient(master/slave) <-> 4 multiple clients.

my question is, whether or not that we just implement 1 hello-sensor as slave but can be connected
with 4 multiple clients and that is to say, this sensor device has no master feature but only slave
(notification/indication to multiple client without using master function?)

to sum up, is it possible that below only:

helloSensor(slave) <-> 4 multiple clients

that is to port some of similar codes of helloClient app into helloSensor app, workable?

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

What you are asking is for a device to perform as a slave for 4 masters.  This is not possible in the current version of the chip.  The limit is 2.  Being a master for multiple slaves is quite different than being a slave for multiple masters (matches the real life).  The master controls the timing of the connection and it decides when to poll the slaves.  The slave needs to listen for polls from the master, which is getting difficult with multiple masters because they are not synchronized.  Having said that, future generations of the chip will support much more than 4 masters.

View solution in original post

7 Replies