<?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>generic ponoff initialisation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57739/generic-ponoff-initialisation</link><description>Good day! 
 generic_ponoff_setup_server_init causes Mesh assert error. 
 If I delete reallocation of dtt and onoff servers&amp;#39; subscription lists everything goes fine. 
 What am I doing wrong? 
 
 Linux, SES IDE, MESH SDK v4.0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 01 Mar 2020 18:02:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57739/generic-ponoff-initialisation" /><item><title>RE: generic ponoff initialisation</title><link>https://devzone.nordicsemi.com/thread/237292?ContentTypeID=1</link><pubDate>Sun, 01 Mar 2020 18:02:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c690f190-36e5-4f11-a139-fa31b123a499</guid><dc:creator>choehyunho</dc:creator><description>&lt;p&gt;I also have similar problem.&lt;/p&gt;
&lt;p&gt;This symptom is caused by the same reason with &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/56494/access_model_subscription_list_dealloc-causes-assert-with-mesh-sdk-4-0-0/228984#228984"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/56494/access_model_subscription_list_dealloc-causes-assert-with-mesh-sdk-4-0-0/228984#228984&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In PowerOnOff server or any similar model using &amp;quot;Server for Get&amp;quot; messages &amp;amp; &amp;quot;Setup Server for Set&amp;quot; messages, subscription list deallocating/sharing is made during model initialization.&lt;/p&gt;
&lt;p&gt;If new allocation is done by such model itself or other model, the patch provided in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/56527/reallocating-a-subscription-list-maintains-invalidated-state"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/56527/reallocating-a-subscription-list-maintains-invalidated-state&lt;/a&gt; works, but unless, mesh_config_entry_delete() will assert in the end.&lt;/p&gt;
&lt;p&gt;This can be easily reproduced if erase flash and re-write again.&lt;/p&gt;
&lt;p&gt;The easy workaround is changing the sequence from allocate new one -&amp;gt; share (will deallocate old one) to deallocate old one&amp;nbsp; -&amp;gt; share.&lt;/p&gt;
&lt;p&gt;But, obviously this may cause problem in various use cases, and should be fixed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: generic ponoff initialisation</title><link>https://devzone.nordicsemi.com/thread/234176?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 12:53:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f7daa08-f99e-4f53-ac6f-b2846ea0320b</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I will need more information to be able to help you with the issue. Can you provide me with more details and what you have tried?&lt;/p&gt;
&lt;p&gt;Which example are you using? Have you modified the example? Do you get any error codes?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>