<?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>Typo in documentation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39216/typo-in-documentation</link><description>In SDK 15.2 in ble_gap.h 
 #define BLE_GAP_SCAN_WINDOW_MAX 0xFFFF /**&amp;lt; Maximum Scan window in 625 us units, i.e. 40,959.375 s. */ 
 #define BLE_GAP_SCAN_INTERVAL_MAX 0xFFFF /**&amp;lt; Maximum Scan interval in 625 us units, i.e. 40,959.375 s. */ 
 Shouldn&amp;#39;t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Oct 2018 13:47:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39216/typo-in-documentation" /><item><title>RE: Typo in documentation</title><link>https://devzone.nordicsemi.com/thread/152080?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 13:47:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bee884d-d202-4731-bb8f-e838c84c2aec</guid><dc:creator>Siddhesh</dc:creator><description>&lt;p&gt;Hi Bjorn,&lt;/p&gt;
&lt;p&gt;In our application we are simply scanning for advertisements and not establishing connections. Since those advertisements are event based, we can work with longer scan times to make a response to it. Since our sensor is advertising and scanning at the same time, longer scan times will result in lesser average current draw.&lt;/p&gt;
&lt;p&gt;However, it&amp;#39;s always a balancing act trying to find the right numbers for it. Thanks for the quick response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Typo in documentation</title><link>https://devzone.nordicsemi.com/thread/152075?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 13:37:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:677ff37a-9715-4c1f-ac76-35b948a1ca3f</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Yep, looks wrong to me. Should be 40.959375 seconds or 40,959.375 ms. I will report this internally. Thanks for the feedback!&lt;/p&gt;
&lt;p&gt;The scanning device will continuously scan based on the scanning interval &amp;amp; window. The scanning interval says how often the central scans for advertising packets &amp;amp; the scan window says how long the central should scan for. Also, the scanner will continuously loop between the three advertising channels after each scanning interval until the scan timeout is reached (see code below found in ble_gap.h).&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/**@defgroup BLE_GAP_SCAN_TIMEOUT GAP Scan timeout max and min
 * @{ */
#define BLE_GAP_SCAN_TIMEOUT_MIN        0x0001 /**&amp;lt; Minimum Scan timeout in 10 ms units, i.e 10 ms. */
#define BLE_GAP_SCAN_TIMEOUT_UNLIMITED  0x0000 /**&amp;lt; Continue to scan forever. */&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/bluetooth-smart-and-the-nordics-softdevices-part-1"&gt;this blog post&lt;/a&gt; for more info &amp;amp; some good diagrams. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/11377/how-can-i-decide-scan-window-interval-for-continuous-scanning"&gt;This devzone case&lt;/a&gt; could also be helpful.&lt;/p&gt;
&lt;p&gt;May I ask why you want to increase the scan window? As the devzone case link clearly states, long scanning windows can lead to problems if you have multiple connections to one central or delays in executing flash commands or timeslot api executions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>