<?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>Adding ANT to BLE application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68289/adding-ant-to-ble-application</link><description>Hello, 
 I have a gateway project where I need to receive data from BLE and send on ANT network. As a first step, I took the NUS or ble_app_uart and changed the softdevice from S140 to S340. The application is working correctly and NUS works fine with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Dec 2020 08:05:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68289/adding-ant-to-ble-application" /><item><title>RE: Adding ANT to BLE application</title><link>https://devzone.nordicsemi.com/thread/284234?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2020 08:05:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32b612b0-69a5-467b-87f2-b46745d872e9</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The only thing I can think of is that you have not made sure that the &amp;#39;channel_number&amp;#39; is different between the ANT channels you configure, e.g:&lt;/p&gt;
&lt;p&gt;For TX make sure that&amp;nbsp;sd_ant_channel_assign(0,....);&amp;nbsp;sd_ant_channel_id_set(0,....); and so on&lt;br /&gt;For RX make sure that&amp;nbsp;&lt;span&gt;sd_ant_channel_assign(1,....);&amp;nbsp;&lt;/span&gt;&lt;span&gt;sd_ant_channel_id_set(1,....); and so on&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This &amp;#39;channel_number&amp;#39; parameter is only a local handle and does not affect the on-air data. If you have more than 2 channels then&amp;nbsp;increment the &amp;#39;channel_number&amp;#39; further for each channel you configure (e.g.&amp;nbsp;2, 3, 4, 5, 6....).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding ANT to BLE application</title><link>https://devzone.nordicsemi.com/thread/284085?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 13:47:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79d43492-1482-4b4e-8256-dd96f370dfb7</guid><dc:creator>Aftab</dc:creator><description>&lt;p&gt;I am taking RX, TX code from these broadcast examples.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding ANT to BLE application</title><link>https://devzone.nordicsemi.com/thread/284048?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 12:56:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fefc34fe-88ae-4bdc-8604-509a68fabfc6</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Maybe the basic ANT RX and TX examples can be useful:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ant_examples_broadcast.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ant_examples_broadcast.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding ANT to BLE application</title><link>https://devzone.nordicsemi.com/thread/283989?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 09:53:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:345e0363-4b6f-40f0-bca3-1f88f794c1dd</guid><dc:creator>Aftab</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;I have successfully added broadcast TX functionality in one of the project, here I wanted to add ANT broadcast RX functionality. Everything I have compared is same way. But there is something I am missing&amp;nbsp;specific to the RX functionality I am trying to figure out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding ANT to BLE application</title><link>https://devzone.nordicsemi.com/thread/283966?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 08:44:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef5a0b97-80ef-454a-89ee-7c50a40e760c</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;In general it may be easier to start off with a project setup with the correct softdevice and add the source file to that project:&lt;br /&gt;\nRF5_SDK_17.0.2_d674dde\examples\multiprotocol\ble_ant_app_hrm\pca10056&lt;/p&gt;
&lt;p&gt;You may consider opening the .emproject in notepad for S340 and S140 and compare for preprocessor defines, include files, and other configuration between the two.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding ANT to BLE application</title><link>https://devzone.nordicsemi.com/thread/283964?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 08:26:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61ae18ba-15d6-479b-b5c9-27c4202f2521</guid><dc:creator>Aftab</dc:creator><description>&lt;p&gt;Although I was able to compile the project correctly with this change but the project would not run on the dev board. I tried to debug but could not figure out where the problem is. Has anybody migrated his/her app from S140 to S340?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding ANT to BLE application</title><link>https://devzone.nordicsemi.com/thread/283726?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 09:03:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f54f8aa5-824f-4c79-958c-21c0c1c180f2</guid><dc:creator>Aftab</dc:creator><description>&lt;p&gt;Adding following line&amp;nbsp;to flash_placement.xml file is actual way of solving this problem:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt; ProgramSection alignment=&amp;quot;4&amp;quot; keep=&amp;quot;Yes&amp;quot; load=&amp;quot;Yes&amp;quot; name=&amp;quot;.sdh_ant_observers&amp;quot; inputsections=&amp;quot;*(SORT(.sdh_ant_observers*))&amp;quot; address_symbol=&amp;quot;__start_sdh_ant_observers&amp;quot; end_symbol=&amp;quot;__stop_sdh_ant_observers&amp;quot; /&amp;gt;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>