<?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>Make communication between ble central and  ble peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25123/make-communication-between-ble-central-and-ble-peripheral</link><description>I am using Nordic NRF528321 with SDK 11.0 and soft device S132 as ble central.At peripheral side it is Nordic NRF51422 with SDK12.2 and soft device S130.I am trying to pair these two devices using the example codes. Ble peripheral starts advertising and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Feb 2018 08:45:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25123/make-communication-between-ble-central-and-ble-peripheral" /><item><title>RE: Make communication between ble central and  ble peripheral</title><link>https://devzone.nordicsemi.com/thread/120938?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2018 08:45:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28456af6-174d-4c22-a7bf-c9470c51dfab</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi vprasath,&lt;/p&gt;
&lt;p&gt;When the peripheral devices connects to your central, you will get a event BLE_GAP_EVT_CONNECTED. In this event you can find the 48-bit BLE address&amp;nbsp;of the peripheral&lt;/p&gt;
&lt;p&gt;&lt;em&gt;p_ble_evt-&amp;gt;evt.gap_evt.params.connected.peer_addr&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;While the device is connected, you can then use the associated connection handle to identify the device. &lt;em&gt;p_ble_evt-&amp;gt;evt.gap_evt.conn_handle&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Make communication between ble central and  ble peripheral</title><link>https://devzone.nordicsemi.com/thread/120833?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2018 13:46:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e149e57c-0e84-49b9-999d-e7ece4722bec</guid><dc:creator>vprasath</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Where can i get the unique bluetooth address of peripheral device when it is connected to the central?&lt;/p&gt;
&lt;p&gt;My application needs the unique bluetooth address of the peripheral,so that the central can identify each peripheral.&lt;/p&gt;
&lt;p&gt;Thank You&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Make communication between ble central and  ble peripheral</title><link>https://devzone.nordicsemi.com/thread/98956?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2017 12:25:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1690406-3a59-4bc7-a38e-60d795bd651b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;&lt;code&gt;NUS_BASE_UUID&lt;/code&gt; is the base for the Nordic UART Service(NUS) UUID.&lt;/p&gt;
&lt;p&gt;The peripheral(&lt;code&gt;ble_app_uart&lt;/code&gt;) is advertising this BLE service NUS UUID in its advertising packet. When the central(&lt;code&gt;ble_app_uart_c&lt;/code&gt;) is scanning, you will get a &lt;code&gt;BLE_GAP_EVT_ADV_REPORT&lt;/code&gt; event with the content of any advertising packet it finds. The central application then calls the function &lt;code&gt;is_uuid_present()&lt;/code&gt;, where it looks for the NUS UUID. If the UUID is found, it will connect to the peripheral.&lt;/p&gt;
&lt;p&gt;You can use the same UUID on all your peripherals. The most common way to uniquely identify the peripherals is by using the unique &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/structble__gap__evt__adv__report__t.html?cp=2_3_0_1_0_2_1_4_40_3#aa3b76d297c95df8244348e7352eca1da"&gt;Bluetooth address of the peripheral device&lt;/a&gt;.
You could also give the peripherals different names(&lt;code&gt;DEVICE_NAME&lt;/code&gt;), the default name for ble_app_uart example is &lt;code&gt;Nordic_UART&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Make communication between ble central and  ble peripheral</title><link>https://devzone.nordicsemi.com/thread/98957?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2017 07:12:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c3991b5-6fa1-40bd-a49f-63e2a1ce1853</guid><dc:creator>lakshmi</dc:creator><description>&lt;p&gt;Thank you for your response,&lt;/p&gt;
&lt;p&gt;I referred the ble_app_uart_c for central.In that,NUS_BASE_UUID having 128-bit UUID value.Is that the peripheral UUID?But,in my task,the incoming uart data contains the UUID information about the peripheral device which I need to connect now.So while the uart event occurs,I am extracting the UUID information and then I connect to that particular peripheral.For that how can assign the NUS_BASE_UUID value.It can be changing according to the uart request data(multilink peripheral).And also I need to know how to create the custom UUIDs for each nordic devices or else each device has its own const  UUID?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Make communication between ble central and  ble peripheral</title><link>https://devzone.nordicsemi.com/thread/98958?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 09:39:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bb3f453-5ff4-4764-9025-288c7e55d935</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As a starting point, I would recommend taking a look at the Nordic UART over BLE examples that implement the Nordic UART Service (NUS).&lt;/p&gt;
&lt;p&gt;For the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/ble_sdk_app_nus_c.html?cp=4_0_6_4_2_0_3"&gt;Central&lt;/a&gt; use the following project:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;SDK_InstallFolder&amp;gt;\examples\ble_central\ble_app_uart_c
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;For the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/ble_sdk_app_nus_eval.html?cp=4_0_6_4_2_2_18"&gt;Peripheral&lt;/a&gt; use the following project:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;SDK_InstallFolder&amp;gt;\examples\ble_peripheral\ble_app_uart
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Make communication between ble central and  ble peripheral</title><link>https://devzone.nordicsemi.com/thread/98955?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2017 17:14:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6050311f-71a2-45a5-b834-05831ae5e6fb</guid><dc:creator>lakshmi</dc:creator><description>&lt;p&gt;Thank you so much for your response,Just started to going through the basic tutorials like making communication between android device as central and nordic peripheral.My requirement is,based on the request from the BLE central, I need to fetch some sensor data at regular intervals from the nordic peripheral and send back to the central device via nus and store it in database through uart serial communication.Really I am not having any idea,how to give the connection interval,at central side where I need to enter the UUID of the device which is advertising,to detect the device while scanning happens.Please tell me from where I need to start and share some sample code for ble central and peripheral communication.I can able to understand the concept,but it is very confusing while implementing it with the events.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Make communication between ble central and  ble peripheral</title><link>https://devzone.nordicsemi.com/thread/98954?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2017 16:37:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5608bbdd-453a-4a9a-8c08-ec9a1ca21d2f</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Dear Lakshmi, you list HW, SDK and stack versions but they do nothing on their own, it&amp;#39;s the APP FW which makes all the things (= through stack and SDK libs and HW of course;). So please tell us what is exactly running on your boards and then we might be able to help you... Also my feeling is that you will be disappointed: most of the things happening in deeply embedded systems like nRF5x are not really simple, they have certain level of complexity which cannot by magically taken away. So understanding some basic principles will be necessary to move forward (like have you read some good tutorial or training about all BLE stack layers and their function, have you read resources here and on Nordic Infocenter, have you done few basic examples from nRF5 SDK from the beginning till the end etc.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>