<?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>BLE connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33872/ble-connection</link><description>Hello, 
 
 We wish to use nRF52832 IC in our design. We will design an equipment which can connect to another device via BLE and can send some measurement data. Our equipment will be the BLE client. 
 In the nRF5_SDK there are many examples such as uart</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 May 2018 13:24:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33872/ble-connection" /><item><title>RE: BLE connection</title><link>https://devzone.nordicsemi.com/thread/130581?ContentTypeID=1</link><pubDate>Wed, 02 May 2018 13:24:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fafb4c9a-ee46-4247-9c86-5408a7887ec8</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;BLE does not have a concept of client and server, in the way many other protocols have.&lt;/p&gt;
&lt;p&gt;In a BLE connection, you have one device which uses very little power (peripheral) and one device which usually uses more power (central). Data can be sent in any direction between the two, and in that sense both can act in a way that you can describe as being a kind of &amp;quot;client&amp;quot; and a kind of &amp;quot;server&amp;quot;.&lt;/p&gt;
&lt;p&gt;You probably want to let your device be the peripheral. If you only need a connection once in a while, then the peripheral can start advertising when it needs a connection. The PC or tablet, acting as central, must scan all the time, and when it receives an advertisement from the peripheral it can connect and receive data from the peripheral over the connection.&lt;/p&gt;
&lt;p&gt;Alternatively you can do this without using a connection, if your device is a broadcaster (beacon) that advertises and has put the data directly in the advertising packet. The PC or tablet in this case acts as observer, and data can only go from the beacon to the observer (no data the other way, for that you would need a connection.)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE connection</title><link>https://devzone.nordicsemi.com/thread/130300?ContentTypeID=1</link><pubDate>Mon, 30 Apr 2018 13:37:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13a5a75c-f492-4d5f-8ac5-af2031a76ed6</guid><dc:creator>enkavak</dc:creator><description>&lt;p&gt;Hi tesc,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I will take a look at the that you provided.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;For my early question, Which example should I use?&amp;nbsp;My BLE device will connect to another BLE device such as PC or tablet. My device will be the client.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE connection</title><link>https://devzone.nordicsemi.com/thread/130283?ContentTypeID=1</link><pubDate>Mon, 30 Apr 2018 12:18:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9f49020-1176-4d0e-abc4-1a61fb3a9502</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Using BLE terminology, that example (&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_nus_c.html"&gt;Nordic UART Service Client&lt;/a&gt;) is a &amp;quot;central&amp;quot;, which is also the device initiating a connection. It does so by entering the &amp;quot;scanner&amp;quot; role, which is where it listens for &amp;quot;advertisements&amp;quot; from a &amp;quot;peripheral&amp;quot;.&lt;/p&gt;
&lt;p&gt;In this particular example it checks if the peripheral advertises a specific BLE Service (the Nordic UART Service) and connects to any peripheral that do. This is done in the advertisement report handler named on_adv_report() found in main.c.&lt;/p&gt;
&lt;p&gt;For better understanding the concepts and terminology involved in BLE, I strongly recommend having a look at the tutorials here on DevZone, especially the &lt;a href="https://devzone.nordicsemi.com/tutorials/b/bluetooth-low-energy"&gt;bluetooth low energy tutorials&lt;/a&gt;. They will introduce you to some concepts and terminology that makes things much easier both for asking further questions and during development.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE connection</title><link>https://devzone.nordicsemi.com/thread/130112?ContentTypeID=1</link><pubDate>Fri, 27 Apr 2018 12:40:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21aaec3b-92ea-41b6-87f4-f544cf22d4b0</guid><dc:creator>enkavak</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I am not familiar with the BLE terminology That&amp;#39;s Why I am explaining it by the awkward&amp;nbsp;way. I see that server is named as central and the client is named as peripheral&amp;nbsp;in BLE jargon.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; When I use the code below, will my nRF52832 connect to any BLE device?&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;C:\nRF5_SDK\examples\ble_central\ble_app_uart_c&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE connection</title><link>https://devzone.nordicsemi.com/thread/130100?ContentTypeID=1</link><pubDate>Fri, 27 Apr 2018 11:50:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:020029d0-b691-45b7-a33f-5e068f3b7816</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Please use terminology like &amp;quot;central&amp;quot; and &amp;quot;peripherial&amp;quot; with BLE, as &amp;quot;client&amp;quot; and &amp;quot;server&amp;quot; is ambigous here. There are example codes for &lt;strong&gt;both&lt;/strong&gt; central and peripherial role using UART service.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>