<?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>How do I pair in pc-ble-driver-py?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46851/how-do-i-pair-in-pc-ble-driver-py</link><description>I&amp;#39;m using python code based on the heart_rate_collector.py example in pc-ble-driver-py to scan for devices and connect to a peripheral device. That works fine. 
 Now I&amp;#39;d like to pair/authenticate with a connected device (this uses a known passkey). Unfortunately</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 May 2019 17:29:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46851/how-do-i-pair-in-pc-ble-driver-py" /><item><title>RE: How do I pair in pc-ble-driver-py?</title><link>https://devzone.nordicsemi.com/thread/184987?ContentTypeID=1</link><pubDate>Thu, 02 May 2019 17:29:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2057297-baf0-4f7a-92b6-61566deeeb6c</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Updated: I can apperently call ble_gap_sec_params_reply(self.conn_handle, BLEGapSecStatus.success, None).&amp;nbsp; This still doesn&amp;#39;t work - no errors, but no call back to on_gap_evt_auth_status() either.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A simple working example that shows ble_gap_authenticate, ble_gap_sec_params_reply, ble_gap_encrypt and ble_gap_auth_key_reply in python would be greatly appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>