<?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>Using NUS on development board, not sending data to central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96113/using-nus-on-development-board-not-sending-data-to-central</link><description>I have built and flashed the NUS example in the SDK and using nRFConnect on my phone I can send data to the dev board. However, I am unable to receive data at nRFConnect sent to the dev board by the attached terminal. I have seen data arrive sometimes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Jan 2023 18:15:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96113/using-nus-on-development-board-not-sending-data-to-central" /><item><title>RE: Using NUS on development board, not sending data to central</title><link>https://devzone.nordicsemi.com/thread/407422?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2023 18:15:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de7be032-4d8e-4c32-84e5-7e309dbcc23a</guid><dc:creator>SidPrice</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Hi, thanks for your help, I did not make any change but now the NUS example seems to be working.&lt;/p&gt;
&lt;p&gt;Sid&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using NUS on development board, not sending data to central</title><link>https://devzone.nordicsemi.com/thread/407144?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2023 14:37:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dcc0234-f635-4089-9e85-b6ef6e27e680</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sid,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What did you mean by &amp;quot;there is no data coming from the dev board&amp;quot; ?&amp;nbsp;&lt;br /&gt;Please upload the sniffer trace.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As I suggested, please step into the code and debug.&amp;nbsp;&lt;br /&gt;If you see the write command from the phone to the dev board, a write callback should arrive in&amp;nbsp;&lt;span&gt;bt_receive_cb()&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using NUS on development board, not sending data to central</title><link>https://devzone.nordicsemi.com/thread/407136?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2023 14:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3c63833-a5cb-433c-9dbc-1d7082f00516</guid><dc:creator>SidPrice</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/hungbui"&gt;Hung Bui (hungbui&lt;/a&gt;), thank you for the reply.&lt;/p&gt;
&lt;p&gt;I am using nRF Sniffer, I see data going from my phone to the dev. board, there is no data coming from the dev board.&lt;/p&gt;
&lt;p&gt;Yes the UART connection is working, it is a virtual comm port via the JLInk OB.&lt;/p&gt;
&lt;p&gt;No modifications have been made to the sample.&lt;/p&gt;
&lt;p&gt;I have not tried any other sample.&lt;/p&gt;
&lt;p&gt;Sid&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using NUS on development board, not sending data to central</title><link>https://devzone.nordicsemi.com/thread/407117?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2023 13:32:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e240e6c-5faf-4d63-9a0e-3ff788a84c54</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sid Price,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest to use the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;nRF Sniffer&lt;/a&gt; to check if the phone actually sending any data to the nRF5 chip.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you verified that the UART connection is working properly ? I would suggest to try put a break point in&amp;nbsp;bt_receive_cb() function to see if the callback is called when you send something from the phone.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Have you made any modification to the peripheral_uart sample ?&amp;nbsp;&lt;br /&gt;Have you tried to test with other sample , for example peripheral_lbs ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>