<?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>Error OOB static key NRF connect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16693/error-oob-static-key-nrf-connect</link><description>Hi all, 
 I&amp;#39;m using the &amp;quot;ble_app_hrs_paring_nfc&amp;quot; example to setup a static OOB key for pairing with a static longer more secure key. I use this key copied from the example: 
 #define OOB_AUTH_KEY { \
 { \
 0xAA, 0xBB, 0xCC, 0xDD, \
 0xEE, 0xFF, 0x99</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Jan 2020 12:21:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16693/error-oob-static-key-nrf-connect" /><item><title>RE: Error OOB static key NRF connect</title><link>https://devzone.nordicsemi.com/thread/231120?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 12:21:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d0b4bb6-4ba9-45a8-8af8-357af1b23ddc</guid><dc:creator>TobiasM</dc:creator><description>&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;my answer comes a little bit late, but I still ran into the same problem and after some testing and good guesses I&amp;#39;ve managed to deconstruct the issue here. I was using the nRF Connect v3.3.0 app to connect to the nRF52 DK which was using a hardcoded OOB key.&lt;/p&gt;
&lt;p&gt;The OOB value for nRF Connect in hex is: h1h2 .. h16|h17 .. h32 (16 byte)&lt;/p&gt;
&lt;p&gt;The bug causes the software to discard the last 8 bytes h17-h32 and interprets the first 16 hex values as byte values. Also, little endian is applied which leads to the following corresponding TK (again in hex):&lt;/p&gt;
&lt;p&gt;0x0|h16|0x0|h15|..|0x0|h2|0x0|h1&lt;/p&gt;
&lt;p&gt;Further is every hex value a-f interpreted as 0 (letters are always 0). Therefore, we can deduce that you cannot input your chosen key. If you take&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;0x05, 0x04, 0x03, 0x02, \&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;0x01, 0x00, 0x09, 0x08, \&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;0x07, 0x06, 0x05, 0x04, \&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;0x03, 0x02, 0x01, 0x00&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;instead (note that for the TK you need change the little endian format again), the corresponding OOB key in the Connect app would be 5432109876543210|0 .. 0 but in fact the 0 .. 0 string can be any value.&lt;/p&gt;
&lt;p&gt;I hope this will help everyone who is struggling at this point and hopefully this will get fixed soon, after already 3 years.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Tobias Moser&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error OOB static key NRF connect</title><link>https://devzone.nordicsemi.com/thread/192274?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 08:56:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f4a0fed-90f1-4d3f-8387-a7fb5af2669a</guid><dc:creator>Peter Kenyon</dc:creator><description>&lt;p&gt;yep me too - same problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error OOB static key NRF connect</title><link>https://devzone.nordicsemi.com/thread/190598?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 15:43:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7b1622f-5e66-4293-9286-a8ae0eb85665</guid><dc:creator>gsegment</dc:creator><description>&lt;p&gt;Hi, I have the same problem with OOB and nRF Connect Desktop. Is there any fix?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error OOB static key NRF connect</title><link>https://devzone.nordicsemi.com/thread/190597?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 15:43:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8698512-99a5-4f54-a08e-135493ed2b79</guid><dc:creator>gsegment</dc:creator><description>&lt;p&gt;Hi, did you find a solution?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error OOB static key NRF connect</title><link>https://devzone.nordicsemi.com/thread/63876?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2016 12:33:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e00757d2-3270-469d-ac18-bda7c8f6c555</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;I see the same problem when I test it here, it may be a bug somewhere..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error OOB static key NRF connect</title><link>https://devzone.nordicsemi.com/thread/63875?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2016 14:46:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad8778e6-e9e6-4824-b8a2-155915a9ec9f</guid><dc:creator>michaeld</dc:creator><description>&lt;p&gt;Yes I have tried that but no success.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error OOB static key NRF connect</title><link>https://devzone.nordicsemi.com/thread/63874?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2016 14:45:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44ca2254-b4e3-4882-ba2a-e5f25bc15be1</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;Have you tried it the other way around? 00112233...
Most of the data in BLE is little-endian, so it depends on the application if they wrap it around or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>