<?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>Receiving data from nRF UART compared to data from nRF Connect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32023/receiving-data-from-nrf-uart-compared-to-data-from-nrf-connect</link><description>Hello Nordic community! My setup is pca10040, android tablet, s132, sdk14.2. 
 
 This time I am trying to understand why this code: 
 
 While using nrf toolbox nrf UART prints out in RTT viewer &amp;quot;identifiaction failed&amp;quot; message and while using nrf Connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Mar 2018 12:19:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32023/receiving-data-from-nrf-uart-compared-to-data-from-nrf-connect" /><item><title>RE: Receiving data from nRF UART compared to data from nRF Connect</title><link>https://devzone.nordicsemi.com/thread/124973?ContentTypeID=1</link><pubDate>Mon, 19 Mar 2018 12:19:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c498f36-5254-428f-a5ef-a227d8643417</guid><dc:creator>Chocol8</dc:creator><description>&lt;p&gt;Thank you, for your help. I found the problem that it was my mistake while using some of the variables.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Receiving data from nRF UART compared to data from nRF Connect</title><link>https://devzone.nordicsemi.com/thread/124603?ContentTypeID=1</link><pubDate>Thu, 15 Mar 2018 13:48:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d39b609-0baf-487e-8e93-cb91271b5e9f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I had to declare some variables to make your code compile, but I was able to figure it out.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Strangely enough I don&amp;#39;t have any issues using nRF Toolbox. After I added your &amp;quot;Hello_Simb&amp;quot; string I get the &amp;quot;identification succeeded&amp;quot; message in return.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you try to use the debugger, and set a break point inside the&lt;strong&gt;&amp;nbsp;&lt;em&gt;if (p_evt-&amp;gt;type == BLE_NUS_EVT_RX_DATA)&lt;/em&gt;&lt;/strong&gt; section?&lt;/p&gt;
&lt;p&gt;Then you can have a look at the length of the data and the content, and see if it matches the id string. In my case the length is 10 as expected, and the data seems to match.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Receiving data from nRF UART compared to data from nRF Connect</title><link>https://devzone.nordicsemi.com/thread/124357?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 11:18:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:963fb8f2-04e1-4b35-bb2e-718da8645761</guid><dc:creator>Chocol8</dc:creator><description>&lt;p&gt;Yes, that should work out. I have deleted some unnecessary lines, there I hope I have not missed nothing.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Receiving data from nRF UART compared to data from nRF Connect</title><link>https://devzone.nordicsemi.com/thread/124305?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 09:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b3537ce-a76f-402b-8b1c-804913482fc9</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ovidijus&lt;/p&gt;
&lt;p&gt;Can I test your code simply by replacing the nus_data_handler() function in the standard example with the one you included?&lt;/p&gt;
&lt;p&gt;If so I will test your code and see if I can spot the problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>