<?xml-stylesheet type="text/xsl" href="https://test-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/"><channel><title>Bluetooth low energy central tutorial</title><link>/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><description>Scope
Topics that will be covered include:



Before we begin

Necessary equipment and software
Necessary prior knowledge
Setting up the example projects


Background theory

Central and peripheral roles
Server and client roles
Connections in BLE


T</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Wed, 01 Jun 2022 09:52:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user113482</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;is there any update for this tutorial, lots of links are missing for now.&amp;nbsp;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Wed, 01 Sep 2021 14:28:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user107042</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Is there any repository to download the whole solution?&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Wed, 11 Aug 2021 14:20:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user106209</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thanks a lot. this topic really helpful&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Tue, 13 Oct 2020 19:02:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user94034</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Will you migrate this tutorial to SDK 15 and nRF52840?&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Mon, 08 Jul 2019 18:14:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user80997</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;That was quite a well structured post with a realtive good insight on how SDk nordic works. My only remark would be that you repair the broken links[emoticon:98f842990f454422aa6a04953955f9d9]. thanks!!!&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Wed, 18 Oct 2017 13:27:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user26919</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This tutorial could be enhanced by telling the readers where in NUS they could add their own Rx packet parsing.&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Fri, 22 Sep 2017 10:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user26455</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thanks for nice tutorial. Very helpful in understanding Flow.&lt;/p&gt;
&lt;p&gt;I am facing some issue, I am using HM10 ble module as peripheral and NRF52832 (Redbear NANO v2) as central device.
I using SDK &lt;strong&gt;&amp;quot;nRF5_SDK_12.3.0_d7731ad&amp;quot;&lt;/strong&gt; and example program &lt;strong&gt;&amp;quot;nRF5_SDK_12.3.0_d7731ad\nRF5_SDK_12.3.0_d7731ad\examples\ble_central\ble_app_uart_c&amp;quot;&lt;/strong&gt;.
I changed UUID&amp;#39;s according to HM10 service and char UUID here &lt;strong&gt;&amp;quot;NUS_BASE_UUID, BLE_UUID_NUS_SERVICE, BLE_UUID_NUS_TX_CHARACTERISTIC, BLE_UUID_NUS_RX_CHARACTERISTIC&amp;quot;&lt;/strong&gt;. When I flashed code in chip and tried to run in my serial terminal I am getting&lt;/p&gt;
&lt;p&gt;&amp;quot;Uart_c Scan started
Connecting to target b5c81319fdc8
Connected to target
Starting discovery of service with UUID 0xffe0 for Connection handle 0&lt;/p&gt;
&lt;p&gt;Uart_c Scan started
Connecting to target b5c81319fdc8
Connected to target
Starting discovery of service with UUID 0xffe0 for Connection handle 0&lt;/p&gt;
&lt;p&gt;Uart_c Scan started
Connecting to target b5c81319fdc8
Connected to target
Starting discovery of service with UUID 0xffe0 for Connection handle 0&amp;quot;&lt;/p&gt;
&lt;p&gt;and so on.......... in a continues loop&lt;/p&gt;
&lt;p&gt;Why this is not stopping after it finding peripheral and not moving for TX RX communication.&lt;/p&gt;
&lt;p&gt;-Is this code is only designed for to connect only with NRF5832 chips?
-Can I connect to any generic BLE peripheral device using &amp;quot;ble_app_uart_c&amp;quot; example?&lt;/p&gt;
&lt;p&gt;Waiting for reply soon&lt;/p&gt;
&lt;p&gt;Thanks in Advance.&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Mon, 24 Apr 2017 15:16:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user20391</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hello Nordic, Its seems like nobody has same problem as me. But when ever I try to run examples involving  the ble_stack_init() function it stucked in there, newer coming out? maybe waiting for an event or something?. Help is very much appriciated.&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Mon, 20 Mar 2017 20:48:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user2103</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Is it possible to use the example ble_uart_c with our custom UUID service from exampleble_app_template? If so, which portion of ble_app_uart_c example code, should we need to change to make it available to connect the Central device to peripheral device using the custom service and display the data that sent from peripheral to PC&amp;#39;s serial monitor?&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Wed, 30 Nov 2016 23:49:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user16382</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Very helpful.&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Wed, 10 Aug 2016 15:58:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user14615</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;First many thx for tutorial!
But I found issue when testing it with putty terminal. It seems that my putty for some reason does not send &amp;quot;\n&amp;quot; on enter but only &amp;quot;\r&amp;quot;. Thus it seems example did not work unless you wrote too many characters. If you have same problem just comment line:&lt;/p&gt;
&lt;pre&gt;//if ((data_array[index - 1] == &amp;#39;\n&amp;#39;) || (index &amp;gt;= (BLE_NUS_MAX_DATA_LEN)))
&lt;/pre&gt;
&lt;p&gt;This way it will send every character immediately.&lt;/p&gt;
&lt;p&gt;I recommend to nordic to use it in example to make it stupid terminal resistant...&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Tue, 07 Jun 2016 10:57:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user12611</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Thank you.
It helps a lot.&lt;/p&gt;
&lt;p&gt;I wish Nordic make more tutorial and Youtube tutorial. :-)&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Thu, 02 Jun 2016 10:27:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user13629</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Really nice tut!
Is there a similar Tutorial for SDK11?
When i go through the Service discovery part, there are many sections with differences to the SDK11 for example&lt;/p&gt;
&lt;p&gt;old SDK10:&lt;/p&gt;
&lt;pre&gt;return ble_db_discovery_evt_register(&amp;amp;uart_uuid, db_discover_evt_handler);
&lt;/pre&gt;
&lt;p&gt;new SDK11:&lt;/p&gt;
&lt;pre&gt;return ble_db_discovery_evt_register(&amp;amp;uart_uuid);
&lt;/pre&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Thu, 19 May 2016 09:07:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user5233</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thank you for the effort I found it extremely useful.
In the connecting section you are refering to:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;p_ble_nus_c-&amp;gt;conn_handle = p_ble_evt-&amp;gt;evt.gap_evt.conn_handle;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;but the SDK line and also ble_evt_dispatch() use&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;m_ble_nus_c&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Is it just a typo or could you please bring the light to it?&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Bluetooth low energy central tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial</link><pubDate>Wed, 03 Feb 2016 21:02:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a1cfc-0d25-46fb-926d-4d9396675592</guid><dc:creator>user9916</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;It seems that all the references to &amp;quot;ble_uart_c.c&amp;quot; are actually meant to point to &amp;quot;ble_nus_c.c&amp;quot; in all of the SDK examples (the GitHub project does have the file &amp;quot;ble_uart_c.c&amp;quot;.&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1177&amp;AppID=12&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>