<?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>iOS BLE scan</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8491/ios-ble-scan</link><description>Hi All, 
 I&amp;#39;m using &amp;quot;scanForPeripheralsWithServices&amp;quot; of iOS to the BLE devices.
&amp;quot;scanForPeripheralsWithServices&amp;quot; sometimes never return anything.
I have to stop scan or turn Bluetooth off to get return from &amp;quot;scanForPeripheralsWithServices&amp;quot;. 
 I don</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 02 Aug 2015 15:16:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8491/ios-ble-scan" /><item><title>RE: iOS BLE scan</title><link>https://devzone.nordicsemi.com/thread/30984?ContentTypeID=1</link><pubDate>Sun, 02 Aug 2015 15:16:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2da025fe-5ed1-478a-a634-12a0771ea3ce</guid><dc:creator>Bill Siever</dc:creator><description>&lt;p&gt;A little more information may be helpful.  Can you answer some of the following questions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Do you mean the delegate&amp;#39;s &lt;em&gt;centralManager:didDiscoverPeripheral:advertisementData:RSSI:&lt;/em&gt; isn&amp;#39;t being called?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Are you sure you have the delegate object properly configured and retained (i.e., that it hasn&amp;#39;t been released due to lack of references to it)?  The Manager&amp;#39;s delegate property is a weak reference, so you need a strong reference to it somewhere.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Are you using any particular options with &lt;em&gt;scanForPeripheralsWithServices&lt;/em&gt;? Or are you just calling it with &lt;em&gt;nil&lt;/em&gt;?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Have you tried rebooting your iOS device to ensure there isn&amp;#39;t a quirk with the Bluetooth stack?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Are you using an additional scanner App, like LightBlue? If so, the device may already be connected to a background App. Be sure all apps that may have connected to the device have been terminated before testing.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>