- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Labels:
-
MasterSlave
-
SDK 2.X
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.