<?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>Custom whitelist while Scanning</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14190/custom-whitelist-while-scanning</link><description>Hi! 
 I&amp;#39;m trying to use a custom made whitelist with my scanning device, but no data is arriving.
Is there something I need to do at the advertising devices? Here is the function that starts the scanning process: 
 static void scan_start(void) {
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Apr 2017 10:19:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14190/custom-whitelist-while-scanning" /><item><title>RE: Custom whitelist while Scanning</title><link>https://devzone.nordicsemi.com/thread/54216?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 10:19:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c69e552-a792-46d4-8876-078f3af744a2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Yes, but that doesn&amp;#39;t have anything to do with the whitelist.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom whitelist while Scanning</title><link>https://devzone.nordicsemi.com/thread/54215?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 09:34:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38376adc-b46e-4d5a-a272-ab7a3bf3427e</guid><dc:creator>Nabil</dc:creator><description>&lt;p&gt;How do you resolve this ? By changing SCAN_TIMEOUT ?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom whitelist while Scanning</title><link>https://devzone.nordicsemi.com/thread/54214?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 09:40:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:889a1b97-6871-482a-b7a6-8606b3d2dbfb</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;No problem. Good that you figured it out :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom whitelist while Scanning</title><link>https://devzone.nordicsemi.com/thread/54213?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 09:21:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9e2de58-f271-45fa-8e40-2d3b11305347</guid><dc:creator>Kristoffer Hilmersson</dc:creator><description>&lt;p&gt;There were nothing wrong with the implementation above.
The fault was that I had a really low SCAN_TIMEOUT. The event case in on_ble_evt() called scan_start() everytime there was a timeout event, which resulted in some kind of fault I didn&amp;#39;t see at first.&lt;/p&gt;
&lt;p&gt;So sorry for wasting your time, but hopefully someone can find the code above helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom whitelist while Scanning</title><link>https://devzone.nordicsemi.com/thread/54210?ContentTypeID=1</link><pubDate>Tue, 31 May 2016 15:25:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97580191-7955-4311-a190-dbd88a3277d6</guid><dc:creator>Kristoffer Hilmersson</dc:creator><description>&lt;p&gt;Yes the address should be correct, I have tried changing order but still no luck.
I have a print in on_ble_evt() and its only triggered on scan timeout.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom whitelist while Scanning</title><link>https://devzone.nordicsemi.com/thread/54212?ContentTypeID=1</link><pubDate>Tue, 31 May 2016 12:37:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6094dca8-e389-413e-a0ab-8032eeeef76b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Looks correct. Are you sure you have put in the addresses correctly? How are you checking that no data is arriving?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom whitelist while Scanning</title><link>https://devzone.nordicsemi.com/thread/54211?ContentTypeID=1</link><pubDate>Tue, 31 May 2016 09:11:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5693d96-2efb-4637-9ea2-633c7d70f347</guid><dc:creator>Kristoffer Hilmersson</dc:creator><description>&lt;p&gt;I also tried changeing &lt;strong&gt;BLE_GAP_ADDR_TYPE_RANDOM_STATIC&lt;/strong&gt; to &lt;strong&gt;BLE_GAP_ADDR_TYPE_PUBLIC&lt;/strong&gt;, but still no incoming packets.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>