<?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>SDK 17.1.0: is the &amp;quot;Need to close the ANT channel to make it safe to write to flash&amp;quot; warning still valid?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81707/sdk-17-1-0-is-the-need-to-close-the-ant-channel-to-make-it-safe-to-write-to-flash-warning-still-valid</link><description>Hello, 
 I&amp;#39;m writing an application that sends cycling power information via ANT+ and Bluetooth (S340, on a nRF82840). While the ANT+ is a pure cycling power service, the device exposes multiple Bluetooth services. In many cases, the cyclocomputer will</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Nov 2021 18:27:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81707/sdk-17-1-0-is-the-need-to-close-the-ant-channel-to-make-it-safe-to-write-to-flash-warning-still-valid" /><item><title>RE: SDK 17.1.0: is the "Need to close the ANT channel to make it safe to write to flash" warning still valid?</title><link>https://devzone.nordicsemi.com/thread/339097?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 18:27:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f004df2-6b8f-44df-9243-fea525c1b270</guid><dc:creator>robca</dc:creator><description>&lt;p&gt;Great, thanks. At the moment I haven&amp;#39;t noticed any negative side effect. If you leave this ticket open for a couple of days, I will get back with confirmation after I can run more tests&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 17.1.0: is the "Need to close the ANT channel to make it safe to write to flash" warning still valid?</title><link>https://devzone.nordicsemi.com/thread/339091?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 17:21:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53557491-d326-4896-8e9c-772924bf94d5</guid><dc:creator>Kenneth</dc:creator><description>[quote user="robca"]I would simply remove the&amp;nbsp;sd_ant_channel_close() [/quote]
&lt;p&gt;Please do that and let me know if there are any issues, if there are no issues I will suggest internally we can remove this for future as you suggest yes.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 17.1.0: is the "Need to close the ANT channel to make it safe to write to flash" warning still valid?</title><link>https://devzone.nordicsemi.com/thread/339086?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 17:08:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71431bde-bab0-4409-8135-6a92babf0f87</guid><dc:creator>robca</dc:creator><description>&lt;p&gt;Thanks for the super-fast reply. Just one clarification, please.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If there&amp;#39;s no need anymore to stop the ANT channel on BLE disconnect, then I would simply remove the&amp;nbsp;sd_ant_channel_close() call and&amp;nbsp;ant_evt_handler(). In my application, it&amp;#39;s actually required that the ANT channel be always active. Say, for example, that the user is monitoring the cycling power via a ANT+ cyclocomputer while changing settings using BLE (which is supported in our case). At he end of the BLE connection, there should be no interruption to the ANT+ packets.&lt;/p&gt;
&lt;p&gt;Granted, a&amp;nbsp;&lt;span&gt;sd_ant_channel_close(0 followed immediately by&amp;nbsp;ant_hrm_disp_open() (my equivalent in this case) will at worst result in one lost packet, hardly noticeable. But it&amp;#39;s better to avoid unnecessary ANT channel disturbances&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I would also suggest to&amp;nbsp;remove that comment/code from future SDK examples. I would simplify the logic and make the example easier to understand&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 17.1.0: is the "Need to close the ANT channel to make it safe to write to flash" warning still valid?</title><link>https://devzone.nordicsemi.com/thread/339082?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 16:44:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b5beef8-5b6e-4737-804d-bbd246a6f106</guid><dc:creator>Kenneth</dc:creator><description>[quote user=""]First of all, is that warning still valid for SDK17.1.0? I found conflicting information searching here.[/quote]
&lt;p&gt;I indeed believe so, I can find this comment all the way back to before we did support executing flash operations while in a connection. So please disregard this comment. This also make the other code you refer to make sense I think; it should advertise on disconnected.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>