<?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>I am getting a SOFTDEVICE: ASSERTION FAILED after some time when advertising with whitelist.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30891/i-am-getting-a-softdevice-assertion-failed-after-some-time-when-advertising-with-whitelist</link><description>I am getting a SOFTDEVICE: ASSERTION FAILED after some time when advertising with whitelist. I am using NRF5_SDK 14.2.0 and have tried both softdevice s132 5.0.0 and 5.1.0. I modified the code to giv ethe PC and it is pc = 15F94. addr2linegives me ??</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Feb 2018 16:48:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30891/i-am-getting-a-softdevice-assertion-failed-after-some-time-when-advertising-with-whitelist" /><item><title>RE: I am getting a SOFTDEVICE: ASSERTION FAILED after some time when advertising with whitelist.</title><link>https://devzone.nordicsemi.com/thread/122349?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 16:48:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7816aeb7-e34b-4844-bf97-1d1936a6972c</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Great! I&amp;#39;m glad it worked out.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am getting a SOFTDEVICE: ASSERTION FAILED after some time when advertising with whitelist.</title><link>https://devzone.nordicsemi.com/thread/122347?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 16:45:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92ccb8c7-e333-4885-820e-fa9a047c6bb9</guid><dc:creator>jlarsen</dc:creator><description>&lt;p&gt;Thank you MartinBL.&amp;nbsp; We do not need identity list functionality. I removed the use of identity lists in our code and the problem went away.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am getting a SOFTDEVICE: ASSERTION FAILED after some time when advertising with whitelist.</title><link>https://devzone.nordicsemi.com/thread/122272?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 11:40:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cb630e0-51e5-42ff-a6b0-b0619e513c41</guid><dc:creator>MartinBL</dc:creator><description>[quote user="jlarsen45"]I followed some example code when adding whitelist functionality to my app.[/quote]
&lt;p&gt;You are not alone.&amp;nbsp;There have been identical reports from customers who have done the same. Unfortunately we just recently figured out the reason for the bug and that is why it isn&amp;#39;t documented anywhere yet.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Identity keys are a security feature in BLE. From BLE Specification v5:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;Vol 1, Part A,&lt;/span&gt; &lt;/strong&gt;&lt;span&gt;&lt;strong&gt;5.4.5 Privacy Feature&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;Bluetooth LE supports a feature that reduces the ability to track a LE device&lt;br /&gt;over a period of time by changing the Bluetooth device address on a frequent&lt;br /&gt;basis. In order for a device using the privacy feature to reconnect to known devices,&lt;br /&gt;the device address, referred to as the private address, must be resolvable by&lt;br /&gt;the other device. The private address is generated using the device’s resolving&lt;br /&gt;identity key (IRK) exchanged during the bonding procedure.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am getting a SOFTDEVICE: ASSERTION FAILED after some time when advertising with whitelist.</title><link>https://devzone.nordicsemi.com/thread/122177?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 17:12:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a33eb559-be61-435f-8ca3-a70d92c2b1e5</guid><dc:creator>jlarsen</dc:creator><description>&lt;p&gt;I followed some example code when adding whitelist functionality to my app.&amp;nbsp; The few examples always used identity lists.&amp;nbsp; What does using identity lists do specifically?&amp;nbsp; I think I will be able to just not use identity list but I would like to know what functionality I will be loosing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am getting a SOFTDEVICE: ASSERTION FAILED after some time when advertising with whitelist.</title><link>https://devzone.nordicsemi.com/thread/122109?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 10:58:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d274b0cf-10ce-4be6-85d3-633c579b7018</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It looks like you have stumbled upon a known (but not documented) bug that occurs if you are using whitelisting and identity keys. The&lt;span&gt;&amp;nbsp;assert happens&amp;nbsp;&lt;/span&gt;when you are advertising and you receive a malformed scan or connection request from a central. In the real world (if you don&amp;#39;t try to provoke the issue yourself) this only happens when you receive packets with the wrong CRC value. So how often this will&lt;span&gt;&amp;nbsp;&lt;/span&gt;occur&lt;span&gt;&amp;nbsp;&lt;/span&gt;depends on how noisy the user&amp;#39;s environment is.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The Softdevice team propose two solutions based on the fact that the assert only happens if you are using identity lists and only when you are advertising:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stop using identity lists. Unless you really need this feature this would be the best option.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;If you need identity lists,&amp;nbsp;the&amp;nbsp;other&lt;span&gt;&amp;nbsp;&lt;/span&gt;option is to reset your device on the assert, but whether this is a&lt;span&gt;&amp;nbsp;&lt;/span&gt;viable solution obviously&amp;nbsp;depends on your use case? If you&amp;nbsp;need&lt;span&gt;&amp;nbsp;&lt;/span&gt;to maintain other BLE links or do any other time critical things when the assert happens, then&amp;nbsp;naturally a reset isn&amp;#39;t&lt;span&gt;&amp;nbsp;&lt;/span&gt;feasible. If you are indeed able to reset, the downside should be minor. The device should be able to reset within a couple of milliseconds and the users won&amp;#39;t notice.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If you are able to wait, the bug is fixed in S132 v6.0.0 which is just around the corner (please talk to your sales rep for specific release dates).&amp;nbsp;&lt;span&gt;As usual between&amp;nbsp;major Softdevice release versions, there is going to be some API changes and some porting required.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am getting a SOFTDEVICE: ASSERTION FAILED after some time when advertising with whitelist.</title><link>https://devzone.nordicsemi.com/thread/122010?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2018 21:11:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1225e85b-3b12-4e38-a1e8-7e0e50910570</guid><dc:creator>jlarsen</dc:creator><description>&lt;p&gt;pc = 15022 when using sd version 5.1.0&lt;/p&gt;
&lt;p&gt;pc = 15F94 when using sd version 5.0.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>