<?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>Disable scanning in Mesh SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51805/disable-scanning-in-mesh-sdk</link><description>Hi, 
 
 We are using Mesh successfully with the Mesh SDK 3.1.0 combined with Nordic SDK 15.2 and Softdevice 6.1.1. 
 
 Due to the nature of our BT device I would like to explore the opportunity to disable the Mesh Scanner in the Mesh enable function.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Sep 2019 12:37:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51805/disable-scanning-in-mesh-sdk" /><item><title>RE: Disable scanning in Mesh SDK</title><link>https://devzone.nordicsemi.com/thread/208690?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2019 12:37:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c563f2bd-fe86-424e-9f34-ab4f407b6ceb</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Happy to help!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Let me know if you have any further questions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable scanning in Mesh SDK</title><link>https://devzone.nordicsemi.com/thread/208659?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2019 11:52:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0509fada-8d36-43fb-9e30-eca8489c839f</guid><dc:creator>Ronny L</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Joakim,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your response. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Not enabling the scanner makes sense.&lt;/li&gt;
&lt;li&gt;Treating the RX Mode for an enhanced battery while RX isn&amp;#39;t desired anyway&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Ronny&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable scanning in Mesh SDK</title><link>https://devzone.nordicsemi.com/thread/208646?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2019 11:18:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f7367c9-fde5-4bbb-99bb-c55e66900b95</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When looking at the nrf_mesh_enable () function (in the light switch example from nRF5 SDK for Mesh v3.1.0):&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uint32_t nrf_mesh_enable(void)
{
    uint32_t status = NRF_ERROR_INVALID_STATE;
    switch (m_mesh_state)
    {
        case MESH_STATE_INITIALIZED:
#if !MESH_FEATURE_LPN_ENABLED
            scanner_enable();
#endif
            network_enable();
            transport_enable();
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The scanner is initialized in nrf_mesh_enable() &lt;em&gt;unless&amp;nbsp;&lt;/em&gt;the LPN feature is enabled.&amp;nbsp;&lt;/p&gt;
[quote user=""]Due to the nature of our BT device I would like to explore the opportunity to disable the Mesh Scanner in the Mesh enable function.[/quote]
&lt;p&gt;&amp;nbsp;I wouldn&amp;#39;t say that you need to disable the scanner in the nrf_mesh_enable() function. Instead, I suggest that you don&amp;#39;t enable it if that is what you want.&amp;nbsp;&lt;/p&gt;
[quote user=""]I would like to understand the impact on the Mesh SDK.[/quote]
&lt;p&gt;&amp;nbsp;Well, if you don&amp;#39;t enable the scanner, you won&amp;#39;t have the traditional behavior of a Mesh node - Where the node is mostly in RX mode listening for incoming packets. Either listening for packets for that particular node, or packets to relay. We don&amp;#39;t enable the scanner when the LPN feature is enabled, in that case the node needs to wake up and request data from it&amp;#39;s friend node to receive data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>