<?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>[MESH SDK] Assertion Failed after trying to provision a reset node</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77769/mesh-sdk-assertion-failed-after-trying-to-provision-a-reset-node</link><description>Hi, 
 I&amp;#39;m using the provisioning example from the mesh sdk and I have an &amp;quot;ASSERTION FAILED at :0&amp;quot; error when I&amp;#39;m trying to re provision a node that I have provision before and reset. 
 
 To reproduce : 
 - Provision a node using the example. 
 - Reset</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Jul 2021 08:31:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77769/mesh-sdk-assertion-failed-after-trying-to-provision-a-reset-node" /><item><title>RE: [MESH SDK] Assertion Failed after trying to provision a reset node</title><link>https://devzone.nordicsemi.com/thread/321258?ContentTypeID=1</link><pubDate>Thu, 22 Jul 2021 08:31:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3dfd80d-2302-4c85-978a-a8f7bff49778</guid><dc:creator>neicureuil</dc:creator><description>&lt;p&gt;Problem solved :&lt;/p&gt;
&lt;p&gt;I have forgot to set the &amp;quot;m_provisioner_init_done&amp;quot; variable in the &amp;quot;prov_helper_provisioner_init&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static uint8_t prov_helper_provisioner_init(void)
{
    if (!m_provisioner_init_done)
    {
        nrf_mesh_prov_oob_caps_t capabilities = NRF_MESH_PROV_OOB_CAPS_DEFAULT(ACCESS_ELEMENT_COUNT);
        
        if (nrf_mesh_prov_init(&amp;amp;m_prov_ctx, m_public_key, m_private_key, &amp;amp;capabilities, prov_evt_handler) != NRF_SUCCESS)
        {
          m_provisioner_init_done = true;
          return SERIAL_ERROR;
        }
        else if(nrf_mesh_prov_bearer_add(&amp;amp;m_prov_ctx, nrf_mesh_prov_bearer_adv_interface_get(&amp;amp;m_prov_bearer_adv)) != NRF_SUCCESS)
        {
          m_provisioner_init_done = true;
          return SERIAL_ERROR;
        }
        m_provisioner_init_done = true;
        return SERIAL_CMD_SUCCESS;
    }
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>