<?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>How can we connect two nordic thingy:52 using Bluetooth?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47157/how-can-we-connect-two-nordic-thingy-52-using-bluetooth</link><description>Hello, 
 I want to use 2 thingy:52 board in which one will act as master and other as slave. If yes, how can we do it? please provide any example code. Thank you.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 May 2019 10:00:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47157/how-can-we-connect-two-nordic-thingy-52-using-bluetooth" /><item><title>RE: How can we connect two nordic thingy:52 using Bluetooth?</title><link>https://devzone.nordicsemi.com/thread/186629?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 10:00:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7de64aa3-b0c0-49b1-a4de-5453ef34abc3</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;For device A, you can use the Thingy unmodified.&lt;/p&gt;
&lt;p&gt;For device B, you will have to add&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Central capability&lt;/li&gt;
&lt;li&gt;code to manage the connection to A&lt;/li&gt;
&lt;li&gt;code to read the data from A&lt;/li&gt;
&lt;li&gt;code to combine B&amp;#39;s own sensor data with the data from A, and add that to the data sent to the App.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Is there a particular reason why you want to form a chain like this - rather than just have both connect direct to the app?&lt;/p&gt;
&lt;p&gt;If you want more than just 2 devices, you could look at Mesh.&lt;/p&gt;
&lt;p&gt;SDK examples are here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/examples_ble.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/examples_ble.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Relay example might be useful:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_rscs_relay.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_rscs_relay.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think the Thingy code is compatible with current SDKs - so, if you want to use it, you&amp;#39;ll have to figure that out...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can we connect two nordic thingy:52 using Bluetooth?</title><link>https://devzone.nordicsemi.com/thread/186523?ContentTypeID=1</link><pubDate>Sun, 12 May 2019 15:39:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d68e7edc-c96a-4bcb-a98b-dd683c6f14e1</guid><dc:creator>Lance_chiu</dc:creator><description>&lt;pre class="tw-data-text tw-ta tw-text-medium" style="height:72px;text-align:left;"&gt;&lt;span lang="en"&gt;Thank you for your reply. Define two thingy:52 board: device A and device B.  &lt;br /&gt;I want transfer sensor data of device A to device B and these sensor data of device A &amp;amp; &lt;br /&gt;device B are &lt;span class=" fz-14 fw-500" id="yui_3_10_0_1_1557675380871_396"&gt;&lt;b&gt;transferred to APP.  &lt;/b&gt;&lt;/span&gt;Can you help me?&lt;br /&gt;&lt;br /&gt;Thanks and best regards.&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x640/__key/communityserver-discussions-components-files/4/_16574772_3.png" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="tw-data-text tw-ta tw-text-medium" style="height:72px;text-align:left;" id="tw-target-text"&gt;&lt;span lang="en"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="tw-data-text tw-ta tw-text-medium" style="height:72px;text-align:left;" id="tw-target-text"&gt;&lt;span lang="en"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can we connect two nordic thingy:52 using Bluetooth?</title><link>https://devzone.nordicsemi.com/thread/186471?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 15:47:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7ddbeda-eac1-4e7c-bd56-b63a77a81952</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;What do you mean, &amp;quot;master&amp;quot; and &amp;quot;slave&amp;quot; ?&lt;/p&gt;
&lt;p&gt;Do You mean you want one of the Thingies to be a BLE Central, and the other Thingy connects to it (as a BLE Peripheral)?&lt;/p&gt;
&lt;p&gt;What would be the purpose?&lt;/p&gt;
&lt;p&gt;The nRF52 chip can certainly be a Central, but the entire Thingy design is based on it being a Peripheral - so you will&amp;nbsp;pretty much have to re-write it completely.&lt;/p&gt;
&lt;p&gt;There are BLE Central examples in the SDK.&lt;/p&gt;
&lt;p&gt;But are you sure you really want to do this?&lt;/p&gt;
&lt;p&gt;Perhaps if you explained what you&amp;#39;re actually trying to achieve - what is your goal - people could make suggestions...&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.catb.org/esr/faqs/smart-questions.html#goal"&gt;http://www.catb.org/esr/faqs/smart-questions.html#goal&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>