<?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>OOB DHkey request failure</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54722/oob-dhkey-request-failure</link><description>Hi, 
 I am trying to implement OOB pairing via USB. I have the USB portion sorted out. The idea is for a peripheral device to send over OOB data over this medium, which then can be used by central during the pairing process. 
 My security parameters are</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Nov 2019 13:03:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54722/oob-dhkey-request-failure" /><item><title>RE: OOB DHkey request failure</title><link>https://devzone.nordicsemi.com/thread/222096?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2019 13:03:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc4faa71-cc51-4b61-b66f-00e066569829</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;d recommend using the&amp;nbsp;nrf_ble_lesc module from SDK 15.3.0 or SDK 16.0.0. if you aren&amp;#39;t doing it already. It should make it easier to set up custom OOB channels according to the release notes:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;nrf_ble_lesc (part of the Peer Manager) now supports the LESC OOB pairing mode.&lt;br /&gt; The ble_nfc_pairing_reference_c example demonstrates how to pass the OOB data to the module.&lt;/p&gt;
[quote user=""]So, the central has to have an OOB flag set to on, but the peripheral does not?[/quote]
&lt;p&gt;The initiator can decide which pairing algorithm to use when using secure connections OOB pairing and when OOB and MITM flag are both set to 0 on the peripheral. Decision tables can be found in core spec 5.0, vol3, part H, section 2.3.5.1, table 2.6 and 2.7.&lt;/p&gt;
&lt;p&gt;But have you considered passkey or numeric comparison pairing as an alternative? They also provide MITM protection. Maybe you can &amp;quot;display&amp;quot; the passkey through the USB as the&amp;nbsp;&lt;a title="Glucose Application" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_gls.html?cp=6_1_4_2_2_11"&gt;Glucose Application&lt;/a&gt;&amp;nbsp;does over UART. I think it&amp;#39;s easier to implement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>