<?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 characteristic value to another nrf51DK board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24554/how-to-send-characteristic-value-to-another-nrf51dk-board</link><description>Hi,
I&amp;#39;m using NRF51 DK board and i am following characteristic tutorial available. I am able to send temperature value over Bluetooth by using light blue app.. Instead of using this application now i want to send this data over Bluetooth to another nrf51</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Aug 2017 13:26:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24554/how-to-send-characteristic-value-to-another-nrf51dk-board" /><item><title>RE: how to send characteristic value to another nrf51DK board</title><link>https://devzone.nordicsemi.com/thread/96662?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2017 13:26:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e9842bb-5334-4ff9-bb46-e17977c8ff7d</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;No my friend I cannot. However if you are using &lt;code&gt;nRF5_SDK_14.0.0_3bcc1f7\examples\ble_central\ble_app_uart_c&lt;/code&gt; project then you can see at line #296 of &lt;code&gt;main.c&lt;/code&gt; file following construction and that&amp;#39;s where Event Notification data should appear if send from Nordic UART Server by HVX method:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;case BLE_NUS_C_EVT_NUS_TX_EVT:
    ble_nus_chars_received_uart_print(p_ble_nus_evt-&amp;gt;p_data, p_ble_nus_evt-&amp;gt;data_len);
    break;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Either is your GAP Peripheral/GATT Server piece compatible with it immediately or you need to dig deeper into &lt;code&gt;ble_nus_c&lt;/code&gt; module how it actually processes HVX events.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send characteristic value to another nrf51DK board</title><link>https://devzone.nordicsemi.com/thread/96661?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2017 13:09:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c69b030b-1a6e-486d-81ed-ccc2c436889b</guid><dc:creator>norin saiyed</dc:creator><description>&lt;p&gt;can you please send some reference code???&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send characteristic value to another nrf51DK board</title><link>https://devzone.nordicsemi.com/thread/96660?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2017 12:49:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83f4c7e9-0770-448f-a519-f329b24f9a66</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;You don&amp;#39;t read it, you will receive it as asynchronous event. If you use event handler directly on top of Soft Device then &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.1/group___b_l_e___g_a_t_t_c___e_n_u_m_e_r_a_t_i_o_n_s.html?cp=3_7_2_1_0_2_2_1_0_9#ggafd9b8b42eeb832d688e33f4561f97efca0f71b4e016b2049dfbd74fa2e46b9cd3"&gt;you will see &lt;code&gt;BLE_GATTC_EVT_HVX&lt;/code&gt; coming&lt;/a&gt; (note that this can change depending on Soft Device version you use so consult proper API spec). Then in event data structure you can see what arrived. However if you use some modules to manage certain SoftDevice events then this might be hidden from you in their callback functions or some internal state machines...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send characteristic value to another nrf51DK board</title><link>https://devzone.nordicsemi.com/thread/96659?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2017 12:37:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69e67f1d-38f7-4395-96c3-21b391df1535</guid><dc:creator>norin saiyed</dc:creator><description>&lt;p&gt;how do i read notification string send by a peripheral device with ble_app_uart_c example..I have configured proper uuid for both peripheral and central&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send characteristic value to another nrf51DK board</title><link>https://devzone.nordicsemi.com/thread/96658?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2017 12:21:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9612646-9ddd-4b06-adee-b40a7943ecc5</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;You will firstly need to have matching &amp;quot;profiles&amp;quot; meaning good opposite GAP and GATT roles and on GATT layer Server must expose right Service(s) and Characteristic(s) with the right UUID and on Client side your app must be looking for the same. Finally on top of these GATT objects you need to define &amp;quot;protocol&amp;quot; (it can be as simple as &amp;quot;pass the data stream over without any structure so just raw byte stream&amp;quot;) and implement on both sides. Only then devices will work together. But this is like for any other machine in this universe, right? If you want to talk to it, you need to use correct language...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send characteristic value to another nrf51DK board</title><link>https://devzone.nordicsemi.com/thread/96657?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2017 12:08:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ca06deb-6f87-4883-b96a-a15d319bd4e6</guid><dc:creator>norin saiyed</dc:creator><description>&lt;p&gt;Hi,
I have tried ble_app_uart_c example as a central device.. but not able to get the response. How should i get the values send by a peripheral device on my central device???&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to send characteristic value to another nrf51DK board</title><link>https://devzone.nordicsemi.com/thread/96656?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2017 11:48:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9582aca9-dfb4-441e-ad62-01bcdd44951d</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Then one of the boards must be Master (GAP Central) and second Slave (GAP Peripheral) In your case of LightBlu is your iPhone most probably Master so you need to achieve the same behavior in nRF5x FW to see the same. Have you ever run some nRF5 SDK examples against each other like Nordic BLE UART Service (NUS)? There are both Peripheral (+ GATT Server) and Central (+ GATT Client) examples in the SDK so I would start with them...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>