<?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>Getting a MESH ASSERT on &amp;#39;subscription delete all&amp;#39;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63201/getting-a-mesh-assert-on-subscription-delete-all</link><description>Hi, 
 as describe in the title, we are getting a mesh assert when trying to remove all suscibtions from a model. 
 it is kind of hard to reproduce because this command is not implemented in NrfMesh app, so we are implementing it in our App. 
 The assert</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Sep 2020 14:44:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63201/getting-a-mesh-assert-on-subscription-delete-all" /><item><title>RE: Getting a MESH ASSERT on 'subscription delete all'</title><link>https://devzone.nordicsemi.com/thread/268103?ContentTypeID=1</link><pubDate>Fri, 04 Sep 2020 14:44:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75756e47-8c6a-4ed3-9d41-12721e52cf79</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The mesh team has not been able to reproduce.&lt;/p&gt;
&lt;p&gt;It would be the best if our setup is as close to yours as possible, for reproducing.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What example (or examples) did you test?&lt;/li&gt;
&lt;li&gt;Did you only provision, or did you do some configuration as well?&lt;/li&gt;
&lt;li&gt;What device or app did you use for provisioning (and for configuration, if applicable)?&lt;/li&gt;
&lt;li&gt;We assume that you send CONFIG_OPCODE_MODEL_SUBSCRIPTION_DELETE_ALL from the provisioner. With what parameters? (And if you do something else, please elaborate on how you trigger the delete.)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a MESH ASSERT on 'subscription delete all'</title><link>https://devzone.nordicsemi.com/thread/261986?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2020 13:00:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70bf30b0-8dbc-415d-929b-d43d93365ac0</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unfortunately, I have no updates yet. The mesh-team will take a look as soon as possible and try to fix it when they confirm it&amp;#39;s a real bug.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Due to the holidays in Norway, we are very low on staff in every department so delays are to be expected during the next few weeks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a MESH ASSERT on 'subscription delete all'</title><link>https://devzone.nordicsemi.com/thread/260940?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2020 08:57:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1aa7ee6a-d66b-46ad-8989-66fca22aeea5</guid><dc:creator>benjamin</dc:creator><description>&lt;p&gt;HI&lt;/p&gt;
&lt;p&gt;Any news about this ?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a MESH ASSERT on 'subscription delete all'</title><link>https://devzone.nordicsemi.com/thread/259224?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 14:01:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c6b8388-faf9-4e49-9af7-20c2b52f283e</guid><dc:creator>benjamin</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;thank you for your explainations.&lt;/p&gt;
&lt;p&gt;As I said, the easiest way is to erase compeletly the flash, program any mesh example, provision it and send the command.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a MESH ASSERT on 'subscription delete all'</title><link>https://devzone.nordicsemi.com/thread/259164?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 12:00:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d327161-5aa3-4580-bb11-21d142e3b20a</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I suspect there may be a discrepancy between the states of the access layer and the device state manager. In this part of code, the number of subscriptions are checked using access layer functions, and then used for determining how many entries to delete from DSM. If access and DSM is out of sync at this point, then that could explain this error. If that is the case then I do not see any immediate way to fix this for an application, as it must be fixed in the mesh stack code itself.&lt;/p&gt;
&lt;p&gt;I will report the issue to our developers, so they can look into it and hopefully reproduce and suggest a fix. Do you have a project running on an nRF DK or Dongle, where this issue can be easily reproduced?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a MESH ASSERT on 'subscription delete all'</title><link>https://devzone.nordicsemi.com/thread/258651?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2020 15:10:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da65a232-6fc6-4f48-9df1-98e06b1e3dd7</guid><dc:creator>benjamin</dc:creator><description>&lt;p&gt;Hi, sorry for the late answer&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1594048242517v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;here you have it&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting a MESH ASSERT on 'subscription delete all'</title><link>https://devzone.nordicsemi.com/thread/257833?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2020 12:27:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0c5c632-dbbf-4057-9a17-176af573b6fb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Benjamin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you let me know what you did before you called the function to erase all subscriptions ? Have you assigned a subscription address to any model ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It seems that the address has no subscription and then it end up in NRF_ERROR_NOT_FOUND.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I&amp;#39;m curious about&amp;nbsp;subscription_count and the&amp;nbsp;subscribed_addresses[] array you have.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>