<?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>Pairing code digits</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6233/pairing-code-digits</link><description>Dear Sir,
We are developing our BT device using the 51822 DV.
Our problem is - the pairing code is preset to 6 digits but our LCD display only be able to show 4 digits, please tell me how we can change the pairing code from 6 to 4 digits? 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Jan 2019 12:20:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6233/pairing-code-digits" /><item><title>RE: Pairing code digits</title><link>https://devzone.nordicsemi.com/thread/163428?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 12:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6fbad42-fd68-4786-af42-0899124a0712</guid><dc:creator>GK</dc:creator><description>&lt;p&gt;Hi how can i connect through random passkey&lt;/p&gt;
&lt;p&gt;please help me&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing code digits</title><link>https://devzone.nordicsemi.com/thread/21820?ContentTypeID=1</link><pubDate>Wed, 27 May 2015 13:50:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc672b58-febb-4124-b69a-2b2dd3559026</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Steveo:  I don&amp;#39;t think it&amp;#39;s possible to change the passkey to 4 digits. It&amp;#39;s not something defined in Bluetooth core spec.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing code digits</title><link>https://devzone.nordicsemi.com/thread/21821?ContentTypeID=1</link><pubDate>Tue, 26 May 2015 21:05:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a29febb9-da4c-482a-9366-6eb32ea2399a</guid><dc:creator>Stephen</dc:creator><description>&lt;p&gt;These are both bad solutions.  The correct solution is&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Set the s110 bluetooth stack an option that indicates that the passkey is 4 digits.&lt;/li&gt;
&lt;li&gt;the s110 bluetooth stack accepts this, and when the user enters a 4 digit passkey the device properly authenticates.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing code digits</title><link>https://devzone.nordicsemi.com/thread/21819?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2015 11:22:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1518850f-83cf-4346-bfe4-9c7e3086bf73</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sam,&lt;/p&gt;
&lt;p&gt;By spec the passkey must have 6 digits.&lt;/p&gt;
&lt;p&gt;There are 2 options that I can suggest:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Try to use your 4digit LCD to display the 6 digit key. You can either let the digit circling/sliding to the left to display the whole 6 digit (4 at a time) or display each time 3 digits&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use static passkey, so that the first 2 digits can be chosen, say 00, for example, and you generate 4 digits randomly in the application code. After that you feed that 6 digit (00XXXX) passkey to the softdevice. On the peer device you can tell user to use 00 at the begining before typing the 4 digit (XXXX) displayed.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>