<?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 nRF52 chip connects to another Bluetooth device?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24504/how-nrf52-chip-connects-to-another-bluetooth-device</link><description>Hi everyone, 
 I am using board PCA10040 v1.1.0, softdevice 13.0.0, Eclipse Oxygen. I am trying to connect my board with a device call Daydream controller . 
 There is also a emulator app of that device on Android phones. 
 It is said that there is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 Aug 2017 12:58:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24504/how-nrf52-chip-connects-to-another-bluetooth-device" /><item><title>RE: how nRF52 chip connects to another Bluetooth device?</title><link>https://devzone.nordicsemi.com/thread/96466?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 12:58:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f48815a8-58cb-40c4-b4b7-a66223460a64</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Huaminhtuan. Has your question been answered now? Is it ok if I close this case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how nRF52 chip connects to another Bluetooth device?</title><link>https://devzone.nordicsemi.com/thread/96473?ContentTypeID=1</link><pubDate>Sat, 26 Aug 2017 11:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:046b4aee-ed20-4eac-be93-696d6c09dd23</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;And have you searched for this type of error on the forum? I have secret for you: it&amp;#39;s number one problem and solution is always the same: follow examples and SD migration guide to always find the right RAM limits for SD and APP.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how nRF52 chip connects to another Bluetooth device?</title><link>https://devzone.nordicsemi.com/thread/96474?ContentTypeID=1</link><pubDate>Sat, 26 Aug 2017 11:18:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65b27dc6-76fe-41c0-bc1a-13f07af0f701</guid><dc:creator>huaminhtuan</dc:creator><description>&lt;p&gt;Hi endnode, I am trying to create my own service. I have tried the ble_app_uart example, the &lt;a href="https://devzone.nordicsemi.com/tutorials/8/"&gt;service tuorial&lt;/a&gt; and the &lt;a href="https://devzone.nordicsemi.com/tutorials/24/"&gt;migrating from device_manger to peer_manager&lt;/a&gt;. But I get the error &amp;quot;NRF_ERROR_NO_MEM&amp;quot; from sd_ble_uuid_vs_add function. Can you give me some advices? Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how nRF52 chip connects to another Bluetooth device?</title><link>https://devzone.nordicsemi.com/thread/96472?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2017 09:48:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e625f7c8-a989-4667-9e36-fe73012d0c68</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;m afraid SDK and examples are in constant development so things like this happen. Nordic guys are trying to keep up with updating tutorials but it&amp;#39;s not easy. I don&amp;#39;t have any specific hints to these modules  but you can search through BLOG zone, Nordic GitHub projects and Q&amp;amp;As here on the forum, I&amp;#39;m sure someone already pointed these changes out. In the end all the tutorials are based on SDK examples, aren&amp;#39;t they? And SDK examples are up-to-date with latest SDK modules/libraries/drivers...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how nRF52 chip connects to another Bluetooth device?</title><link>https://devzone.nordicsemi.com/thread/96475?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2017 09:44:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e696338-98de-46d4-92e4-ad1ab48e0db6</guid><dc:creator>huaminhtuan</dc:creator><description>&lt;p&gt;Hi endnode, I tried the tutorial &amp;quot;&lt;a href="https://devzone.nordicsemi.com/tutorials/8/"&gt;Bluetooth low energy Services, a beginner&amp;#39;s tutorial&lt;/a&gt;&amp;quot; with my v13.0.0 sdk. But it seems that the modules &amp;quot;device_manager&amp;quot; and &amp;quot;pstorage&amp;quot; is removed and replaced by &amp;quot;peer_manager&amp;quot; and &amp;quot;fstorage&amp;quot;. Is there any examples or tutorials to show how to migrating between them?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how nRF52 chip connects to another Bluetooth device?</title><link>https://devzone.nordicsemi.com/thread/96469?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2017 06:28:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59f879ce-2a49-4d2d-a345-cc96ff15bdba</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;&lt;a href="https://www.nordicsemi.com/eng/Products/Nordic-mobile-Apps/nRF-Connect-for-mobile-previously-called-nRF-Master-Control-Panel"&gt;nRFConnect&lt;/a&gt; is an app for your smartphone that lets you scan, communicate and connect to your nRF52 Bluetooth chip. If I were you, I would start from the beginning and try to connect your nRF52 to your smartphone using the nRF52 mobile app. If you are using Windows, I would consider downloading the MDK-Arm Keil uVision IDE, the Software Development Kit, nRF GoStudio from &lt;a href="https://infocenter.nordicsemi.com/index.jsp"&gt;this link&lt;/a&gt; (nRF5 Getting Started -&amp;gt; Nordic Tools &amp;amp; Downloads) &amp;amp; nRF Connect for Android (download on Google Play Store). Then, I would try to run the Blinky example by following &lt;a href="https://infocenter.nordicsemi.com/index.jsp"&gt;this link&lt;/a&gt; (Software Development Kit -&amp;gt; nRF5 SDK -&amp;gt; nRF5 SDK v14.0.0 -&amp;gt; Getting Started -&amp;gt; Running Precombiled Examples)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how nRF52 chip connects to another Bluetooth device?</title><link>https://devzone.nordicsemi.com/thread/96468?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 14:31:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef2c9a31-a6ff-4917-8948-f41ab0218975</guid><dc:creator>huaminhtuan</dc:creator><description>&lt;p&gt;hi Bjørn Kvaale, I haven&amp;#39;t installed &amp;quot;nRF Connect&amp;quot; yet. Could you tell me what &amp;quot;nRF Connect&amp;quot; is used for?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how nRF52 chip connects to another Bluetooth device?</title><link>https://devzone.nordicsemi.com/thread/96471?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 14:22:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c64f581e-c241-4d1e-bd34-c50b2b0f8a1a</guid><dc:creator>huaminhtuan</dc:creator><description>&lt;p&gt;Hi endnode, Thanks for helping me. I will try and if I have some trouble, I will post my question in this thread :D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how nRF52 chip connects to another Bluetooth device?</title><link>https://devzone.nordicsemi.com/thread/96467?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 11:37:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e902e7b3-63c1-46df-a982-26db68a16e78</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi huaminhtuan! I am going to check it out now. Have you already tried installing the nRF Connect from Google Play Store and running a basic example? (see (&lt;a href="http://bit.ly/2v6nNmb"&gt;link&lt;/a&gt;) for more info)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how nRF52 chip connects to another Bluetooth device?</title><link>https://devzone.nordicsemi.com/thread/96470?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 11:30:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acd67fd9-3542-4769-81cb-df07f1490e76</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There won&amp;#39;t be really easy 5-minute way but if you understand how GAP and GATT layers work then you could see some of GAP Central examples in nRF5 SDK which are basically doing what you should do in your nRF5x embedded FW (on top of S13x Nordic SoftDevice aka BLE stack). Probably using nRF Connect App for Android or iOS (downloadable from official app stores) and trying to detect your daydream controller, connecting and observing if it really is GAP Peripheral + GATT Server device (as it looks from the first sight). If this is verified then you have long journey in front of you and several possible ways: you can either try to get some documentation to the BLE protocol and implement it directly or you can decompile Android app (if this is your preference and skill-set) to get the protocol and implement it in Nordic stack API inside nRF5x or you can try to reverse engineer the protocol by using BLE radio analyzer/sniffer and simply observing the communication (including decrypting of BLE Security Manager layer as you can intercept pairing session and extract long term keys). Note that if there are any complex things like applicative layer security (encryption/signature scheme for confidentiality&amp;amp;authentication) then it can be really painful job.&lt;/p&gt;
&lt;p&gt;Good luck, happy hacking!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>