<?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>Background Scanning Channel</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3494/background-scanning-channel</link><description>I would like to use Channel 0 of the S310 Stack V1.0.0 on the nRF51422 to do a background scan of ANT devices. 
 I am testing against ANTWARE II v4.1 with the ANT+ usb dongle. I opened two channels of the same frequency, but at different period. I also</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Sep 2014 12:20:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3494/background-scanning-channel" /><item><title>RE: Background Scanning Channel</title><link>https://devzone.nordicsemi.com/thread/12653?ContentTypeID=1</link><pubDate>Mon, 22 Sep 2014 12:20:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:813ce243-ba09-4fc6-b76f-2aabf0be090d</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Sorry, that was an error, I have updated the project to use sd_ant_channel_low_priority_rx_search_timeout_set, not sd_ant_search_channel_priority_set. Thank you for making me aware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Background Scanning Channel</title><link>https://devzone.nordicsemi.com/thread/12652?ContentTypeID=1</link><pubDate>Fri, 19 Sep 2014 23:07:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bac7c2c4-1131-47c5-807b-52260162d024</guid><dc:creator>testy</dc:creator><description>&lt;p&gt;What does &lt;strong&gt;sd_ant_search_channel_priority_set&lt;/strong&gt; serve for in one channel config (*.rar, valid search priority value: 0 to 7 according to SDK&amp;#39;s doc, 0 to 255 in ANT Message Protocol)?&lt;/p&gt;
&lt;p&gt;Wouldn&amp;#39;t be &lt;strong&gt;sd_ant_channel_low_priority_rx_search_timeout_set&lt;/strong&gt; be better?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Background Scanning Channel</title><link>https://devzone.nordicsemi.com/thread/12651?ContentTypeID=1</link><pubDate>Wed, 17 Sep 2014 15:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b73188da-d360-4233-b0ad-9e1b6792cc68</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Sorry for the delayed answer.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ANT_5F00_AN11_5F00_ANT_5F00_Channel_5F00_Search_5F00_and_5F00_Background_5F00_Scanning_5F00_Channel.pdf"&gt;ANT has an application note on &amp;quot;Background Scanning Channel&amp;quot;.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I just tested what you describe, and it works as expected. I&amp;#39;m able to receive messages from both master channels.&lt;/p&gt;
&lt;p&gt;I use the ANT+ USB dongle to send two different messages on two master channels,&lt;/p&gt;
&lt;p&gt;I used S210 and modified ant_broadcast/broadcast_rx from our SDK. I also did a quick test with S310.&lt;/p&gt;
&lt;p&gt;I added a few defines, and modified&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ant_channel_rx_broadcast_setup(void)&lt;/code&gt; and &lt;code&gt;channel_event_handle(uint8_t * p_event_message_buffer)&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;If you go into debug mode and put a breakpoint at &lt;code&gt;count = 0&lt;/code&gt; you should be able to see that the messages array contain both 0x01 and 0x02.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf6310BSC.rar"&gt;I have attached my project, please use it as a proof of concept.&lt;/a&gt; [Updated]&lt;/p&gt;
&lt;p&gt;ANT+ USB dongle setup:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Channel0

Master (Transmit)
Tx Only
Device Number: 1
Device Type: 1
Trans. Type: 1
Channel Period: 8 Hz
Radio Freq: 2466MHz
Send Using Extended Messaging (works with or without)
Broadcast:  0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02
&lt;/code&gt;&lt;/pre&gt;
&lt;hr /&gt;
&lt;pre&gt;&lt;code&gt;Channel1

Master (Transmit)
Tx Only
Device Number: 2
Device Type: 1
Trans. Type: 1
Channel Period: 4 Hz
Radio Freq: 2466MHz
Send Using Extended Messaging (works with or without)
Broadcast: 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>