<?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>Scanner(Central) stop scanning at random event</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36010/scanner-central-stop-scanning-at-random-event</link><description>I am scanning beacons data in ble central profile with gap scan parameter 
 static ble_gap_scan_params_t const m_scan_params = { .extended = 1, .active = 1, .interval = 0x640, .window = 0x640, .timeout = 0, .scan_phys = BLE_GAP_PHY_1MBPS, .filter_policy</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Apr 2020 21:13:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36010/scanner-central-stop-scanning-at-random-event" /><item><title>RE: Scanner(Central) stop scanning at random event</title><link>https://devzone.nordicsemi.com/thread/244305?ContentTypeID=1</link><pubDate>Mon, 13 Apr 2020 21:13:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be3d9dc5-d6a7-4db0-8d13-726ae85375fc</guid><dc:creator>Mimmo</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a similar problem using Thingy52, SDK 13.0.0, SD S132 v4.0.5, that sends periodically beacon eddystone UID every 200ms, and at the same time scans the beacon sent by the other Thingy52.&lt;/p&gt;
&lt;p&gt;Everything works fine but sometimes it stops to receive the adv events, without any specifc error.&lt;/p&gt;
&lt;p&gt;These are the values used to configure the scan in ble_gap_scan_params_t:&lt;/p&gt;
&lt;div style="background-color:#1e1e1e;color:#d4d4d4;font-family:Menlo, Monaco, &amp;#39;Courier New&amp;#39;, monospace;font-size:12px;font-weight:normal;line-height:18px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#c586c0;"&gt;#define&lt;/span&gt;&lt;span style="color:#569cd6;"&gt; SCAN_INTERVAL &lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;0x0050&lt;/span&gt;&lt;span style="color:#569cd6;"&gt; &lt;/span&gt;&lt;span style="color:#6a9955;"&gt;/**&amp;lt; Determines scan interval in units of 0.625 millisecond. */&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#c586c0;"&gt;#define&lt;/span&gt;&lt;span style="color:#569cd6;"&gt; SCAN_WINDOW &lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;0x0040&lt;/span&gt;&lt;span style="color:#569cd6;"&gt; &lt;/span&gt;&lt;span style="color:#6a9955;"&gt;/**&amp;lt; Determines scan window in units of 0.625 millisecond. */&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#c586c0;"&gt;#define&lt;/span&gt;&lt;span style="color:#569cd6;"&gt; SCAN_TIMEOUT &lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;0x0000&lt;/span&gt;&lt;span style="color:#569cd6;"&gt; &lt;/span&gt;&lt;span style="color:#6a9955;"&gt;/**&amp;lt; Timout when scanning. 0x0000 disables timeout. */&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Any help or suggestions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scanner(Central) stop scanning at random event</title><link>https://devzone.nordicsemi.com/thread/138836?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 18:34:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed2de7fd-8da1-413f-8524-6c7939388090</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;This seems to be really hard nut to crack if the error happens after few hours and the side affect is that the scanner stops without any errors. If this is really the case, then you need to send your hardware here and help us reproduce the issue. I am afraid there is no easy way of dealing with this as it might involve debugging the softdevice, which is not possible from your end.&lt;/p&gt;
&lt;p&gt;Please check if you can send the hardware to us at&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;For direct shipments/visiting address:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Susheel Nuguru&lt;br /&gt;Nordic Semiconductor&lt;br /&gt;Otto Nielsens veg 12&lt;br /&gt;7052 Trondheim&lt;br /&gt;Norway&lt;/p&gt;
&lt;p&gt;Telephone: +47 72 89 89 00&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scanner(Central) stop scanning at random event</title><link>https://devzone.nordicsemi.com/thread/138799?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 14:21:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b1be7de-68a5-4194-bd91-517315cfdb82</guid><dc:creator>abhijit</dc:creator><description>&lt;p&gt;as we used custom board with skyworks PA,and other various peripheral code doesn&amp;#39;t work with dev board,as i mention scanning stop randomly sometimes in few minutes or it takes hours.also in nrf52832 only one uart available and we are using it for data uploading so unable see logs,if you want to share any particular settings i will share you.&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scanner(Central) stop scanning at random event</title><link>https://devzone.nordicsemi.com/thread/138781?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 13:08:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63a72942-241d-4e6a-9734-3f322cfeef08</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I do not think that scanner would stop suddenly without any error, but it is not impossible (if there is a bug in the softdevice). If this is really the case, then i would like to reproduce this error. Can you please attach the project here so that i can test it. If I can reproduce it, then i will start to debug as to why this happens.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scanner(Central) stop scanning at random event</title><link>https://devzone.nordicsemi.com/thread/138773?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 12:24:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7b565e0-add0-46cf-899f-d50fe3106ba1</guid><dc:creator>abhijit</dc:creator><description>&lt;p&gt;thanks for reply,i want continuous scanning so i used&amp;nbsp;&lt;span&gt;scan interval = scan window,central data means our application data including updated rtc data,so i am sure central not blocked anywhere,it stops scanning,so i wont get beacon advertising data&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scanner(Central) stop scanning at random event</title><link>https://devzone.nordicsemi.com/thread/138670?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 07:06:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f40ec668-d963-461c-b127-cfc17518ed52</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Abhijit,&lt;/p&gt;
&lt;p&gt;Seems like after a point the scanner is stopping.&amp;nbsp;You seems to set scan interval = scan window which means that you are setting your scanner on all the time. Is this intentional?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also not sure what you mean by central is sending its own data? does this mean the default data in your app, if so this must be in the application logic? or do you mean that the BLE stack is giving the app something else than the expected advertising data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>