<?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 to handle pairing/bonding in serialization system?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72183/how-to-handle-pairing-bonding-in-serialization-system</link><description>we have deploy the serialization libraries in our host to communicate with nrf52840, but it seems the serialization libraries don&amp;#39;t handle pairing/bonding event, so we can&amp;#39;t peform a success pairing with the peripheral device, pairing/bonding will use</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Mar 2021 13:37:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72183/how-to-handle-pairing-bonding-in-serialization-system" /><item><title>RE: how to handle pairing/bonding in serialization system?</title><link>https://devzone.nordicsemi.com/thread/297203?ContentTypeID=1</link><pubDate>Tue, 02 Mar 2021 13:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0ba0f2a-a3d2-44b2-9e81-fbe391122e6e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;If you need to support bonding, I would consider not use the serialized library api, but instead let the nRF52840 handle the bonding through peer manager, and make a custom serialized transport that only contain the application specific data.&lt;/p&gt;
&lt;p&gt;Alternatively you would need to look at the central security procedures and implement the ones you want to support:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/group___b_l_e___g_a_p___c_e_n_t_r_a_l___s_e_c___m_s_c.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/group___b_l_e___g_a_p___c_e_n_t_r_a_l___s_e_c___m_s_c.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Edit: One more alternative could be to not use bonding (reject bonding), but instead encrypt the data in the application layer (instead of link layer). However, you would only be able to access characteristics that don&amp;#39;t require security:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/group___b_l_e___g_a_p___c_e_n_t_r_a_l___s_e_c___r_e_q___m_s_c.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/group___b_l_e___g_a_p___c_e_n_t_r_a_l___s_e_c___r_e_q___m_s_c.html&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to handle pairing/bonding in serialization system?</title><link>https://devzone.nordicsemi.com/thread/297168?ContentTypeID=1</link><pubDate>Tue, 02 Mar 2021 12:34:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1d2f25e-4a59-4304-a5e0-a0395ffc8b19</guid><dc:creator>misaka</dc:creator><description>&lt;p&gt;With this design, now we can successfully find the peripheral advertisement, establish BLE connection, then failed at security request, because we don&amp;rsquo;t handle security request events in our system. The peripheral then disconnect.&lt;/p&gt;
&lt;p&gt;Generally speaking, in a non-serialization system, pairing/bonding is handled by peer_manager module which haven&amp;rsquo;t ported in our system, it use a lot of internal nRF parts, including flash( store bonding information), cryptocell( if LESC is enabled, CC310 is used as crypto backend), so I&amp;#39;m considering how much effort to&amp;nbsp;&lt;span&gt;implement those hardware-related functions in the main processor.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>