<?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>extract pair key</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76385/extract-pair-key</link><description>Can the pairing code be extracted from memory via JLink during production in order to print a pair code decal for a product without a display? 
 I know it shows up on the tablet in an application or can be printed to logs but is it known statically before</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Jun 2021 20:59:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76385/extract-pair-key" /><item><title>RE: extract pair key</title><link>https://devzone.nordicsemi.com/thread/317571?ContentTypeID=1</link><pubDate>Mon, 28 Jun 2021 20:59:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3987effa-faa7-4875-a957-09d7e1a6cc07</guid><dc:creator>icondev</dc:creator><description>&lt;p&gt;I was able to find the way to read the mac address with JLink and found that we are generating the pair code from a custom checksum. This is our own calculation and not from the SDK so it is my misunderstanding. Thanks for your quick responses.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: extract pair key</title><link>https://devzone.nordicsemi.com/thread/315715?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 18:50:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b28314a-8c36-4478-ba4e-71455ce09d77</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;There is no standard concept of a 4 digit pairing code in BLE nor in our SDKs so I cannot say exactly what it is or how you use it. I am sure it would be possible to do something sensible in production, but I would need to know more details in order to make suggestions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: extract pair key</title><link>https://devzone.nordicsemi.com/thread/315713?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 18:44:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4e90acf-5ae0-4e19-9d8d-737f5aae7d29</guid><dc:creator>icondev</dc:creator><description>&lt;p&gt;We are using a 4 digit pairing code. Talking to our BLE library guy, he said he thinks it is generated from the mac address. Is there a calculation that can be used to get the code from the Mac address so we don&amp;#39;t need to rebuild the library with a special mode?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: extract pair key</title><link>https://devzone.nordicsemi.com/thread/315595?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 12:12:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:625649bc-b416-4aa4-9615-8b0250ea5009</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What exactly do you refer to by &amp;quot;pair key&amp;quot;. Is it a 6 digit Bluetooth pass key? I will assume so for now. SDK examples that use passkey generate them on demand, but you can use a static pass key as well.&amp;nbsp;Then you would typically generate that in your production script and program it to a special location in flash (could be in UICR or somewhere else&amp;nbsp;which fits you, as long as it is in a fixed place you can easily program separately for all devices in production). Then you can also print this.&lt;/p&gt;
&lt;p&gt;If this is not what you are after, then please explain what you mean by &amp;quot;pair key&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>