<?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>Security Connection Triggering Event Issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99497/security-connection-triggering-event-issues</link><description>Hi , 
 SDK: 17.1, softdevice: s140_nrf52_7.2.0 
 Our product has a pairing code interface, which uses the &amp;quot;PM-EVT_PEER_DATA_UPDATE_SUCCEEDED&amp;quot; event for successful pairing and the &amp;quot;BLE_GAP_EVT.CONNECTED&amp;quot; event when the phone is connected to use pm_ peer_</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Jun 2023 10:56:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99497/security-connection-triggering-event-issues" /><item><title>RE: Security Connection Triggering Event Issues</title><link>https://devzone.nordicsemi.com/thread/432658?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 10:56:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:122f0e2c-3781-4009-9632-b13e04529cc3</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Based on the image posted, I don&amp;#39;t see any issues with this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Security Connection Triggering Event Issues</title><link>https://devzone.nordicsemi.com/thread/424683?ContentTypeID=1</link><pubDate>Wed, 10 May 2023 00:59:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8b925bc-3068-4e28-b555-1d086bccaf88</guid><dc:creator>Mikey</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Our past handling methods：&lt;/strong&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;1、ble_evt_handler&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1683679293932v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;2、pm_evt_handler&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pm_5F00_evt_5F00_handler.png" /&gt;&lt;/p&gt;
&lt;p&gt;In the &amp;quot;BLE_GAP_EVT.CONNECTED&amp;quot; event, it is necessary to determine the UI to hide the pairing code. There is a situation that cannot be avoided. After the phone is connected to the product, the product information is deleted and the phone is paired with the product again. At this point, the pairing code will quickly disappear.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Current processing method:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1、ble_evt_handler&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/ble_5F00_evt_5F00_handle2.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2、pm_evt_handler&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pm_5F00_evt_5F00_handler.png" /&gt;&lt;/p&gt;
&lt;p&gt;The new way is to create the UI for this hidden pairing code in &amp;quot;BLE_GAP_EVT.CONN_SEC_UPDATE&amp;quot; and &amp;quot;PM-EVT_PEER_DATA_UPDATE_SUCCEEDED&amp;quot; to avoid the situation of rapid disappearance.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Security Connection Triggering Event Issues</title><link>https://devzone.nordicsemi.com/thread/424674?ContentTypeID=1</link><pubDate>Tue, 09 May 2023 21:36:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d8701ce-0c1d-4039-bf95-7485d0c73ed7</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]The customer provided us with a solution to hide the pairing code of the LCD in the &amp;quot;BLE_GAP_EVP_CONN_SEC_UPDATE&amp;quot; event of secure information exchange, and our testing is also possible. I hope Nordic can confirm if this is possible.[/quote]
&lt;p&gt;Could you add some details about what this &amp;quot;&lt;span&gt;pairing code&amp;quot; you moved from BLE_GAP_EVT_CONNECTED event to&amp;nbsp;&lt;/span&gt;PM_EVT_PEER_DATA_UPDATE_SUCCEEDED event does explicitly? Does it call any peer_manger functions or Softdevice functions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>