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

ANT Broadcast Message through previously set up channel

Hi Nordic,

I have a star network with 3 nodes and 2 channels. I go through the whole pairing process and start sending data without problem. Now I want to, from the master, use one of these two channels to broadcast data to all nearby ANT devices, irrespective of their channel ID. I try to do this but when I try to use sd_ant_broadcast_message_tx in one of the channels, I get this error code: 401F. What does it mean? Do I have to use a new channel just to broadcast this information? It is important to say that this broadcasting will be done very very unlikely, the normal operation of the channels is to send and receive ack messages.

Thanks Nordic!

Parents
  • Ok. Let's say you are using channel 0 in the slave to connect to the first master.

    Then you can do something like (I'm not sure what your use case is):

    1. If the first master is unresponsive for a certain amount of time, reconfigure channel 0 to search for a new master.
    2. If the first master is unresponsive for a certain amount of time, configure channel 1 to search for a new master.
    3. Configure channel 1 to always search for a new master.
Reply
  • Ok. Let's say you are using channel 0 in the slave to connect to the first master.

    Then you can do something like (I'm not sure what your use case is):

    1. If the first master is unresponsive for a certain amount of time, reconfigure channel 0 to search for a new master.
    2. If the first master is unresponsive for a certain amount of time, configure channel 1 to search for a new master.
    3. Configure channel 1 to always search for a new master.
Children
No Data
Related