<?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>Peripheral UART example show echo text, how to fix it?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106348/peripheral-uart-example-show-echo-text-how-to-fix-it</link><description>Hi support team, 
 My environment: nRF52-DK / PCA10040 / s132 (central) by \nRF5_SDK_17.1.0_ddde560\examples\ble_central\ble_app_uart_c MDBT42Q-DB (peripheral) by \nRF5_SDK_17.1.0_ddde560\examples\ble_peripheral\ble_app_uart SDK 17.1.0 MDK IDE-Version</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Dec 2023 06:03:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106348/peripheral-uart-example-show-echo-text-how-to-fix-it" /><item><title>RE: Peripheral UART example show echo text, how to fix it?</title><link>https://devzone.nordicsemi.com/thread/459096?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 06:03:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2514cd1-fc1b-44be-8418-05e15473f5c9</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;You&amp;#39;re welcome, thanks for letting me know it helped; trick is to enable the same feature on the peripheral and they will happily chat for hours :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral UART example show echo text, how to fix it?</title><link>https://devzone.nordicsemi.com/thread/459092?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 03:43:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28822df9-4de5-49c2-ba4e-39c7dfbadde4</guid><dc:creator>William.SportsArt</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;You are right, the echo text was from Central.&lt;/p&gt;
&lt;p&gt;I disabled&amp;nbsp;ECHOBACK_BLE_UART_DATA and tested again, the result is as follows. (Figure 1)&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt="Figure 1" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/NB_5F00_Image_5F00_20231206_5F00_113924.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral UART example show echo text, how to fix it?</title><link>https://devzone.nordicsemi.com/thread/459091?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 03:28:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cfd073f-ba1b-4868-989d-ea6cde409c89</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Ain&amp;#39;t the peripheral, it be central .. check this setting; central has an option to echo everything received over BLE from the peripheral back to the peripheral over BLE just as though someone sent a new command:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;on Central:
    if (ECHOBACK_BLE_UART_DATA)
    {
        // Send data back to the peripheral.
        do
        {
            ret_val = ble_nus_c_string_send(&amp;amp;m_ble_nus_c, p_data, data_len);
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral UART example show echo text, how to fix it?</title><link>https://devzone.nordicsemi.com/thread/459089?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 02:37:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e61bafe-1c69-41b5-bdbe-5e5339a6ad9d</guid><dc:creator>William.SportsArt</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using examples from the SDK without any modifications.&lt;/p&gt;
&lt;p&gt;I tried switching central &amp;amp; peripheral firmware to both development boards, and the echo text issue was also switched.&lt;/p&gt;
&lt;p&gt;Thus, the echo text issue happens in the peripheral firmware.&lt;/p&gt;
&lt;p&gt;How does peripheral firmware have this issue? How to fix it?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral UART example show echo text, how to fix it?</title><link>https://devzone.nordicsemi.com/thread/458959?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 12:45:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31f192bb-a749-49da-b42f-7e3f787fe68a</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using the examples from the SDK without any modifications?&lt;/p&gt;
&lt;p&gt;Have you tried switching which board runs which firmware, to see if the behavior follows the FW or the board?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not familiar with this serial terminal software, but some softwares have a feature to local echo text, is this enabled in one of the terminals but not the other?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>