<?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 reconfigure a channel?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2378/how-to-reconfigure-a-channel</link><description>Hi, 
 I want to build a Tx that can reconfigure a channel(like change the device&amp;#39;s number) after finding out a long time failed to send message.I use the way below:
sd_ant_channel_close(channel); ant_channel_tx_acknowledged_setup(channel);//come from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Oct 2014 14:05:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2378/how-to-reconfigure-a-channel" /><item><title>RE: How to reconfigure a channel?</title><link>https://devzone.nordicsemi.com/thread/9725?ContentTypeID=1</link><pubDate>Wed, 15 Oct 2014 14:05:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0597ed94-3554-4abc-9869-0b1c499e674f</guid><dc:creator>AlexDM0</dc:creator><description>&lt;p&gt;You need to listen to the channel closed event.&lt;/p&gt;
&lt;p&gt;First close the channel as you do with sd_ant_channel_close(channel).
Then unassign the channel once it is closed. Here is an exerpt from my code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; case EVENT_CHANNEL_CLOSED:
                            sd_ant_channel_unassign(CHANNEL_0);
                            toggle_roles(&amp;amp;master);
                            break;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Where toggle_roles then does the ant_channel_tx_broadcast_setup from the broadcast example.&lt;/p&gt;
&lt;p&gt;You should get UART working and read out the error codes. They tell you a lot.&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>