<?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>how to send data from nRF52832 to phone</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28459/how-to-send-data-from-nrf52832-to-phone</link><description>now i use nRF52832 and my using paccage is SDK14.0.0
i could send data from phone to nRF52832.
next i wanna send data from nRF52832 to phone.
but i don&amp;#39;t know where to change in the source code.
What should i do? 
 thank you in advanced</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Mar 2018 12:57:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28459/how-to-send-data-from-nrf52832-to-phone" /><item><title>RE: how to send data from nRF52832 to phone</title><link>https://devzone.nordicsemi.com/thread/125730?ContentTypeID=1</link><pubDate>Fri, 23 Mar 2018 12:57:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5308e433-3295-4ac6-bc49-60f4d5d1cb86</guid><dc:creator>Saffiq</dc:creator><description>&lt;p&gt;Hi . Can i know the coding that you use to send data from nRF52832 to iphone ? because currently i am trying to send data from sensor that were connected to nRF52832 to mobile phone&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send data from nRF52832 to phone</title><link>https://devzone.nordicsemi.com/thread/112485?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2018 10:10:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25f94c3a-49a3-4e9f-b6d4-5bf3a302c540</guid><dc:creator>Alaa</dc:creator><description>&lt;p&gt;@Joakim - I solved it thanks... I had to enable notification in the BLE app on the smartphone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send data from nRF52832 to phone</title><link>https://devzone.nordicsemi.com/thread/112484?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2018 10:02:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e353404f-84da-4084-a4c3-d4af969c2e14</guid><dc:creator>Alaa</dc:creator><description>&lt;p&gt;@Joakim - From debugging I understand that this happens because ble_srv_is_notification_enabled() returns false. What does it mean that notification is not enabled? How do I enable it please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send data from nRF52832 to phone</title><link>https://devzone.nordicsemi.com/thread/112483?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2018 09:58:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:845141e7-b85d-4a68-808c-19c84c7e8a4c</guid><dc:creator>Alaa</dc:creator><description>&lt;p&gt;@Joakim - I keep getting an error NRF_ERROR_INVALID_STATE when I do this. Any ideas? Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send data from nRF52832 to phone</title><link>https://devzone.nordicsemi.com/thread/112482?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2017 07:39:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7537a0bc-1c37-45e9-b46a-9c745e2ea060</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi. I&amp;#39;m sorry, this is all my mistake. The code snippet in my answer should be in the &lt;code&gt;bsp_event_handler&lt;/code&gt; NOT the &lt;code&gt;ble_event_handler&lt;/code&gt;. I will edit my answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send data from nRF52832 to phone</title><link>https://devzone.nordicsemi.com/thread/112481?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2017 07:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b84c49e-8847-43ab-b93a-ec12c324b159</guid><dc:creator>Kaito</dc:creator><description>&lt;p&gt;thank you for your reply.
i could send the data to iphone!!&lt;/p&gt;
&lt;p&gt;I really appreciate your advice!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send data from nRF52832 to phone</title><link>https://devzone.nordicsemi.com/thread/112487?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2017 08:32:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0fdf8d0-cb15-4967-bc04-809a1ea6c916</guid><dc:creator>Bayram ZAYET</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;you can just use the UART example in your SDK. via the service nus, you will be able to send what you want from and to your nRF52 through a terminal.&lt;/p&gt;
&lt;p&gt;please check this &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.0.0%2Fuart_example.html&amp;amp;cp=4_0_0_4_5_42"&gt;link&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send data from nRF52832 to phone</title><link>https://devzone.nordicsemi.com/thread/112486?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2017 07:47:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec0886b6-28df-479d-ad8c-5ed99f27b3e0</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi Kaito!&lt;/p&gt;
&lt;p&gt;There is several ways to do this. You can send some data to your phone after a keypress, at a certain event or set up a timer and send data at a fixed interval etc. I also don&amp;#39;t know what type of data you want to send.&lt;br /&gt;
There are several examples in the SDK that can send data to your phone. But you can take a look at the ble_app_uart example, and the way it is done there.&lt;/p&gt;
&lt;p&gt;Just as a simple example, you can add this to the &lt;code&gt;bsp_event_handler&lt;/code&gt; in the ble_app_uart example:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;case BSP_EVENT_KEY_1:
{			
uint8_t data[6] = &amp;quot;Hello!&amp;quot;;
uint16_t length = 6; 
ble_nus_string_send(&amp;amp;m_nus, data, &amp;amp;length);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This will make your application send the string &amp;quot;Hello!&amp;quot; each time you press button 2, if you connect your phone via UART in the nRF Toolbox app.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;
Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>