<?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>PIN access on app for BLE device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26779/pin-access-on-app-for-ble-device</link><description>I would like to know how to create a prompt that asks for a PIN before a user gets access to pairing to a BLE peripheral. Currently I&amp;#39;m using a CurieBot and once it&amp;#39;s found via the app, you can click it and gain access to it.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Nov 2017 11:29:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26779/pin-access-on-app-for-ble-device" /><item><title>RE: PIN access on app for BLE device</title><link>https://devzone.nordicsemi.com/thread/105264?ContentTypeID=1</link><pubDate>Thu, 16 Nov 2017 11:29:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02ad01dd-aab7-4df1-a0e2-681156aad4a5</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;No problem. Hope you find a solution that works for you :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PIN access on app for BLE device</title><link>https://devzone.nordicsemi.com/thread/105263?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2017 11:36:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7283cf66-2d31-41c8-aeb4-799dee75176d</guid><dc:creator>cloud2828</dc:creator><description>&lt;p&gt;Thanks for the responses, now I wish I had one of Nordic&amp;#39;s products instead of this to work with as the Arduino 101 has no support and was discontinued a while ago, sadly. It is not well documented either so I guess I&amp;#39;ll have to create a makeshift passkey implementation from the app side of things. Hopefully it works out well, thanks for clearing this up for me as not even the Arduino forum can respond to me and it has been several weeks, the Arduino 101 is really hopeless sadly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PIN access on app for BLE device</title><link>https://devzone.nordicsemi.com/thread/105262?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2017 09:55:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48c0b4a9-13e2-4fe6-8c37-d78a33a1e48b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I had a quick look at the API of the library, it seems like it doesn&amp;#39;t even support pairing, so static passkey is not supported either.&lt;/p&gt;
&lt;p&gt;It is probably not possible to use the Nordic APIs.&lt;/p&gt;
&lt;p&gt;With our SoftDevice you can set a static passkey in the peripheral, so that you don&amp;#39;t need to display, even though you say that you have a display. Then you would input this static key into the central, because it has a keyboard.&lt;/p&gt;
&lt;p&gt;The Arduino 101 is a board with a Intel Curie module. The Intel Curie module has the nRF51822 chip inside. So the nRF51822 is accessed through the Curie module.&lt;/p&gt;
&lt;p&gt;I think this will be difficult to do without the Arduino 101 library support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PIN access on app for BLE device</title><link>https://devzone.nordicsemi.com/thread/105266?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2017 16:01:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:582542d7-7a54-4868-8e8f-900a82276f7b</guid><dc:creator>cloud2828</dc:creator><description>&lt;p&gt;Also, BLE is built into the Arduino 101 and it is not a module like the nRF51822. Or are you saying that the nRF51822 is integrated into the Arduino 101? I don&amp;#39;t think I am accessing the nRF51822, I&amp;#39;m accessing the Arduino 101, correct me if I&amp;#39;m wrong because I am not 100% sure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PIN access on app for BLE device</title><link>https://devzone.nordicsemi.com/thread/105265?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2017 15:58:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6d2d889-79e7-427b-95d9-766cfc326287</guid><dc:creator>cloud2828</dc:creator><description>&lt;p&gt;I do want to use a static key because the Arduino 101 + CurieBot does not have a display on it and I do not plan on adding one so just a simple static key can do. With respect to the APIs, I am not sure but it is definitely not the same functions as the MSCs. I am not sure how I am supposed to know what APIs I&amp;#39;m using but I can send you a link to the libraries: &lt;a href="https://www.arduino.cc/en/Reference/CurieBLE"&gt;www.arduino.cc/.../CurieBLE&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if it&amp;#39;s possible to use Nordic APIs on the Arduino Sketch (this is used to write the code for the Arduino 101/CurieBot in C language). I want to get something clear, are you saying that the static key is created and set from the Peripheral side of the code(The CurieBot, Arduino Sketch) or is it at the central side of the code(The app, Android Studio) or is it both? Well I assume it&amp;#39;s both because I have to be able to display a prompt for the static pin to be entered.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PIN access on app for BLE device</title><link>https://devzone.nordicsemi.com/thread/105260?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2017 13:05:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd801040-0920-466e-b1ce-6e573c1cfff2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Sorry to confuse you. The links are to message sequence charts (MSCs), showing which SoftDevice functions and events that are important to do a specific task.&lt;/p&gt;
&lt;p&gt;You probably have a SoftDevice in the nRF51822 in the Intel Curie, but you probably have a different API than the functions in the MSC. What API are you using to access the nRF51822? What functionality does the API provide?&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t use a static key, you must have a display or some other means of showing the random pin generated so that this can be put into the smart phone.&lt;/p&gt;
&lt;p&gt;No need to apologize, we are here to help :) Just be aware, that the CurieBot isn&amp;#39;t our product, I have never used it, but I will try to help you as much as I can.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PIN access on app for BLE device</title><link>https://devzone.nordicsemi.com/thread/105261?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2017 01:15:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:def864c4-11db-46cd-88a2-211020c183e2</guid><dc:creator>cloud2828</dc:creator><description>&lt;p&gt;I&amp;#39;m a beginner at coding and the two links there are not helping my confusion. Is it that this is code in a diagram form? Is it a library? Can I enter this directly into my code once I have this library? What I&amp;#39;m getting is that I have to code the pairing key on the Arduino 101 side, then code a display to enter this passkey on the app side, and I would like the key static so the second link is supposed to be helpful to me but I just don&amp;#39;t get it. I apologize in advance for my incompetence but I am really struggling to understand BLE as it is not nearly straightforward. If you can answer my questions above and give a more detailed description on how I go about this, it would be much appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PIN access on app for BLE device</title><link>https://devzone.nordicsemi.com/thread/105259?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 13:03:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd19bf03-e730-4104-9fee-dedde5197f4b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;When the CurieBot gets a pairing request from the smart phone it must include that it has a display in the pairing response, see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group___b_l_e___g_a_p___p_e_r_i_p_h___b_o_n_d_i_n_g___p_k___p_e_r_i_p_h___m_s_c.html?cp=2_3_1_1_0_2_1_3_10_7_2"&gt;this&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Then you would need to have some way of displaying the pin that should be put into the smart phone, or maybe you can set it static, see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group___b_l_e___g_a_p___p_e_r_i_p_h___b_o_n_d_i_n_g___s_t_a_t_i_c___p_k___m_s_c.html?cp=2_3_1_1_0_2_1_3_10_7_1"&gt;this&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>