<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ANT Broadcast Message through previously set up channel</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17884/ant-broadcast-message-through-previously-set-up-channel</link><description>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,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Nov 2016 14:25:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17884/ant-broadcast-message-through-previously-set-up-channel" /><item><title>RE: ANT Broadcast Message through previously set up channel</title><link>https://devzone.nordicsemi.com/thread/68935?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2016 14:25:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:704c7ca3-ebc9-4751-bd44-9620d27bae07</guid><dc:creator>angel</dc:creator><description>&lt;p&gt;Hi Petter,&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;What I will do, first I will change the role of master and slave, will change from net slave-&amp;gt;master&amp;lt;-slave to master&amp;lt;-slave-&amp;gt;master. As I have physical access to this slave now, I can reset pairing through a combination of buttons, for example :) If this doesn&amp;#39;t work, I will implement your solution.&lt;/p&gt;
&lt;p&gt;Thanks!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Broadcast Message through previously set up channel</title><link>https://devzone.nordicsemi.com/thread/68933?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2016 13:16:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3bc3842-cfb6-4ed9-adb3-909f0b2a1651</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Ok. Let&amp;#39;s say you are using channel 0 in the slave to connect to the first master.&lt;/p&gt;
&lt;p&gt;Then you can do something like (I&amp;#39;m not sure what your use case is):&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If the first master is unresponsive for a certain amount of time, reconfigure channel 0 to search for a new master.&lt;/li&gt;
&lt;li&gt;If the first master is unresponsive for a certain amount of time, configure channel 1 to search for a new master.&lt;/li&gt;
&lt;li&gt;Configure channel 1 to always search for a new master.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Broadcast Message through previously set up channel</title><link>https://devzone.nordicsemi.com/thread/68932?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2016 12:41:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d51908d-9e04-4e42-a744-723df3227989</guid><dc:creator>angel</dc:creator><description>&lt;p&gt;Ok, let me try to clarify better what I am trying to do:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Set slave as wildcarded and search for master.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In master, start communication with random channel ID. Store this number in master&amp;#39;s flash.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Slave searches for master, and once they communicate, slave stores its channel ID in slave&amp;#39;s flash. Now both nodes have same channel ID in flash.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;What if this master now breaks and I need a different master, with a different, random channel ID? My idea was to create a special &lt;strong&gt;message&lt;/strong&gt; such that, once received in the slave, it deletes the previous channel ID information in the slave&amp;#39;s flash and sets the current channel ID to wildcard, so it can start searching for a new channel ID.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The problem is, how do I send that &lt;strong&gt;message&lt;/strong&gt;?&lt;/p&gt;
&lt;p&gt;Is it a bit more clear now?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Angel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Broadcast Message through previously set up channel</title><link>https://devzone.nordicsemi.com/thread/68931?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2016 12:23:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7224e9f1-0436-49ef-aa6b-715b02e92f76</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I still don&amp;#39;t understand. If a slave can receive messages with a specific channel ID that it doesn&amp;#39;t know what is? Then the answer is no. But it can receive messages from all channel IDs, you can use background scanning or continous scanning mode, Section 5.2.1.4.2 and 5.7 in the ANT Message Protocol and Usage 5.1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Broadcast Message through previously set up channel</title><link>https://devzone.nordicsemi.com/thread/68934?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2016 11:39:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97f27118-a4a0-4101-b9a6-778ed8e4d854</guid><dc:creator>angel</dc:creator><description>&lt;p&gt;The problem is the next: you have a slave that looks for a channel ID that you don&amp;#39;t know. Is it possible to, somehow, stablish a channel with it without wildcarding the channel ID in the slave?&lt;/p&gt;
&lt;p&gt;Thinking about it, I think that the solution in my case is to interchange the roles of master-slave in the star network. If I set the slave in the center and two masters, as I can wildcard the one in the center whenever I want, I would be able to reset its pairing status and look for ANY two masters.&lt;/p&gt;
&lt;p&gt;With my current configuration this is a bit harder to achieve, apparently.&lt;/p&gt;
&lt;p&gt;Thanks again for the reply!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Broadcast Message through previously set up channel</title><link>https://devzone.nordicsemi.com/thread/68930?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2016 16:29:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d11e89bf-ed7b-4645-8f82-922e02661b9b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I don&amp;#39;t quite understand. The master sets its channel ID, the slave sets the channel ID it wishes to search for. The master will just broadcast a message with certain channel ID, it is up to the slave to receive it.&lt;/p&gt;
&lt;p&gt;If you want the slave to receive messages from two masters you should open another channel.&lt;/p&gt;
&lt;p&gt;Did that answer your question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Broadcast Message through previously set up channel</title><link>https://devzone.nordicsemi.com/thread/68929?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2016 14:01:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ae40e48-f7eb-4133-8544-aacd705e65eb</guid><dc:creator>angel</dc:creator><description>&lt;p&gt;Mmm I have no idea why the ouput is that. I still have to have clear one thing about the ANT protocol, so I can see if I am trying to do something that certainly is impossible: Can you, without knowing the channel ID of a slave (and it is not wildcarded, it is a fixed unknown number) send information to it? I assumed that the way of doing this was broadcasting, but I am not sure of it.&lt;/p&gt;
&lt;p&gt;What I want to do: I have a device that is paired to a master, both of them have same channel ID. Now imagine that I break that master, and want to pair another one. The main constraint here is that I would not be able to physically touch the slave (no buttons, no anything). Can I still send a message to this slave from my master, which is not paired, to tell it to reset its pairing status? Is this possible at all?&lt;/p&gt;
&lt;p&gt;Thanks again Peter!&lt;/p&gt;
&lt;p&gt;PS: After I know if it is possible or not to do such thing, then I&amp;#39;ll review my code and then I&amp;#39;ll post a minimal example with my approach.&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Angel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT Broadcast Message through previously set up channel</title><link>https://devzone.nordicsemi.com/thread/68928?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2016 09:58:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecc4fa13-da34-49f4-a11f-c027b164dafe</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;If you look into ant_error.h, found in \components\softdevice\s210\headers, and ant_paramters.h you can see that 0x401F is NRF_ANT_ERROR_TRANSFER_IN_PROGRESS&lt;/p&gt;
&lt;p&gt;Does this error make sense to you? Maybe you can edit your question and include some code that what you are doing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>