<?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>Pairing With Python and s130 SD</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14465/pairing-with-python-and-s130-sd</link><description>I am writing a python app that uses the nRF51 dongle and the s130 SoftDevice. I need to pair with a peripheral that uses a fixed passkey. Is there a python implementation of the device manager, or do I have to implement the pairing by hand?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Jun 2016 11:13:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14465/pairing-with-python-and-s130-sd" /><item><title>RE: Pairing With Python and s130 SD</title><link>https://devzone.nordicsemi.com/thread/55245?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2016 11:13:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:331918ff-43cc-4687-9ada-85da0da87e9e</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Unfortunately, I don&amp;#39;t think there is a python implementation of the device manager/peer manager.
However, if your application does only require pairing/bonding with a few devices, it shouldn&amp;#39;t be too hard to implement.&lt;/p&gt;
&lt;p&gt;For implementation of bonding with static passkey, you can follow &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s130.api.v2.0.0%2Fgroup___b_l_e___g_a_p___c_e_n_t_r_a_l___b_o_n_d_i_n_g___p_k___p_e_r_i_p_h___m_s_c.html&amp;amp;cp=3_6_2_1_0_2_1_3_5_2_1"&gt;this&lt;/a&gt; message sequence chart.&lt;/p&gt;
&lt;p&gt;Note that when using static passkey, you have to set the static passkey option using &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s130.api.v2.0.0%2Fgroup___b_l_e___c_o_m_m_o_n___f_u_n_c_t_i_o_n_s.html&amp;amp;cp=3_6_2_1_0_2_0_2_2_3&amp;amp;anchor=ga511d431bc3d9ccf9bef09ad20cbf855a"&gt;sd_ble_opt_set(..)&lt;/a&gt;. It may be useful to take a look at &lt;a href="https://devzone.nordicsemi.com/question/31373/how-to-set-static-passkey-for-nrf51822-ble-centrals120/?answer=31428#post-id-31428"&gt;this&lt;/a&gt; thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>