<?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>peripheral device only sends indications on connections in which a new bond is formed (not in connections using an existing bond)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101395/peripheral-device-only-sends-indications-on-connections-in-which-a-new-bond-is-formed-not-in-connections-using-an-existing-bond</link><description>Hi, 
 I am working with a central device that needs to be able to read measurement from a 3 rd part peripheral and I am running into what I think is a bonding related issue that I am struggling to understand. 
 According to the documentation for the peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 01 Jul 2023 01:18:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101395/peripheral-device-only-sends-indications-on-connections-in-which-a-new-bond-is-formed-not-in-connections-using-an-existing-bond" /><item><title>RE: peripheral device only sends indications on connections in which a new bond is formed (not in connections using an existing bond)</title><link>https://devzone.nordicsemi.com/thread/434039?ContentTypeID=1</link><pubDate>Sat, 01 Jul 2023 01:18:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:230b9912-1482-4766-9adb-f1dc43a5bef1</guid><dc:creator>jrowe</dc:creator><description>&lt;p&gt;yeah. that worked.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral device only sends indications on connections in which a new bond is formed (not in connections using an existing bond)</title><link>https://devzone.nordicsemi.com/thread/434038?ContentTypeID=1</link><pubDate>Sat, 01 Jul 2023 00:49:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d527278-98d0-4245-9c1b-6c7fefa9229e</guid><dc:creator>jrowe</dc:creator><description>&lt;p&gt;It looks like this might be related to something y&amp;#39;all have already fixed.&lt;/p&gt;
&lt;p&gt;It seems related to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33969/pm_evt_conn_sec_succeeded-once-when-first-connect-but-twice-after-this"&gt;this post&lt;/a&gt;, which is identified as fixed in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34155/what-are-sdk-15-x-0-known-issues/131352"&gt;this post.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the release notes for 15.3 I see&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;quot;- Slave Security Requests received during a pairing or encryption procedure will now be ignored (to align with the BLE specification).&amp;quot;&lt;/p&gt;
&lt;p&gt;it looks like the change might be restricted to the sec_info_request_process() function in the security_dispatcher... I might try cherry picking that change to see if it helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peripheral device only sends indications on connections in which a new bond is formed (not in connections using an existing bond)</title><link>https://devzone.nordicsemi.com/thread/434033?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2023 23:47:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68b0ebe6-cc6f-4691-88c4-338f9f0630de</guid><dc:creator>jrowe</dc:creator><description>&lt;p&gt;I collected some sniffer traces. For the first two I used the nrf52 as the central. I collected one trace of the bonding process and one trace of an attempted measurement after the bonding process.&lt;/p&gt;
&lt;p&gt;I repeated this using the nrf connect app as the central device. The measurements come through on the nrf connect app without having to delet the bond.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf52_5F00_central_5F00_bonding_5F00_process.pcapng"&gt;devzone.nordicsemi.com/.../nrf52_5F00_central_5F00_bonding_5F00_process.pcapng&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/phone_5F00_as_5F00_central_5F00_measurement_5F00_after_5F00_bonding.pcapng"&gt;devzone.nordicsemi.com/.../phone_5F00_as_5F00_central_5F00_measurement_5F00_after_5F00_bonding.pcapng&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf52_5F00_central_5F00_bonding_5F00_process.pcapng"&gt;devzone.nordicsemi.com/.../nrf52_5F00_central_5F00_bonding_5F00_process.pcapng&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/phone_5F00_as_5F00_central_5F00_bonding_5F00_process.pcapng"&gt;devzone.nordicsemi.com/.../phone_5F00_as_5F00_central_5F00_bonding_5F00_process.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The bonding processes look really similar. the only difference I saw was that in the pairing request sent by the app the signature key was set to true, which is not an option using the peer manager.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The connection after the bonding process was kind of different though. For the nrf connect app, it was very simple.&lt;/p&gt;
&lt;p&gt;The peripheral sends a security request, the central sends an encryption request, the peripheral response, then the peripheral sends a start encryption request.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;With the nrf52 as the central, it is much more complicated. They look similar until the central responds to the LL_START_ENC_REQ twice. Then the peripheral also sends a LL_START_ENC_RSP, then there is a encryption pause request, then they re-do everything and the encryption actually starts.&lt;/p&gt;
&lt;p&gt;My guess is that the problem is with the behavior after the bond has been made. I really don&amp;#39;t know how to change that though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>