<?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>Scanner is disabled after provision completes with PB-GATT enabled with 10 second delay workaround</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46583/scanner-is-disabled-after-provision-completes-with-pb-gatt-enabled-with-10-second-delay-workaround</link><description>A device that is provisioned with PB-GATT enabled stops receiving mesh packets after the provision is complete. 
 When the provisioning process is complete nrf_mesh_disable() is called. Later when the SD has been restarted nrf_mesh_enable() is called</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 May 2019 15:00:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46583/scanner-is-disabled-after-provision-completes-with-pb-gatt-enabled-with-10-second-delay-workaround" /><item><title>RE: Scanner is disabled after provision completes with PB-GATT enabled with 10 second delay workaround</title><link>https://devzone.nordicsemi.com/thread/188888?ContentTypeID=1</link><pubDate>Thu, 23 May 2019 15:00:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5325f75-7014-4c69-a745-fec001171d76</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Just want to let you know that the patch has been &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/43992/10-second-delay-after-pb-gatt-completed-until-first-mesh-proxy-service-advertisement"&gt;updated&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scanner is disabled after provision completes with PB-GATT enabled with 10 second delay workaround</title><link>https://devzone.nordicsemi.com/thread/184191?ContentTypeID=1</link><pubDate>Sun, 28 Apr 2019 18:54:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01c76bf0-efbf-47f6-b576-df82e3292bec</guid><dc:creator>JonasJ</dc:creator><description>&lt;p&gt;Thanks. This works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scanner is disabled after provision completes with PB-GATT enabled with 10 second delay workaround</title><link>https://devzone.nordicsemi.com/thread/183842?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2019 13:31:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abe490cd-93b3-4af9-908f-ae4d94def380</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Thanks for providing this patch! I have reported this internally. We have another workaround that also seems stable here:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;--- a/mesh/bearer/src/bearer_handler.c
+++ b/mesh/bearer/src/bearer_handler.c
@@ -319,10 +319,14 @@ uint32_t bearer_handler_stop(bearer_handler_stopped_cb_t cb)
         /* Will stop the timeslot when the current action ends. */
         m_stopped_callback = cb;
         m_stopped = true;
-        if (timeslot_session_is_active())
+        if (timeslot_is_in_ts())
         {
             timeslot_trigger();
         }
+        else if (timeslot_session_is_active())
+        {
+            timeslot_stop();
+        }
         else
         {
             notify_stop();&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And replace action_switch() in&amp;nbsp;&lt;/span&gt;&lt;span&gt;bearer_handler_timer_irq_handler() with this code:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt; if (m_stopped)
        {
            timeslot_stop();
        }
        else
        {
            action_switch();
        }&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Could you try using this fix instead of the workaround mentioned by &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/43992/10-second-delay-after-pb-gatt-completed-until-first-mesh-proxy-service-advertisement"&gt;Hung Bui in the DevZone case&lt;/a&gt; that you mentioned?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>