This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Communication Between Device nodes.

Hi, I am newbie at this field.

I have tried to configure network for communication between device nodes.

What i want to do is each device node has unique data( <30bytes) and each device node transfer unique data to another node automatically. It is kind of active tag.

Currently, It is configured that one of channels is TX only Master and one of channels is RX only slave on device, respectively.

It looks It works correctly.

Is it possible to use like above setting?

Is there any better idea?

Please comment with any idea.

Thanks.:)

  • Thanks for clarifying your answer. But, as is mentioned in your answer, does that mean we can assign "many masters on a single TX only channel"? Also, please have a look at an alternate solution that I've posted below, and please let me know if there is something wrong with that approach. Thanks for your guidance.

  • An alternative solution to the above network of 8 devices, acting as peers to one-another, is using 8 Shared Channels and Acknowledged Data Type.

    In each Shared Channel, one device will be assigned as the master and the rest will be the slaves. The master will transmit the data with a "shared address" on the next channel period. All slave nodes receive and use this message to maintain synchronization, but only that slave node will actually receive the data which has the same "shared address". That Slave node has the option of sending data back to the master (i.e. in the reverse direction). No other slave node can transmit data to the master. It is also described on Page No. 27 of "ANT Message Protocol and Usage, Rev 5.1" pdf.

    In this way, whenever a node wants to transmit data, it will transmit on its corresponding Shared Channel, where that node is the master and rest are the slaves.

  • Channel 7 on one device has nothing to do with channel 7 on another device. The channel number only means something in the device it is assigned. So you assign one master to one channel, in each device.

  • Thanks again for the clarification. It cleared my doubts. Also, if possible, please provide your valuable comments to my answer, posted below.

  • I can't see anything wrong with it, but it sounds similar to my solution, only that you are using 7 channels in each device instead of 8. I believe the current consumption would be similar(but I'm not sure). I guess you are using the shared address to identify the devices instead of device number? Acknowledge Data Type will increase the current consumption, but if this is something you need, then you need it.

Related