<?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>nRF52840 - SDK16 - BLE Echo</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57220/nrf52840---sdk16---ble-echo</link><description>Hi I tried modifying the ble_app_uart_pca10056_s140 example as follows (nus_data_handler method modified only) such that it echoes the data back sent from the phone: 
 
 I expect the nRF52840 to echo back the example array which currently contains &amp;quot;ECHO</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Feb 2020 08:09:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57220/nrf52840---sdk16---ble-echo" /><item><title>RE: nRF52840 - SDK16 - BLE Echo</title><link>https://devzone.nordicsemi.com/thread/232245?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 08:09:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c8f5271-e3c6-4b61-b176-4af8faa49c3c</guid><dc:creator>Luke Galea</dc:creator><description>&lt;p&gt;Oh ok then, It was kind of misleading in the documentation then because it mentions only the TX sent. Thank you for confirming.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 - SDK16 - BLE Echo</title><link>https://devzone.nordicsemi.com/thread/232243?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 08:07:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5466184-eea7-4131-9982-582411b83ba3</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;It&amp;#39;s the length in bytes to be written, and length in bytes written after return. I.e setting it to 0, nothing will be sent.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 - SDK16 - BLE Echo</title><link>https://devzone.nordicsemi.com/thread/232238?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 07:48:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da33e701-ace4-4d9e-b6c3-9e470c67255c</guid><dc:creator>Luke Galea</dc:creator><description>&lt;p&gt;Hi Sigurd, I thought that the length_example is the variable to which the amount of characters sent will be written to? Or was I mistaken? Sending data from the phone to the nRF52840 is working fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 - SDK16 - BLE Echo</title><link>https://devzone.nordicsemi.com/thread/232234?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 07:42:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb16a7e3-12cd-4391-bcbd-ce6901650df3</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are setting length_example to 0, so nothing will be sent.&lt;br /&gt;Also, remember to enable the notification for the TX Characteristic on the phone, so that you can send data back to the phone from the nRF52840.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>