<?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>Long connection delay with Android, iOS superfast</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29128/long-connection-delay-with-android-ios-superfast</link><description>Hello, 
 i have the following setup: nrf52 as peripheral, smartphone as central.
Peripheral&amp;#39;s purpose is to be an interface between appliance and smartphone. It has no pairing/bonding feature and it advertises with 22ms interval and public static address</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Feb 2018 16:58:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29128/long-connection-delay-with-android-ios-superfast" /><item><title>RE: Long connection delay with Android, iOS superfast</title><link>https://devzone.nordicsemi.com/thread/119408?ContentTypeID=1</link><pubDate>Thu, 01 Feb 2018 16:58:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c41941c-3f62-4a85-afba-da0c4a4f5cdc</guid><dc:creator>blungreen</dc:creator><description>&lt;p&gt;Thank you for sharing your experience!&amp;nbsp;&lt;br /&gt;I thought i was the only person in the earth having issue with this crap phone.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Unfortunatley i cannot ditch customer&amp;#39;s phones. Same problems appears to be on Samsung A5, but haven&amp;#39;t tried personally yet.&lt;/p&gt;
&lt;p&gt;As i stated before, the issue is that the BT chip is crap and if it scanning, it is not possible to connect to a BLE device.&lt;br /&gt;Unfortunately again, there is a system service that is always scanning, so the BLE is useless. This happens with Marshmallow, don&amp;#39;t know if Lollipop is affected aswell.&lt;/p&gt;
&lt;p&gt;You can make Huawei P8Lite to work, if you disable location settings the nearbySevice stops the background scanning. With P8Lite, it is possible to scan for BLE devices even if location is disabled (which is against Marshmellow specs), so you can prompt the user to disable location and it will work.&lt;br /&gt;Further more: disabling location with the widget icon is not enought, you need to open Location Settings and disable it from there.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long connection delay with Android, iOS superfast</title><link>https://devzone.nordicsemi.com/thread/119402?ContentTypeID=1</link><pubDate>Thu, 01 Feb 2018 16:30:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35b997ea-7249-4d42-a26e-e0f7738e5fb3</guid><dc:creator>mon2</dc:creator><description>&lt;p&gt;@blungreen - just saw this thread. Ditch the P8 Lite - it is a pure lemon of a design. Would love to chat with the &amp;quot;engineer&amp;quot; group / individual that created this poor excuse of a phone. We have days of wasted time invested in attempting to use the same phone with Cypress (Psoc6), Silabs (assorted), Nordic (832 &amp;amp; 840 kits) and Samsung (Artik 053) - each failed. Samsung is reviewing to purchase this krapware to investigate further. We too saw the Error 133 which is Android related. Fast forward after months of toying with this Huawei garbage and picked up a Moto G5 Plus with 32 GB from Costco (Michigan) - on sale @ $199 USD (unlocked). The small regret is that the US model of this Moto phone is NOT included the NFC feature - oh why oh why. Anyways, ironically, the NFC feature works fine on the P8 Lite. So did the WIFI when we used it in HK and at local wifi access hot spots. Just non of the apps work as they should with WIFI nor BLE.&lt;/p&gt;
&lt;p&gt;The Moto is being used as of this week and all apps tested so far are working as they should.&lt;/p&gt;
&lt;p&gt;We have hours of complaints lodged with Huaweu and they claim they will either fix it or refund our money. Please consider to file a complaint as well. We have detailed logs on this forum and also Samsung and Cypress regarding this phone. Each developer reported the fault is the phone.&lt;/p&gt;
&lt;p&gt;Keep your sanity and ditch this P8 Lite phone!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long connection delay with Android, iOS superfast</title><link>https://devzone.nordicsemi.com/thread/115714?ContentTypeID=1</link><pubDate>Fri, 12 Jan 2018 08:09:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47a6ce56-580b-4caf-b69e-6ef715f48cb8</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Regarding Huawei P8/P9 Lite it is not possible to use the Fitbit Charge HR with these devices. I suspect your problem might be related. It might actually be a good idea to contact Huawei.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long connection delay with Android, iOS superfast</title><link>https://devzone.nordicsemi.com/thread/115713?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2018 09:36:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d485c244-fc4d-40c3-8249-67e5cfef35af</guid><dc:creator>blungreen</dc:creator><description>&lt;p&gt;Yes i did, without luck. Tried to disable pretty much everything from Google settings.
On Samsung S7 there is also a specific setting for Nearby under Connections menu. But haven&amp;#39;t tried.&lt;/p&gt;
&lt;p&gt;Bluetooth Classic still works, on Huawei P8 Lite it seems that only BLE is compromised. There is also a highly chance that Samsung A5 is affected by same problem (same BT chip maybe?), i have a customer that is experiencing the same problem but didn&amp;#39;t have a chance to verify.&lt;/p&gt;
&lt;p&gt;I have tried to post issue on Google Play Help forum and they said my best luck is to ask Huawei. Nice answer.
Looking at Google Play app review there are really lots of complains about battery drain and i believe that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long connection delay with Android, iOS superfast</title><link>https://devzone.nordicsemi.com/thread/115712?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2018 08:43:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:730a9baf-80ac-45da-8900-965debe4fa46</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;This is quite interesting. Have you tried disabling not just Nearby Notifications but the whole Nearby service from google settings to see if this helps in your case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long connection delay with Android, iOS superfast</title><link>https://devzone.nordicsemi.com/thread/115711?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2018 08:43:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6be45ec3-319f-48c3-99b0-cbeeb6d10518</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Interesting. Very interesting. Thanks for sharing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long connection delay with Android, iOS superfast</title><link>https://devzone.nordicsemi.com/thread/115710?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2018 16:54:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11007389-e7f9-4c77-b12c-763e029e37da</guid><dc:creator>blungreen</dc:creator><description>&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;: i might have found a possible cause, Google&amp;#39;s &lt;strong&gt;NearbyMessageService&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I was trying to figure out why not being able to connect with Huawei P8 Lite smartphone to any BLE peripheral, so after searching the net i came across with someone saying that on some smarphones if there is a background service doing BLE scan, connection will always fail with error 133.&lt;/p&gt;
&lt;p&gt;Looking at the logcat of the Huawei it showed that there was a fast scan on background always present with Bluetooth enabled.&lt;/p&gt;
&lt;p&gt;Killing NearbyMessageService from Google Play Services stopped the background scan and i was able to get the phone to connect to BLE peripherals.&lt;/p&gt;
&lt;p&gt;On my LG G6 i don&amp;#39;t see any backgound scan, but i tried to stop the service to see if it could help with my long delay issue. And it did, now i can connect as fast as iOS.&lt;/p&gt;
&lt;p&gt;Disabling Nearby notification on Google settings doesn&amp;#39;t stop the scan on Huawei phone, neither helps on my LG.&lt;/p&gt;
&lt;p&gt;I will investigate further to understand how this service works&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long connection delay with Android, iOS superfast</title><link>https://devzone.nordicsemi.com/thread/115709?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2017 12:16:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6a2af5a-b0ff-4552-98f8-6730128fd38e</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Thank you for the log. We suspect this might be an issue with Android or the Bluetooth chipset as Emil suggested. Unfortunately we do not have an LG G6 to replicate the test with. Which models of Samsung and Huawei did you test with? Which versions of Android? If you send us a compiled hex file we could run some tests on our end. Either attach your file to this post or send a request through My Page.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long connection delay with Android, iOS superfast</title><link>https://devzone.nordicsemi.com/thread/115706?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2017 10:41:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53b5eb80-3c19-48ce-ab2c-0324445a1dc4</guid><dc:creator>blungreen</dc:creator><description>&lt;p&gt;Hello, i replied as answer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long connection delay with Android, iOS superfast</title><link>https://devzone.nordicsemi.com/thread/115708?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2017 10:41:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8804519b-e3da-4455-8e1b-62b424e409fa</guid><dc:creator>blungreen</dc:creator><description>&lt;p&gt;Hello, attached you can find the nRF Connect log of connection. I cut log to Service Discovery:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;V	11:34:50.153	Connecting to E5:87:72:EF:63:65...
D	11:34:50.153	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE)
D	11:34:54.384	[Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
I	11:34:54.384	Connected to E5:87:72:EF:63:65
D	11:34:54.407	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
V	11:34:54.408	Discovering services...
D	11:34:54.408	gatt.discoverServices()
D	11:34:54.423	[Callback] Services discovered with status: 0
I	11:34:54.430	Services discovered
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long connection delay with Android, iOS superfast</title><link>https://devzone.nordicsemi.com/thread/115707?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2017 09:50:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5e283de-b556-4966-8479-9e03bc2436f7</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;OK. Could you capture a log from nRF Connect and post it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long connection delay with Android, iOS superfast</title><link>https://devzone.nordicsemi.com/thread/115705?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2017 09:24:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d66d5d8-16af-4a41-8ba7-1b28571ec365</guid><dc:creator>blungreen</dc:creator><description>&lt;p&gt;Hello, yes i&amp;#39;m using my own app. I already tried with nRF Connect, the behaviour is the same.
Tried nRF Connect on other vendor BLE devices, same story&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long connection delay with Android, iOS superfast</title><link>https://devzone.nordicsemi.com/thread/115704?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2017 08:52:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d973d21-33d6-496a-832d-c28284ea2460</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using your own app? Could you try with nRF Connect and check if the issue is still there? You should be able to tell from the nRF Connect log what is causing the delay.&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>