<?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>can we enable the AES encryption by API????</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9378/can-we-enable-the-aes-encryption-by-api</link><description>I am using nrf51822 custom board(no input output capability) i want to make communication between BLE and PC and i want encrypted link connection whether i have to initialize by API or it will automatically done in soft device when i am setting any of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Oct 2015 11:17:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9378/can-we-enable-the-aes-encryption-by-api" /><item><title>RE: can we enable the AES encryption by API????</title><link>https://devzone.nordicsemi.com/thread/34626?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2015 11:17:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c33f9c72-a327-427f-8cfe-aed5b3ed59a2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi, encryption will be handled automatically by the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/lib_device_manager.html?cp=4_1_0_3_1_2"&gt;device manager module&lt;/a&gt; when a pairing request is issued from the central (implemted in all SDK BLE examples).&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v1.0.0/group___b_l_e___g_a_p___p_e_r_i_p_h___b_o_n_d_i_n_g___j_w___m_s_c.html?cp=2_7_2_1_0_2_1_0_6"&gt;Just works&lt;/a&gt; will be the default association model used when there are  no IO capabilities or static passkey available. Again, this will be handled automatically be the device manager.&lt;/p&gt;
&lt;p&gt;BLE_GAP_CONN_SEC_MODE_SET_ENC_WITH_MITM() can be used to set the security requirement for each characteristic, hence force the central to pair in order to gain access.&lt;/p&gt;
&lt;p&gt;STK generation is randomly generated by the stack.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>