Hi Nordic,
EDIT: I am using nrf51422, with S210 v5.0.0. Everything that is below is referring to ANT protocol
I want to know if the thing that I am planning to do is possible and feasible or not.
My final objective: To have 1 node (node 1, remote control) that sends to other 2 nodes (node 2 and node 3, devices to control) commands. This other 2 nodes will have to be discovered upon start up (pairing process). I am really worried about power consumption of all nodes, but specially of node 1.
Nodes:
Node 1 -> remote control
Node 2 -> device to control
Node 3 -> device to control
Here is the way I am thinking now:
-
In nodes 2 and 3, I would open a channel as continuous scanning mode.
-
In node 1 I would, in the beginning, start a background scanning search. This search would have to be based on distance (only scan devices that are nearer than a certain threshold).
-
This background scanning search will stop when we have found 2 devices, or when we have timed out. If we only find 1 device and we time out, we still are interested in communicating only with the one that we found
-
Close background scanning channel and open ASYNCHRONOUS communication (when we press a button, we send a message) with what we just found.
Questions:
-
Would you do the same purpose in a different way? Is this a good way of doing what I want to do?
-
Is my idea of implementation possible to do?
-
Can a continuous scanning mode be a master node?
I would really appreciate any help in this structure, any suggestion will really be appreciated and taken into account.
Thanks!