<?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>pc-ble-driver 1.0 - bonding</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18863/pc-ble-driver-1-0---bonding</link><description>Hello, 
 I work on an application which use the pc-ble-driver 1.0 as BLE central for handling external peripheral devices. 
 Now, I am working on bonding procedure. To make it simpler I started from &amp;#39;Just Works&amp;#39; bonding and followed this chart . So</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Aug 2017 22:54:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18863/pc-ble-driver-1-0---bonding" /><item><title>RE: pc-ble-driver 1.0 - bonding</title><link>https://devzone.nordicsemi.com/thread/72861?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2017 22:54:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d097cb2-eedf-495c-bc8e-2657bcac064c</guid><dc:creator>Rick S.</dc:creator><description>&lt;p&gt;P.S. This is the pc-ble-driver from July, don&amp;#39;t know the version number&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver 1.0 - bonding</title><link>https://devzone.nordicsemi.com/thread/72860?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2017 21:41:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0a86e9f-875e-443e-aa78-a64aeab32e7d</guid><dc:creator>Rick S.</dc:creator><description>&lt;p&gt;Hi Mike, I know it&amp;#39;s been a while since you asked this... :)&lt;/p&gt;
&lt;p&gt;I got tripped up at the same point, &lt;code&gt;sd_ble_gap_sec_params_reply&lt;/code&gt; was causing an assertion failure due to a recursive mutex lock.&lt;/p&gt;
&lt;p&gt;I got around this by calling &lt;code&gt;sd_ble_gap_sec_params_reply&lt;/code&gt; from the main thread instead of the event handler. (Main function calls Win32 &lt;code&gt;WaitForSingleObject&lt;/code&gt;, handler calls &lt;code&gt;SetEvent&lt;/code&gt;)&lt;/p&gt;
&lt;p&gt;This seems like a bug to me, I haven&amp;#39;t had a chance to make an official report.&lt;/p&gt;
&lt;p&gt;Best of luck, Rick&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver 1.0 - bonding</title><link>https://devzone.nordicsemi.com/thread/72859?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2017 08:34:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b0a6001-4bee-4808-8292-8e65642b7c84</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Could you upload your central code? If you don&amp;#39;t want to share it in public, you can also create a case in &lt;a href="https://www.nordicsemi.com/eng/nordic/mypage"&gt;MyPage&lt;/a&gt; and link to this case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver 1.0 - bonding</title><link>https://devzone.nordicsemi.com/thread/72858?ContentTypeID=1</link><pubDate>Tue, 10 Jan 2017 08:19:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a1d40fd-7f2b-46ed-87d3-573954dec284</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/users/22801/joh2/"&gt;@Jørgen Holmefjord&lt;/a&gt; This code is from my central device. I did not sniff on-air packets but I tracked what kind of events my peripheral receive during bonding attempt (the peripheral device is also my custom device nrf51-based, so I can debug it).&lt;/p&gt;
&lt;p&gt;I found that the peripheral gets only &lt;code&gt;BLE_GAP_EVT_SEC_PARAMS_REQUEST&lt;/code&gt; event, nothing more. So. it seems that the &lt;code&gt;sd_ble_gap_sec_params_reply&lt;/code&gt; call on the central has no effect.&lt;/p&gt;
&lt;p&gt;I just add, that the peripheral device bonds fine with nRF Connect app on the phone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver 1.0 - bonding</title><link>https://devzone.nordicsemi.com/thread/72857?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 14:35:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f422f7ba-c10d-4c2d-9f1d-9d20b6392a88</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;This is on your peripheral? Have you tried performing a sniffer trace to see what is happening on-air?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>