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
  • Hi Petter,

    Ok, that can also be done, and would probably be the easiest solution. But what if the first master just runs out of battery, for example? You will time out and look for another one.... What would make the user to do the pairing each time they run of battery... It is a feasible solution though, thanks for the help.

    What I will do, first I will change the role of master and slave, will change from net slave->master<-slave to master<-slave->master. As I have physical access to this slave now, I can reset pairing through a combination of buttons, for example :) If this doesn't work, I will implement your solution.

    Thanks!!

Reply
  • Hi Petter,

    Ok, that can also be done, and would probably be the easiest solution. But what if the first master just runs out of battery, for example? You will time out and look for another one.... What would make the user to do the pairing each time they run of battery... It is a feasible solution though, thanks for the help.

    What I will do, first I will change the role of master and slave, will change from net slave->master<-slave to master<-slave->master. As I have physical access to this slave now, I can reset pairing through a combination of buttons, for example :) If this doesn't work, I will implement your solution.

    Thanks!!

Children
No Data
Related