<?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>uart multilink central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83916/uart-multilink-central</link><description>Hi 
 I modify the ble_app_uart_c example to support connecting multiple nus peripherals.Calling the new_cccd_configure(p_ble_nus_c, true) return error after nus_c discovers nus completed as figure below.I can not find the reason.Attachment is my code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Jan 2022 09:57:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83916/uart-multilink-central" /><item><title>RE: uart multilink central</title><link>https://devzone.nordicsemi.com/thread/349710?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2022 09:57:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e3ab5c4-9af6-4979-85e2-448809312c3b</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;There will be no code generated for those marked lines if NRF_SDH_BLE_PERIPHERAL_LINK_COUNT is set to zero. Which it is in your 7z file in your first post.&lt;/p&gt;
&lt;p&gt;If the compiler refuses to generate code, there will usually be a good reason.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart multilink central</title><link>https://devzone.nordicsemi.com/thread/349689?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2022 08:36:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05e8cfe4-3d3b-4f28-aee0-e1ce8f02ad35</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;For the release notes of each nRF5 SDK you should find which versions of tools were used, I suggest to check if you can download those in specific. Also I suggest to try another example for comparison.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart multilink central</title><link>https://devzone.nordicsemi.com/thread/349676?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2022 07:28:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fba43ae9-f65f-470f-b9de-dfca997a8105</guid><dc:creator>helen</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1643179559684v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I&amp;#39;ve tried this way before, but the&amp;nbsp;&lt;span&gt;no code for breakpoint is still in the project.Do you have any other suggestion？&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: uart multilink central</title><link>https://devzone.nordicsemi.com/thread/349491?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 10:39:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03860156-07a1-443a-a618-0bd8240842f7</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;You can either compile with debug configuration and/or change the optimization on specific files like this:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1643107161677v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart multilink central</title><link>https://devzone.nordicsemi.com/thread/349427?ContentTypeID=1</link><pubDate>Tue, 25 Jan 2022 08:04:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad258d9c-6221-4b2c-9fe3-c067de0c83fa</guid><dc:creator>helen</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1643097615795v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Yes，I open the project&amp;nbsp;&lt;span&gt;&amp;nbsp;as-is without any modifications in options.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart multilink central</title><link>https://devzone.nordicsemi.com/thread/349159?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 09:40:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1cbb55f-8d03-4d3b-babb-501654318b7c</guid><dc:creator>Kenneth</dc:creator><description>[quote user="helen"]2、There is no code for breakpoint in the project and ble_nus_c_string_send() isn‘t called by project.And It is not invalid to set the&amp;nbsp;optimization level to 0.[/quote]
&lt;p&gt;Does it happen if you open the project as-is without any modifications?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart multilink central</title><link>https://devzone.nordicsemi.com/thread/349121?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 07:10:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64a5bf6d-a310-469e-8bdc-5e8ad1bff6f6</guid><dc:creator>helen</dc:creator><description>&lt;p&gt;1、&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1643006788841v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The reason is as what you say，thank you.&lt;/p&gt;
&lt;p&gt;2、There is no code for breakpoint in the project and ble_nus_c_string_send() isn&amp;lsquo;t called by project.And It is not invalid to set the&amp;nbsp;optimization level to 0.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1643007943186v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1643008081801v4.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uart multilink central</title><link>https://devzone.nordicsemi.com/thread/348929?ContentTypeID=1</link><pubDate>Fri, 21 Jan 2022 12:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8312f65-3166-47d8-a6f2-874c395fba1a</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Did you change the code in ble_nus_c.c?&lt;/p&gt;
&lt;p&gt;It looks to me like the err_code variable is uninitialized, thus you read a random value off the stack memory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>