<?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>simultaneous advertising and scanning</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32509/simultaneous-advertising-and-scanning</link><description>Currently I am scanning with a window of ~23ms and an interval of ~33ms. I am also advertising with an advertising interval of ~330ms. Using radio events, I notice that the radio is active for ~3ms when advertising. However, when advertising occurs, an</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Mar 2018 13:42:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32509/simultaneous-advertising-and-scanning" /><item><title>RE: simultaneous advertising and scanning</title><link>https://devzone.nordicsemi.com/thread/125743?ContentTypeID=1</link><pubDate>Fri, 23 Mar 2018 13:42:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1aac7d9-52be-4ce5-90c1-e5b129b38601</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Hey Matthew,&lt;/p&gt;
&lt;p&gt;It definitely seems like one scan interval is ignored after an advertisment. I&amp;#39;ll ask around the office what&amp;#39;s up with that quirk.&amp;nbsp;&lt;br /&gt;I guess you will have to aim for a really short scan window and interval.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m off work during the Easter holidays,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: simultaneous advertising and scanning</title><link>https://devzone.nordicsemi.com/thread/125587?ContentTypeID=1</link><pubDate>Thu, 22 Mar 2018 15:24:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b51688aa-c39b-4190-9184-4bf0fdbeddae</guid><dc:creator>mregan11</dc:creator><description>&lt;p&gt;I tried using a scan window of 311.25ms, a scan interval of 318.75ms, and an advertising interval of 318.75ms. &amp;nbsp;This results in periods of 318.75 where I am not scanning. &amp;nbsp;This will not work. &amp;nbsp;What is the best way to scan all the time except when I&amp;#39;m advertising?&lt;/p&gt;
&lt;p&gt;I tried a scanning window of 20ms, a scanning interval of 20ms, and an advertising interval of 760ms. &amp;nbsp;This results in periods of either 20ms or 40ms where I am not scanning.&lt;/p&gt;
&lt;p&gt;Matthew&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: simultaneous advertising and scanning</title><link>https://devzone.nordicsemi.com/thread/125522?ContentTypeID=1</link><pubDate>Thu, 22 Mar 2018 12:22:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ce63f57-ed78-48c0-ad2a-e6b39c611d99</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Try using a scan window of 330-7.5ms = ~322ms&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: simultaneous advertising and scanning</title><link>https://devzone.nordicsemi.com/thread/125504?ContentTypeID=1</link><pubDate>Thu, 22 Mar 2018 11:07:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74b06b76-d381-4529-9b0b-f0a31f87b08a</guid><dc:creator>mregan11</dc:creator><description>&lt;p&gt;Hakon,&lt;/p&gt;
&lt;p&gt;My product works&amp;nbsp;with an off the shelf wireless BLE switch. &amp;nbsp;When the switch is pressed, 3 1ms advertisements are sent out, then 20ms lapse, 3 more 1ms advertisements are sent out, another 20ms lapses, then finally 3 more 1ms advertisements are sent out. &amp;nbsp;It is recommended that I scan 23ms out of at least 33ms in order to ensure the best chance of receiving the switch advertisement. &amp;nbsp;Right now, I am advertising only to support OTA updates. &amp;nbsp;If I make a connection while I am advertising, I am no longer concerned with scanning and can stop scanning if I need to.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I recently tried a different approach where I scan for 10ms window and 10ms interval. &amp;nbsp;I changed my advertising interval to 760ms. &amp;nbsp;This seems to help. &amp;nbsp;I thought that when advertising occurs that I would not scan for 10ms. &amp;nbsp;However, using radio events it appears that I stop scanning for 2 scanning intervals, or 20ms, when I&amp;#39;m advertising.&lt;/p&gt;
&lt;p&gt;This seems to be a better approach? &amp;nbsp;Do you know of the mimimum scanning interval required such that only 1 scanning interval will be skipped when advertising?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Matthew&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: simultaneous advertising and scanning</title><link>https://devzone.nordicsemi.com/thread/125480?ContentTypeID=1</link><pubDate>Thu, 22 Mar 2018 09:27:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5daa25d8-8a6a-42ba-94e4-83ecf318bc1c</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Hey Matthew,&lt;/p&gt;
&lt;p&gt;The easiest option is to scan for shorter windows and intervals, thereby continually scanning.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you mind sharing some more details about your communication needs? I might be able to help you find a better solution.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>