<?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>Unexpected &amp;quot;123456&amp;quot; pin code value</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76406/unexpected-123456-pin-code-value</link><description>Hello, 
 In our product, we use the S132 v3 softdevice and legacy pairing with a static pin code. At startup, this pin code (that can be changed by the user) is read from flash and then passed onto the softdevice using sd_ble_opt_set(BLE_GAP_OPT_PASSKEY</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Jun 2021 12:03:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76406/unexpected-123456-pin-code-value" /><item><title>RE: Unexpected "123456" pin code value</title><link>https://devzone.nordicsemi.com/thread/315860?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 12:03:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9383d866-e3fc-4e74-b5b7-5fa1413d7812</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/structble__gap__opt__passkey__t.html#a9e16c43a1b5706db1120bd0742a48c50"&gt;documentation&lt;/a&gt;, it will either be the&amp;nbsp;&lt;span&gt;6-digit ASCII string you set it to with&amp;nbsp;sd_ble_opt_set(), or &amp;quot;If this is NULL, the SoftDevice will generate a random passkey if required.&amp;quot;. So assuming this is not a one-time thing(it was 123456 just 1 random time),&amp;nbsp; I think you somehow must have set it to&amp;nbsp;123456 with&amp;nbsp;sd_ble_opt_set()&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>