<?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>Changing Scan window in run time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45888/changing-scan-window-in-run-time</link><description>Hello Everyone, 
 
 I am building an application where I have to change the scan window (BEARER_SCAN_WINDOW_DEFAULT_MS) in run time, based on a specific event. Does the stack allow application to change it in run time?? 
 
 Regards, 
 Sameer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Apr 2019 08:46:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45888/changing-scan-window-in-run-time" /><item><title>RE: Changing Scan window in run time</title><link>https://devzone.nordicsemi.com/thread/180959?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 08:46:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8ade398-0dd0-494f-b381-e1ae18290597</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;If you want to put the chip to low power mode, I think the better solution is to stop mesh and put the chip to sleep for a period instead.&lt;/p&gt;
&lt;p&gt;Reducing the scan window causes the mesh performance to drop drastically.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But if you want to test that, I don&amp;#39;t see any problem. Just need to stop and start scanning (scan_disable() , scan_init() )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing Scan window in run time</title><link>https://devzone.nordicsemi.com/thread/180893?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 05:39:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86439a7e-f9b8-43fa-91a0-01fd00d3025a</guid><dc:creator>Sameer</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Yes, I am using Mesh SDK and I want the scanning to be off for sometime. Hence, I am trying to modify&amp;nbsp;&lt;span&gt;BEARER_SCAN_WINDOW_DEFAULT_MS.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing Scan window in run time</title><link>https://devzone.nordicsemi.com/thread/180838?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 15:40:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b88efaef-1cae-4c52-b1cf-27fa7e0e1b38</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please clarify, you are using our Mesh SDK ? I&amp;#39;m not sure why you want to change&amp;nbsp;&lt;span&gt;BEARER_SCAN_WINDOW_DEFAULT_MS&amp;nbsp; ? In Mesh usually the scan window should be 100% unless you want to modify the scanning time.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you want you can change that, but you need to disable scanning and then init it again.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>