<?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>Master-slave conne</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114398/master-slave-conne</link><description>I now want to have the host and slave in SDK17.1.0 to establish master/slave communication. 
 What if I change? If I use nRF5_SDK_17.1.0\examples\ble_central\ble_app_uart_c as the host, The device does not use nRF5_SDK_17.1.0\examples\ble_peripheral\ble_app_uart</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Sep 2024 08:45:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114398/master-slave-conne" /><item><title>RE: Master-slave conne</title><link>https://devzone.nordicsemi.com/thread/501494?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 08:45:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ce29c32-b989-4be2-85f6-7cc7c582aaeb</guid><dc:creator>liuyanfeng</dc:creator><description>&lt;p&gt;&lt;span style="font-size:150%;"&gt;thank you .now ,i do other thing. I have other things to do now, I&amp;#39;ll do him later&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Master-slave conne</title><link>https://devzone.nordicsemi.com/thread/500816?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2024 14:14:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01c1c925-bf02-4f02-a68e-467353b606e2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]What if I change? [/quote]
&lt;p&gt;From what I can understand the two samples you have found Bluetooth central and peripheral UART should do exactly what you need. Did it not work for your? Or what is the problem?&lt;/p&gt;
[quote user=""]Now the question is do only ble_central\ble_app_uart_c as the host and ble_peripheral\ble_app_uart as the slave set up communication?[/quote]
&lt;p&gt;Yes, that is the case. In Bliuetooth terms, the Central can be thought of as the host or master, and the peripheral the slave.&lt;/p&gt;
[quote user=""]&lt;p&gt;&lt;span style="font-size:150%;"&gt;And if they can establish communication, on the host side, where do I know they have established communication?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;The Central example will print out &amp;quot;Connected to device with Nordic UART Service.&amp;quot; over RTT (these samples use RTT instead of UART for logging, as the UART is used for the example itself, which is tunneling UART over Bluetooth).&lt;/p&gt;
[quote user=""]What should I do if I want to make a host connection to a specified slave?[/quote]
&lt;p&gt;Then you can filter on the Bluetooth address or name or other parameter you prefer on the central side. There are some examples in the SDK for that and you can refer to the&amp;nbsp;S&lt;a href="https://docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/lib_ble_scan.html"&gt;canning Module documentation&lt;/a&gt; for details.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>