<?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>S130 simultaneous scan &amp;amp; advertise problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3888/s130-simultaneous-scan-advertise-problem</link><description>I&amp;#39;m trying to implement a simultaneous broadcaster observer by calling ble_gap_adv_start() and sd_ble_gap_scan_start() and waiting for respective events. 
 If I call advertising start first and scan start second, everything works fine. However, if I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Nov 2015 13:38:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3888/s130-simultaneous-scan-advertise-problem" /><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13993?ContentTypeID=1</link><pubDate>Wed, 11 Nov 2015 13:38:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b474f97-738e-46c6-9364-972663ad3e76</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;well you &lt;em&gt;can&lt;/em&gt; use it but there is currently no SDK, so you can only use it &amp;quot;raw&amp;quot;. Some people actually do that, using the SD directly from their code. If you&amp;#39;re not one of them then I&amp;#39;d ask you to wait for the SDK release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13992?ContentTypeID=1</link><pubDate>Wed, 11 Nov 2015 13:31:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd0d5351-22d0-4f9e-b159-d7e33a9fe844</guid><dc:creator>Elm</dc:creator><description>&lt;p&gt;Carles wrote: &amp;quot;...you can use the S130 2.0.0 alpha which has the fix. Unfortunately there is no compatible SDK yet... &amp;quot;.&lt;/p&gt;
&lt;p&gt;Do you mean that I can use the S130 2.0.0 alpha softdevice, but then I can &lt;em&gt;NOT&lt;/em&gt; use it, as my SDK 8.1.1 based code  will not be compatible with the new softdevice?&lt;/p&gt;
&lt;p&gt;regards,
Elm&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13991?ContentTypeID=1</link><pubDate>Wed, 11 Nov 2015 12:42:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afb2a728-88a9-4299-8c3b-4968f3f63ccb</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;It has, but there has not been a production release of a new S130 SoftDevice yet (a new one is coming soon). In the meantime you can use the S130 2.0.0 alpha which has the fix. Unfortunately there is no compatible SDK yet, but that also is coming very soon. Apologies for the delay, but the 2.0.0 release is a major one (many subsystems have been reworked) and that is why it has taken longer than expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13990?ContentTypeID=1</link><pubDate>Wed, 11 Nov 2015 12:36:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f838bb0-2c42-47e6-b44e-81535ce24cc7</guid><dc:creator>Elm</dc:creator><description>&lt;p&gt;The above discussion took place in September 2014. Today, 1y2m later, I still see S130 version 1.0.0 in the latest SDK (10.0.0). Does this mean that this error has not been fixed yet?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13988?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 14:50:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74789737-75da-499d-b068-74d8b86cdee5</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;I am sorry, I am only an engineer. Please contact your Nordic representative for information on future updates and products.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13989?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 14:47:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16a781ec-a140-4ebc-9c8c-b447d8a8153b</guid><dc:creator>Konstantin K</dc:creator><description>&lt;p&gt;Thanks!  Are you able to share the timeframe for the next S130 release?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13987?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 14:45:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92e81460-303c-4d8c-aba7-bab176465c01</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;After some investigation I managed to reproduce and locate the problem and it turns out this is an issue within the SoftDevice. This issue has since been corrected and will be included with the next release of the S130 SoftDevice.&lt;/p&gt;
&lt;p&gt;It can be worked around by temporarily disabling scanning before starting advertising.&lt;/p&gt;
&lt;p&gt;Apologies for the inconvenience and thanks to Konstantin for the help debugging this.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Carles&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13985?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 13:51:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3b2b589-80db-47eb-aae0-e768356cec6a</guid><dc:creator>Konstantin K</dc:creator><description>&lt;p&gt;No.          .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13984?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 13:40:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1dfc68b-e47a-4d11-b013-76358da1d338</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;One more question. Are you using whitelists in either advertising or scanning?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13983?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 12:52:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7129c5b4-5347-49f1-b93a-66312258cf4e</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Thanks for the additional info.
If there are collisions between advertising packets and scan windows, there is no fixed priority for each of the operations. Depending on the scheduling of the radio time they will get to share the radio equally, and will have to defer certain events to make room for each other. I&amp;#39;ll make sure to post here as soon as we know more about the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13982?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 12:42:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2acf6ead-a54a-42c5-afa8-a8d2565aacb9</guid><dc:creator>Konstantin K</dc:creator><description>&lt;p&gt;I&amp;#39;ve tried varying all the parameters, for example, making scan window 10ms out of 90ms, and advertising at 90ms interval.  This should certainly have plenty of time to schedule advertisement between scan windows.&lt;/p&gt;
&lt;p&gt;Strangely, if I do the start/stop thing, I can get advertising interval that&amp;#39;s smaller that scan window and somehow get both (although at unknown rate because we don&amp;#39;t have an RF sniffer).  Do you know what happens in that case (what takes priority scan or adv)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13981?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 12:39:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8361143-44a5-4488-b66d-3fb260460129</guid><dc:creator>Konstantin K</dc:creator><description>&lt;p&gt;No problem.  Thank you for making things happen.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13980?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 12:38:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f3c9935-5d34-4382-a3be-b5c491a0cff8</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;But since we&amp;#39;re at it could you provide the advertising and scan parameters you are using, and could you try with scan parameters that are wide enough so that they let enough time for the advertiser to run?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13979?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 12:37:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af2a1ca4-70f2-46a0-9076-a1ea0720a1b9</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Sorry, I forgot to follow up. I have raised an internal issue about this and it will be looked into very soon. Apologies for not being able to provide more information at this time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13978?ContentTypeID=1</link><pubDate>Wed, 24 Sep 2014 14:54:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a3b59c1-a0d4-49e8-84e5-362e68475f81</guid><dc:creator>Konstantin K</dc:creator><description>&lt;ol&gt;
&lt;li&gt;No connections.  2) 0x08&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13977?ContentTypeID=1</link><pubDate>Wed, 24 Sep 2014 11:59:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf4ca4a8-9b0d-4961-9ba2-1f0a403871cc</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;Could you provide a little bit more information:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Do you have any active connections at all when this happens?&lt;/li&gt;
&lt;li&gt;What exact error code do you get from ble_gap_adv_start()? You mention invalid state, does that mean 0x00000008?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Carles&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130 simultaneous scan &amp; advertise problem</title><link>https://devzone.nordicsemi.com/thread/13986?ContentTypeID=1</link><pubDate>Wed, 24 Sep 2014 05:28:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:767b859f-a496-48e6-85c2-85ba07dd35fd</guid><dc:creator>Deimantas</dc:creator><description>&lt;p&gt;I have the same problem and no solution exept starting/stoping advertising/scanning manually when it&amp;#39;s needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>