<?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: How to properly Stop and Restart Provision Beaconing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78186/mesh-how-to-properly-stop-and-restart-provision-beaconing</link><description>I have tried nrf_mesh_disable(); but it does not turn off the Provision Beaconing. 
 mesh_provisionee_prov_listen_stop(); does the trick, however I am struggling with re-enabling the beaconing. mesh_provisionee_prov_start(&amp;amp;prov_start_params) throws an</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Aug 2021 15:08:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78186/mesh-how-to-properly-stop-and-restart-provision-beaconing" /><item><title>RE: Mesh: How to properly Stop and Restart Provision Beaconing</title><link>https://devzone.nordicsemi.com/thread/323378?ContentTypeID=1</link><pubDate>Wed, 04 Aug 2021 15:08:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b14cd46-ff2a-4fe5-8390-f0b22adb9ee8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Instead of calling&amp;nbsp;&lt;span&gt;mesh_provisionee_prov_start() could you try to define a function like this inside mesh_provisionee.c (and declare it in mesh_provisionee.h):&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;uint32_t my_provisionee_start(void)&lt;br /&gt;{&lt;br /&gt;return provisionee_start();&lt;br /&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You then can call&amp;nbsp;my_provisionee_start() to start sending beacon again.&amp;nbsp;&lt;br /&gt;Don&amp;#39;t forget about the interrupt context that you can call this function. If you declare mesh with&amp;nbsp;NRF_MESH_IRQ_PRIORITY_LOWEST then you need to call the function in an interrupt handler (button press for example)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>