<?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>nRF51822 pairing with passcode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6862/nrf51822-pairing-with-passcode</link><description>Hi, 
 I&amp;#39;d like to know how to set/alter passcode when pairing happens. I looked a few examples in Keil_v5\ARM\Pack\NordicSemiconductor\nRF_Examples\8.0.0\ble_peripheral but couldn&amp;#39;t find pairing code snippet. All I found was that it starts advertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Oct 2015 15:46:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6862/nrf51822-pairing-with-passcode" /><item><title>RE: nRF51822 pairing with passcode</title><link>https://devzone.nordicsemi.com/thread/24190?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2015 15:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f49de958-45c6-4dc2-bf59-9c90f98e7ef0</guid><dc:creator>vineeshvs</dc:creator><description>&lt;p&gt;HI Petter,&lt;/p&gt;
&lt;p&gt;I tried to load the program to Raytac MDBT 40 (nRF51822 based module). Programming was successful and the device is discoverable in in phone and nRF Toolbox. But when I try to connect in the app, connection doesn&amp;#39;t happen and I get the following error&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Error-when-trying-to-connect-to-nrfToolbox_5F00_uart.png" alt="uart_nrfToolbox_error" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/or-when-trying-to-connect-to-nrfToolbox_5F00_uart_5F00_app_5F00_front_5F00_panel.png" alt="App front panel" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 pairing with passcode</title><link>https://devzone.nordicsemi.com/thread/24189?ContentTypeID=1</link><pubDate>Wed, 06 May 2015 14:11:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d225265b-4391-489b-9102-6131aa8e9d13</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Please see my edit above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 pairing with passcode</title><link>https://devzone.nordicsemi.com/thread/24188?ContentTypeID=1</link><pubDate>Wed, 06 May 2015 10:20:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cbe7a4b-5ba3-40e4-9ba7-0bacef28fb48</guid><dc:creator>brianbscho</dc:creator><description>&lt;p&gt;I&amp;#39;m doing it with SDK 8.0.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 pairing with passcode</title><link>https://devzone.nordicsemi.com/thread/24187?ContentTypeID=1</link><pubDate>Wed, 06 May 2015 10:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b5493ff-73ea-4488-b713-3eafed2889ab</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Are you trying to use it with SDK 6.1.0 or 8.0.0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 pairing with passcode</title><link>https://devzone.nordicsemi.com/thread/24186?ContentTypeID=1</link><pubDate>Wed, 06 May 2015 05:50:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c470695-2a6f-4b5c-a53f-f82e6238f294</guid><dc:creator>brianbscho</dc:creator><description>&lt;p&gt;Thanks! The resources you directed were very helpful. But I cannot build example... It gives me &amp;quot;no source: Error: #5&amp;quot;. I changed include path from &amp;quot;Options-&amp;gt;C/C++-&amp;gt;Include Paths&amp;quot; but it still tries to access same folder no matter how I change the include path. How do I change the include directory path?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 pairing with passcode</title><link>https://devzone.nordicsemi.com/thread/24185?ContentTypeID=1</link><pubDate>Mon, 04 May 2015 14:29:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4bc5e3b-e53f-43dc-8fa2-ccf3ab79275b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I think &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.0.0/s110/html/a00887.html"&gt;this MSC&lt;/a&gt; may be of help to you.&lt;/p&gt;
&lt;p&gt;We also have an example on GitHub &lt;a href="https://github.com/NordicSemiconductor/nRF51-ble-app-uart-static-passkey"&gt;here&lt;/a&gt;. This is not updated to the latest SoftDevice and SDK, but it shouldn&amp;#39;t be to hard to port it to SDK 8.0.0 and SoftDevice 8.0.0.&lt;/p&gt;
&lt;p&gt;Edit 06.05.2015: I added the static passkey functionality to ble_app_uart in SDK 8.0.0. Just extract it to ble_peripheral. &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_uart_5F00_static_5F00_passkey.rar"&gt;Here&lt;/a&gt; it is. Be aware, it is not well tested.&lt;/p&gt;
&lt;p&gt;Edit 18.05.2015: For SDK 8.1.0, see &lt;a href="https://devzone.nordicsemi.com/question/37666/activate-pass-on-nrf51822/"&gt;this&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>