<?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>Can&amp;#39;t send data to nrf Connect app o NRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98625/can-t-send-data-to-nrf-connect-app-o-nrf52832</link><description>I am trying to send two values to nrf Connect app through BLE using NUS service. The connection is working fine, device connects with the nrf Connect app but when I enable the notifications , There is no value being notify on the nrf Connect app 
 using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Jan 2025 07:38:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98625/can-t-send-data-to-nrf-connect-app-o-nrf52832" /><item><title>RE: Can't send data to nrf Connect app o NRF52832</title><link>https://devzone.nordicsemi.com/thread/516902?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 07:38:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e66e77df-b137-4f3c-80df-9088f5a290d1</guid><dc:creator>Tirth_S</dc:creator><description>&lt;p&gt;hi AIRAM&lt;br /&gt;&lt;br /&gt;i try implement this answer in ble_app_uart code but still the data send via nrf52 device that not receives by mobile application although the data send via mobile application that receive by nrf52 device.&lt;br /&gt;&lt;br /&gt;please guide me.&lt;br /&gt;thanks in advance.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't send data to nrf Connect app o NRF52832</title><link>https://devzone.nordicsemi.com/thread/420704?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 09:27:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2aab69ce-5c1b-4298-ad71-078e5b14e8f9</guid><dc:creator>AIRAM</dc:creator><description>&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The changes in code that can work for you if you struggling with the same problem, and dont forget to change the option to float&lt;/p&gt;
&lt;p&gt;PROJECTS&amp;gt;OPOTIONS&amp;gt; PRINTF&amp;gt;PRINTF FLOATING SUPPORTED( TO FLOAT)&lt;pre class="ui-code" data-mode="text"&gt;void send_data_via_nus(float X, float Y, ble_nus_t nus_service)
{
uint8_t data[8];
memcpy(data, &amp;amp;X, sizeof(X));
memcpy(data + sizeof(X), &amp;amp;Y, sizeof(Y));

uint16_t length = sizeof(X) + sizeof(Y);
ret_code_t err_code;
err_code = ble_nus_data_send(&amp;amp;m_nus, data, &amp;amp;length, m_conn_handle);
if ((err_code != NRF_ERROR_INVALID_STATE) &amp;amp;&amp;amp; (err_code != NRF_ERROR_NOT_FOUND))
{
APP_ERROR_CHECK(err_code);
}

}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't send data to nrf Connect app o NRF52832</title><link>https://devzone.nordicsemi.com/thread/420635?ContentTypeID=1</link><pubDate>Sun, 16 Apr 2023 22:26:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c0bf319-3b87-4745-b3de-b0941c2d9bef</guid><dc:creator>AIRAM</dc:creator><description>&lt;p&gt;okay, thanks&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't send data to nrf Connect app o NRF52832</title><link>https://devzone.nordicsemi.com/thread/420463?ContentTypeID=1</link><pubDate>Fri, 14 Apr 2023 10:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3514faab-62a2-4934-acb1-0d01fda1bd9d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;I&amp;#39;m not able to spot anything from the code snippets you&amp;#39;ve shared. Any chance you could do a sniffer trace so we can see what happens over the air? You can take a sniffer trace either with a &lt;a href="https://www.ellisys.com/products/btcompare.php"&gt;dedicated sniffer&lt;/a&gt;&amp;nbsp;or with a spare nRF52 DK, Wireshark and the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/intro.html"&gt;nRF Sniffer&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;From seeing what data is actually being sent between the two devices we should be able to get an idea of what&amp;#39;s not being transmitter or received correctly.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't send data to nrf Connect app o NRF52832</title><link>https://devzone.nordicsemi.com/thread/420083?ContentTypeID=1</link><pubDate>Thu, 13 Apr 2023 05:54:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1799c61-6a4e-4025-ab0b-6ace7872bb83</guid><dc:creator>AIRAM</dc:creator><description>&lt;p&gt;Standard ble uart example work completely fine separately but when&amp;nbsp; integrate it in my other code( which is also working completely fine separately) it can&amp;#39;t send data&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't send data to nrf Connect app o NRF52832</title><link>https://devzone.nordicsemi.com/thread/420081?ContentTypeID=1</link><pubDate>Thu, 13 Apr 2023 05:46:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dde8396-ac3f-4d01-8bf8-c9f5567e3abe</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;And how exactly is your approach to send data from the nRF52 to the app? Does the standard ble_app_uart application work as intended or not?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;
&lt;p&gt;As for &lt;a href="https://devzone.nordicsemi.com/members/angus4iiii"&gt;angus4iiii&lt;/a&gt;&amp;nbsp;, this seems to be the exact opposite problem. I would recommend using nRF Connect instead of the Toolbox app, as the toolbox app is pretty dated at this point. Please also make sure you&amp;#39;ve set up PuTTY according to our example projects:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Start a&amp;nbsp;terminal&amp;nbsp;emulator like PuTTY and connect to the used COM port with the following UART settings:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Baud rate: 115.200&lt;/li&gt;
&lt;li&gt;8 data bits&lt;/li&gt;
&lt;li&gt;1 stop bit&lt;/li&gt;
&lt;li&gt;No parity&lt;/li&gt;
&lt;li&gt;HW flow control: None&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't send data to nrf Connect app o NRF52832</title><link>https://devzone.nordicsemi.com/thread/420054?ContentTypeID=1</link><pubDate>Wed, 12 Apr 2023 20:36:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebc6e44b-d0f9-4660-a72b-e20db899598c</guid><dc:creator>angus4iiii</dc:creator><description>&lt;p&gt;I&amp;#39;m also running into some problems as well.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;When using the nrfToolbox--&amp;gt;UART--&amp;gt;Connect it just stays as connecting&lt;/p&gt;
&lt;p&gt;The debug logs keep showing this:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;lt;info&amp;gt; app: BLE NUS disconnected&lt;br /&gt;&amp;lt;info&amp;gt; app: BLE NUS connected&lt;br /&gt;&amp;lt;info&amp;gt; app: BLE NUS disconnected&lt;br /&gt;&amp;lt;info&amp;gt; app: BLE NUS connected&lt;br /&gt;&amp;lt;info&amp;gt; app: BLE NUS disconnected&lt;br /&gt;&amp;lt;info&amp;gt; app: BLE NUS connected&lt;br /&gt;&amp;lt;info&amp;gt; app: BLE NUS disconnected&lt;br /&gt;&amp;lt;info&amp;gt; app: BLE NUS connected&lt;br /&gt;&amp;lt;info&amp;gt; app: BLE NUS disconnected&lt;br /&gt;&amp;lt;info&amp;gt; app: BLE NUS connected&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;LED1 is solid&lt;/p&gt;
&lt;p&gt;LED3 is solid, right at boot up. It must&amp;#39;ve immediately connected to my &lt;span&gt;iPhone&lt;/span&gt;. When I turn off the Bluetooth on my iPhone, LED3 turns off.&lt;/p&gt;
&lt;p&gt;When I send data on PuTTY, LED4 flashes.&lt;br /&gt;&lt;br /&gt;The only thing left I have is to send data from my phone and arrive in PuTTY which is not working. Don&amp;#39;t know why!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't send data to nrf Connect app o NRF52832</title><link>https://devzone.nordicsemi.com/thread/420012?ContentTypeID=1</link><pubDate>Wed, 12 Apr 2023 14:37:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf4adedd-e2c5-46fd-a4ce-ef1ef7047052</guid><dc:creator>AIRAM</dc:creator><description>&lt;p&gt;Hi Simnor,&amp;nbsp;&lt;br /&gt;There is no error message or log message in debugging, Just the data that i want to send to nRF Connect App,&lt;br /&gt;Like the ble_app_uart i can only receive message from nRF Connect app but can not send any message to app.&lt;br /&gt;When I try to send message or a value , it doesn&amp;#39;t show on App&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't send data to nrf Connect app o NRF52832</title><link>https://devzone.nordicsemi.com/thread/419955?ContentTypeID=1</link><pubDate>Wed, 12 Apr 2023 12:39:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10e11eb9-e140-49cd-b2d7-7cf9f69a5e0c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What have you done in terms of debugging this? Do you see any error or log messages of&amp;nbsp;use if your peripheral is connected to a debugger? And is there any information in the log on nRF Connect side so you can see that notifications are enabled correctly and whether any data is actually sent from the peripheral device.&lt;/p&gt;
&lt;p&gt;Are you able to write data manually to the central device like the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_nus_eval.html"&gt;ble_app_uart&lt;/a&gt; application does by default?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't send data to nrf Connect app o NRF52832</title><link>https://devzone.nordicsemi.com/thread/419616?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2023 10:21:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ce9ef80-0916-4673-a35c-f1b890c2ca08</guid><dc:creator>AIRAM</dc:creator><description>&lt;p&gt;Hi, Susheel Nuguru,&amp;nbsp;&lt;br /&gt;Thanks for consideration&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't send data to nrf Connect app o NRF52832</title><link>https://devzone.nordicsemi.com/thread/419607?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2023 10:16:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f4d027e-3778-4afe-a83b-99d2c5098014</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;We just came back from Easter vacation and that was the reason for no response from out end.&amp;nbsp;&lt;/span&gt;&lt;span&gt;D&lt;/span&gt;&lt;span&gt;ue to very high traffic during this period on devzone and fewer people working this week,&amp;nbsp;&lt;/span&gt;&lt;span&gt;we did not manage to assign this to an expert yet. We will look into this as soon as possible, but please expect more delays the first two days. Thanks for your patience so far.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>