<?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>Connected RSSI on iPhone invalid</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36370/connected-rssi-on-iphone-invalid</link><description>Good Afternoon, 
 
 We are using the nRF52840 DevKit with our BLE peripheral app and after connecting on iPhone (iOS11) and trying to read the RSSI (readRSSI() from CoreBluetooth with SWIFT) the values are always invalid, mostly 0. We tried third party</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Jan 2019 05:53:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36370/connected-rssi-on-iphone-invalid" /><item><title>RE: Connected RSSI on iPhone invalid</title><link>https://devzone.nordicsemi.com/thread/165054?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 05:53:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0ff1ed4-4c65-4328-88ea-59d603d701ca</guid><dc:creator>_aj_</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I know its been a long time since you posted this issue. We are facing the same issue on our side.&lt;/p&gt;
&lt;p&gt;Were you able to find some solution for this? because same is happening on iphones 8 and after.&lt;/p&gt;
&lt;p&gt;We are using BLE 5.0 nrf52832 as a beacon device. The rssi readings are fine in advertising mode but when iphone connects with the device it starts showing some invalid values.&lt;/p&gt;
&lt;p&gt;We are blocked at this issue, a little help would be appriciable.&lt;/p&gt;
&lt;p&gt;Thanks&amp;amp;Regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ajay&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connected RSSI on iPhone invalid</title><link>https://devzone.nordicsemi.com/thread/140311?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 03:18:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b3ddb5a-0a01-45aa-a892-85d811f791f4</guid><dc:creator>Jiajun</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You call&amp;nbsp;&lt;/p&gt;
&lt;pre class="code-source"&gt;&lt;code&gt;&lt;span&gt;&lt;span class="syntax-identifier"&gt;&amp;quot;readRSSI&lt;/span&gt;()&amp;quot; only after you have connected by &amp;quot;centralManager&amp;quot; object.&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;You need also implement&lt;span&gt;&amp;nbsp;&amp;quot;&lt;/span&gt;&lt;code&gt;&lt;span&gt;&lt;a class="symbol-name" href="https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/1620304-peripheral"&gt;peripheral(_:didReadRSSI:error:)&lt;/a&gt;&amp;quot; delegate in order to received the value.&lt;br /&gt;If it fails, it reports the error.&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connected RSSI on iPhone invalid</title><link>https://devzone.nordicsemi.com/thread/139987?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2018 03:02:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c55198b-4f44-4c4b-9fae-e331ea073923</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;This is an odd problem. Since it reports correctly when not connected but wrong when connected.&lt;/p&gt;
&lt;p&gt;I searched a bit. There was a bug in iOS10.1 that was precisely this problem that connected peripherals would not report an RSSI value. But of course 10.1 was a long time ago.&lt;/p&gt;
&lt;p&gt;Happy to test them side by side next chance I get.&amp;nbsp; But otherwise haven&amp;#39;t heard or seen this phenomena.&lt;/p&gt;
&lt;p&gt;Hopefully Nordic or someone else has some input.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connected RSSI on iPhone invalid</title><link>https://devzone.nordicsemi.com/thread/139970?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 23:30:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56ade1e7-f51c-4720-a935-2b4a4e5e2159</guid><dc:creator>jloliveira</dc:creator><description>&lt;p&gt;Hi AmbystomaLabs,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;We are interacting with iphone and Nordic BLE peripherals for 4years and never had these issues. We are using iPhone8 with iOS11 and it reads RSSI on advertise without any problems, the issue occurs when reading RSSI after connecting to the nRF52840-based peripheral. Also, Android phones don&amp;#39;t seem to have this problem and the iPhone reads RSSI fine after connecting to peripherals based on nRF51822.&lt;/p&gt;
&lt;p&gt;Is there any justification for this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jo&amp;atilde;o&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connected RSSI on iPhone invalid</title><link>https://devzone.nordicsemi.com/thread/139968?ContentTypeID=1</link><pubDate>Thu, 12 Jul 2018 22:57:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28c9b987-978d-4ea7-a4bc-5ee78e7512e3</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;That&amp;#39;s pretty normal for iOS.&amp;nbsp;&amp;nbsp;CoreLocation is even worse as with it when the location accuracy goes below a certain threshold it will report 0 for RSSI.&amp;nbsp; But generally it occurs earlier for CL.&amp;nbsp; Normally at about 30 feet.&amp;nbsp; With CB you can normally get out to about 100 feet before it acts up.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have my resources at hand, but the 0 will also get reported at +128dBm depending on how you format the data coming back from the API call.&lt;/p&gt;
&lt;p&gt;In our applications, I just reuse the last good value and then keep a rolling average of good values.&amp;nbsp; Some iPhones are worse than others.&amp;nbsp; The iPhone 5(c) are the worst of BLE4+. Everything 6 and up is pretty comparable in performance.&lt;/p&gt;
&lt;p&gt;I have never seen it to be BLE device dependent.&amp;nbsp; And have tested many, many different beacon types with the same results.&lt;/p&gt;
&lt;p&gt;One thing to remember also is that after about 2 minutes of getting data from CB, the OS will cut back on your resources and you will get many fewer data points from your advertisements.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>