<?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>BLE Pairing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2747/ble-pairing</link><description>Hello Gentlemen, 
 I&amp;#39;m looking for sample code that shows how to enable security which prompts for a PIN number on the Android device when I want to connect to the nRF. 
 Once this works I also would like to see some source showing how to set a new</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Jun 2014 09:15:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2747/ble-pairing" /><item><title>RE: BLE Pairing</title><link>https://devzone.nordicsemi.com/thread/10646?ContentTypeID=1</link><pubDate>Fri, 13 Jun 2014 09:15:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29dc0376-b67f-4e67-9183-40318402fe41</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Once this works I also would like to see some source showing how to set a new pin number each time.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The PIN is randomly generated by one of the devices (which one depends on their I/O capabilities) every time pairing is done. On other words, no action needs to be taken to get a new PIN number.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Pairing</title><link>https://devzone.nordicsemi.com/thread/10645?ContentTypeID=1</link><pubDate>Fri, 13 Jun 2014 08:15:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e677e5a0-a50e-4d0f-80a6-ad29960b1b10</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;The implementation should follow the message sequence chart for &lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/5.2.0/html/a00898.html"&gt;GAP Peripheral Bonding: Passkey Entry (Central display) or OOB MSC&lt;/a&gt;. Unfortunately I don&amp;#39;t think there are any examples for this in the SDK&lt;/p&gt;
&lt;p&gt;The opposite of what you want is implemented in ble_app_gls example in the SDK, it implements pairing where the nRF51822/peripheral has a display and shows the pin on a screen. And then, the master/central should type the passkey showed on the peripheral&amp;#39;s display. It is implemented according to &lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/5.2.0/html/a00897.html"&gt;GAP Peripheral Bonding: Passkey Entry, Peripheral displays&lt;/a&gt; message seqence chart.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>