<?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>When to enable notifications, when using secure bonding and Pairing?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61572/when-to-enable-notifications-when-using-secure-bonding-and-pairing</link><description>Hi, 
 nRF52 SDK Version: 16.0 
 Example: examples/ble_central_and_peripheral/experimental/ble_app_multirole_lesc 
 File: main.c 
 I made two different binaries of this code: 
 
 Works as Peripheral (Commented scan start related stuff) 
 Works as Central</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 May 2020 08:37:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61572/when-to-enable-notifications-when-using-secure-bonding-and-pairing" /><item><title>RE: When to enable notifications, when using secure bonding and Pairing?</title><link>https://devzone.nordicsemi.com/thread/251405?ContentTypeID=1</link><pubDate>Mon, 25 May 2020 08:37:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:602c523a-1cfc-455e-8f22-d0d21bd157bd</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]But I would like to know if there is any event which would tell that bonding is complete and now I can enable the notifications.[/quote]
&lt;p&gt;Try to wait for the&amp;nbsp;&lt;span&gt;PM_EVT_LOCAL_DB_CACHE_APPLIED event. (see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/61014/getting-a-0x3401-ble_error_gatts_sys_attr_missing-from-sd_ble_gatts_hvx"&gt;this post&lt;/a&gt;).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>