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

ANT shared channel broadcast reverse does not work correctly

Hi, i'm newbie to ANT world and i'm trying to create a mesh-like network using broadcast messages and shared channel with nRF51422 SoC and S310 soft-device.

So, i created channel on transmitter with this configuration:

  • TRANSMISSION TYPE = 0x01
  • DEVICE_TYPE = 0x2
  • DEVICE_NUMBER = 0x02
  • CHANNEL_PERIOD = 16384 (4 Hz)
  • FREQUENCY = 66 (2425 MHz)
  • NETWORK_NUMBER = 0x00
  • CHANNEL_TYPE = SHARED MASTER

On receiver i used same configuration with CHANNEL_TYPE = SHARED SLAVE.

Master creates the channel and slaves open the channel and then send a broadcast message to setup their shared address (with different addresses, obviously).

My goal is to send broadcast messages from master to slaves (2 slave nodes) and slaves have to respond with different data.

Actually slave nodes receive correctly the broadcast messages from the master but master receive broadcast responses only from the nearest slave (i think that is the slave that have the highest TX power).

So what is the problem? Is that an interference or a packet collision?

Thank you and regards.

Parents
  • Hi, I want to refer you to two documents.

    First you should check out the ANT Message Protocol and Usage document, in specific chapter 8.2 : Implementation using Shared Channels

    I'd also like to recommend you to check out the ANT AN Auto Shared Channel Master Example, this should show how a slave device can register with a shared channel master device and obtain an address for participation in the shared channel.

  • Hi, i've read two documents linked but i don't want to create an auto shared channel because channel config is hard-coded and i don't have to know info about other nodes. Probably i'm doing it wrong but i have already created a channel and master-slave broadcasting (and slave-master partial) is working.

Reply
  • Hi, i've read two documents linked but i don't want to create an auto shared channel because channel config is hard-coded and i don't have to know info about other nodes. Probably i'm doing it wrong but i have already created a channel and master-slave broadcasting (and slave-master partial) is working.

Children
No Data