<?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>BLE LESC Multirole DHKey Reply Confusion</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15198/ble-lesc-multirole-dhkey-reply-confusion</link><description>I&amp;#39;m trying to under the ble_app_multirole_lesc project and I&amp;#39;m a bit confused about calling sd_ble_auth_key_reply and sd_ble_lesc_dhkey_reply. If you are using Just Works Unauthenticated, then I would think that the BLE_GAP_EVT_PASSKEY_DISPLAY event shouldn</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Jul 2016 09:11:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15198/ble-lesc-multirole-dhkey-reply-confusion" /><item><title>RE: BLE LESC Multirole DHKey Reply Confusion</title><link>https://devzone.nordicsemi.com/thread/58014?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2016 09:11:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fb90608-a53c-4d8e-9dd5-22077b021110</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It was due to one of the bug we had (DRGN-7235) in the S13x v2.0.0 that the sd_ble_gap_lesc_dhkey_reply can&amp;#39;t be called before sd_ble_gap_auth_key_reply() that we need to put the call in BLE_GAP_EVT_PASSKEY_DISPLAY .
And this affects when you don&amp;#39;t use PASSKEY but Justwork.&lt;/p&gt;
&lt;p&gt;However the issue is fixed on S13x v2.0.1. So you can actually update the new softdevice, and then move the call sd_ble_lesc_dhkey_reply to BLE_GAP_EVT_LESC_DHKEY_REQUEST() event instead. And that should fix the issue you have with Justworks bonding.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>