<?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>Read BLE received data when being a peripheral ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13021/read-ble-received-data-when-being-a-peripheral</link><description>hello everyone , 
 Well first I have to mention that I&amp;#39;m at a the very starting stages in using this great DK and I went throw some tutorials ...
Well , I have some questions that might seem stupid so please forgive that fact , my question is how to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Apr 2016 09:53:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13021/read-ble-received-data-when-being-a-peripheral" /><item><title>RE: Read BLE received data when being a peripheral ?</title><link>https://devzone.nordicsemi.com/thread/49637?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2016 09:53:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7912730-49d4-422f-a04d-58c0d6cd6276</guid><dc:creator>Pavan kumar</dc:creator><description>&lt;p&gt;As per my knowledge you no need to bother about services because we only write to the characteristics and for sure each characteristic will have different handles.only thing you need to do is checking weather the handle is equals are not just like
if(p_evt_write-&amp;gt;handle == p_nus-&amp;gt;tx_handles.value_handle) in case of nus. &amp;quot;could a peripheral be a server and a client at the same time&amp;quot; yes the softdevice s130 support for both server and client roles simultaneously&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read BLE received data when being a peripheral ?</title><link>https://devzone.nordicsemi.com/thread/49634?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2016 08:21:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18e565cd-fd65-4989-aaf3-12861a522b25</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Yes, the examples can seem fairly complex in the beginning.&lt;/p&gt;
&lt;p&gt;It helps a lot to have some knowledge on how BLE works. To get an overview, you can take a look at &lt;a href="https://www.safaribooksonline.com/library/view/getting-started-with/9781491900550/"&gt;this&lt;/a&gt; book.&lt;/p&gt;
&lt;p&gt;Encrypted links are obtained with bonding or pairing. The &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Flib_peer_manager.html&amp;amp;cp=4_0_0_3_1_11"&gt;peer manager module&lt;/a&gt; in the SDK handles the bonding/pairing process. The message sequence charts for bonding and pairing can be found &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s130.api.v2.0.0%2Fgroup___b_l_e___g_a_p___p_e_r_i_p_h___l_e_s_c___b_o_n_d_i_n_g___n_c___m_s_c.html&amp;amp;cp=2_6_2_1_0_2_1_3_8_6_0"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read BLE received data when being a peripheral ?</title><link>https://devzone.nordicsemi.com/thread/49636?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2016 18:52:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa3372c0-40fe-4cd9-889c-343e7230e7b7</guid><dc:creator>Nour_l</dc:creator><description>&lt;p&gt;Hi ,
thanks for responding , well right now I&amp;#39;m having a look over the standard you suggested ... right now I&amp;#39;m wondering .. having more than one service provided by the DK how could the client recognize to which service the data belong and whether could a prephiral be a server and a client at the same time&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read BLE received data when being a peripheral ?</title><link>https://devzone.nordicsemi.com/thread/49633?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2016 18:11:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5677b313-fb64-4df0-b161-c48ee0d70d56</guid><dc:creator>Nour_l</dc:creator><description>&lt;p&gt;Hi ,
well to be honest I actually run through the Heart Rate example and I found it a bit of a hard example to be start with but I&amp;#39;ll keep on trying as you suggested , the thing is I&amp;#39;m a member of team developing a security system as a school project we are dealing with bluetooth communication using nRF51422 and I&amp;#39;m finding a hard time proceeding with that specialy with being kind of a beginner in this field&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read BLE received data when being a peripheral ?</title><link>https://devzone.nordicsemi.com/thread/49635?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2016 12:38:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ba9df99-225a-45a4-90f1-79e311233abb</guid><dc:creator>Pavan kumar</dc:creator><description>&lt;p&gt;&amp;quot;how to read received data from when the nRF51 422 being a peripheral&amp;quot; Generally the central will writes to peripheral through characteristics So the data is in characteristic what all you need to do is copy that data to your local buffers. I suggest you to check on_write() function in the standard  ble_nus.c. It may give you better idea&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read BLE received data when being a peripheral ?</title><link>https://devzone.nordicsemi.com/thread/49632?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2016 11:09:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7d2269a-7e68-4b89-a532-09eb3700a475</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;First, it may be useful to take a look at the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fble_sdk_app_hrs.html&amp;amp;cp=4_0_0_4_2_2_8"&gt;Heart Rate example documentation&lt;/a&gt; in the SDK.&lt;/p&gt;
&lt;p&gt;What do you mean by &amp;quot;how is the data supposed to be dealt with when received by an application&amp;quot;, if it is the central side you refer to, it depends on the application: a heart rate monitor would for example show the current heart rate on a screen.&lt;/p&gt;
&lt;p&gt;The example ble_app_hrs_c shows how the central side for a heart rate link can be implemented. The documentation for that example can be found &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fble_sdk_app_hrc.html&amp;amp;cp=4_0_0_4_2_0_0"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>