<?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>Advertising and scanning not starting immediately - NRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26419/advertising-and-scanning-not-starting-immediately---nrf52840</link><description>Hi, 
 I&amp;#39;m working on app based on ATT_MTU Throughput Example from SDK 13.1, but I added Thread support and now working with Thread SDK 0.10.0. I have a problem with advertising and scanning - both are not starting immediately after sd_ble_gap_adv/scan_start</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Nov 2017 15:33:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26419/advertising-and-scanning-not-starting-immediately---nrf52840" /><item><title>RE: Advertising and scanning not starting immediately - NRF52840</title><link>https://devzone.nordicsemi.com/thread/103973?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2017 15:33:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef941a37-c79a-49a0-99c9-8cf5eff06224</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Your master example does not run at all on my setup. Have you tried debugging the application to see where it is stuck/what it is doing for the 3-4 minutes? Once the call to the softdevice function have happend, it will start advertising/scan within a very short time. The softdevice allways have the highest priority.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising and scanning not starting immediately - NRF52840</title><link>https://devzone.nordicsemi.com/thread/103972?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2017 09:22:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2eeb1c2b-e496-4bbe-9a1e-bbb1294ac909</guid><dc:creator>marmio</dc:creator><description>&lt;p&gt;I did the same test and got the same result, board starts advertising immediately. But with my master code it doesn&amp;#39;t. I don&amp;#39;t think I changed the libraries, only &lt;code&gt;sdk_config.h&lt;/code&gt; and the &lt;code&gt;makefile&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising and scanning not starting immediately - NRF52840</title><link>https://devzone.nordicsemi.com/thread/103970?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 14:28:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:677ab3b8-3afc-4e13-8e15-a246c0068378</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I did a test with the BLE_ATT_MTU example from the SDK, and your slave code. I cannot reproduce the issue with advertising not starting again. To me, the board starts advertising again immediately after tester board disconnects. Have you made any other changes to the SDK libraries?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising and scanning not starting immediately - NRF52840</title><link>https://devzone.nordicsemi.com/thread/103971?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 10:42:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d4930f8-eb10-4a58-b6d7-3212bf08c197</guid><dc:creator>marmio</dc:creator><description>&lt;p&gt;I edited the question with the projects. Its a bit messy, but I hope you will manage. Now it seems to work from the start, but after disconnection slave doesn&amp;#39;t start to advertise, same problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising and scanning not starting immediately - NRF52840</title><link>https://devzone.nordicsemi.com/thread/103969?ContentTypeID=1</link><pubDate>Tue, 31 Oct 2017 10:14:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e623f30d-0dda-43c4-be65-f84516572894</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Could you post some code showing how you included Thread, and how/where you call &lt;code&gt;sd_ble_gap_adv&lt;/code&gt;/&lt;code&gt;scan_start()&lt;/code&gt;? Uploading your entire project would be even better!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>