<?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>How to expand the &amp;quot;ANT_CONFIG_TOTAL_CHANNELS_ALLOCATED&amp;quot; number?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30859/how-to-expand-the-ant_config_total_channels_allocated-number</link><description>Hi, I have met an issue that the &amp;quot;ANT_CONFIG_TOTAL_CHANNELS_ALLOCATED&amp;quot; can&amp;#39;t set more than 15 in ant_multi_channels example. Now I have a project that it need receive 100 devices in ANT+. Please advise how to expand the &amp;quot;ANT_CONFIG_TOTAL_CHANNELS_ALLOCATED</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Feb 2018 10:04:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30859/how-to-expand-the-ant_config_total_channels_allocated-number" /><item><title>RE: How to expand the "ANT_CONFIG_TOTAL_CHANNELS_ALLOCATED" number?</title><link>https://devzone.nordicsemi.com/thread/122086?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 10:04:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53c20a9e-9a8e-47e1-89f4-6f21296c8f6e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Yes, you may also find this thread informative:&amp;nbsp;&lt;a href="https://www.thisisant.com/forum/viewthread/4417"&gt;https://www.thisisant.com/forum/viewthread/4417&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to expand the "ANT_CONFIG_TOTAL_CHANNELS_ALLOCATED" number?</title><link>https://devzone.nordicsemi.com/thread/122028?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 03:58:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba9af824-54dc-4788-8ee0-d39fc93816d6</guid><dc:creator>WenLiYong</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your reply.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes, My project is&amp;nbsp;received from all ANT+ devices nearby. e.g. HR, SPD. But I only receive 16 devices for the limitation of ANT_CONFIG_TOTAL_CHANNELS_ALLOCATED and MAX_ANT_CHANNELS.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; By your advise, use continuous scanning mode. I don&amp;#39;t know how to do? Can I study demo at &amp;quot;example\ant\ant_continuous_scanning_controller&amp;quot; ?&lt;/p&gt;
&lt;p&gt;Yong&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to expand the "ANT_CONFIG_TOTAL_CHANNELS_ALLOCATED" number?</title><link>https://devzone.nordicsemi.com/thread/121956?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2018 12:43:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bac44722-1e87-45d8-b5c8-6a34649dcd1c</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;&lt;span&gt;Have you considered just use continuous scanning mode instead of having 15 unique channels? Using scanning mode will allow you to receive from all ANT+ devices nearby.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to expand the "ANT_CONFIG_TOTAL_CHANNELS_ALLOCATED" number?</title><link>https://devzone.nordicsemi.com/thread/121921?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2018 07:30:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86e13f89-3d98-4a2b-854f-40f6f4d4f0ca</guid><dc:creator>WenLiYong</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp; &lt;br /&gt; In SDK_12.3\examples\ant\ant_multi_channels\rx example code, MCU is 52832,&amp;nbsp;the MAX_ANT_CHANNELS and ANT_CONFIG_TOTAL_CHANNELS_ALLOCATED parameter are all defined 15. &lt;br /&gt; If change the two parameters to 60, the sd_ant_enable() will return NRF_ERROR_INVALID_PARAM error. Why??&lt;br /&gt;&lt;br /&gt;uint32_t ant_stack_static_config(void)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASSERT(ANT_CONFIG_TOTAL_CHANNELS_ALLOCATED &amp;lt;= MAX_ANT_CHANNELS);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASSERT(ANT_CONFIG_ENCRYPTED_CHANNELS &amp;lt;= ANT_CONFIG_TOTAL_CHANNELS_ALLOCATED);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ANT_ENABLE m_ant_enable_cfg =&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .ucTotalNumberOfChannels&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ANT_CONFIG_TOTAL_CHANNELS_ALLOCATED,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .ucNumberOfEncryptedChannels&amp;nbsp;&amp;nbsp;&amp;nbsp; = ANT_CONFIG_ENCRYPTED_CHANNELS,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .pucMemoryBlockStartLocation&amp;nbsp;&amp;nbsp;&amp;nbsp; = ant_stack_buffer.u8,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .usMemoryBlockByteSize&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ANT_BUFFER_SIZE_FOR_SD&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return sd_ant_enable(&amp;amp;m_ant_enable_cfg);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Please advise. Thank You. The project is urgent!!&lt;br /&gt;&lt;br /&gt;Yong&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to expand the "ANT_CONFIG_TOTAL_CHANNELS_ALLOCATED" number?</title><link>https://devzone.nordicsemi.com/thread/121908?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2018 04:27:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c69491f-536d-418e-a7a2-03e39ceef21f</guid><dc:creator>WenLiYong</dc:creator><description>&lt;p&gt;&amp;nbsp;The enviorement is&amp;nbsp;SDK_12.3\examples\ant\ant_multi_channels\rx. If change ANT_CONFIG_TOTAL_CHANNELS_ALLOCATED and MAX_ANT_CHANNELS value more than 15.&amp;nbsp;&amp;nbsp; &amp;nbsp;err_code = ant_stack_static_config() will occur NRF_ERROR_INVALID_PARAM error messgae.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>