Closed jbruchanov closed 10 years ago
Nexus 4's antenna is shared between Bluetooth and WiFi which both operates on 2.4 GHz.
That means that WiFi turned on can degrade Bluetooth performance.
well so it means that active bluetooth using blocks wifi :( is there a list of similar devices ?
No, this is only known problem for Nexus 4.
I'm experiencing the same issue on Motorola Moto G with Android 4.4.2. Did you find some kind of workaround?
@beyondsanity Right now only Nexus 4 is known to have this problem. How do you observe this problem?
I made a sample App that uses internet connection and a BLE scan service. I start the App with BLE and Wi-fi on, the user can login correctly with my servers (using Wi-fi). After the login i start the BLE scan service, the scan service works and find the beacons. When i find a beacon i try to download an image from my server.
This last operation causes the wi-fi connection to fall. The wifi icon in the status bar disappears and the request to the server goes to timeout.
I tried using different servers and different wi-fi connections with the same results. The Scanner code is based on your samples, i tried using both monitoring and ranging mode with no success.
I made another test based directly on your Sample App and had the same results. I simply added a webview to the notification demo. When a beacon is found the webview try to load the Google homepage but it goes to timeout.
test made on Motorola Moto G with Android 4.4.2
@wiktor @beyondsanity I can confirm this issue on the Moto G with Android 4.4.4
@wiktor @beyondsanity @finishingmove I also confirm the issue for Moto G with Android 4.4.4
@wiktor This issue is also confirmed for Moto X on Android 4.4.4.
This issue is also confirmed for Asus Memopad on Android 4.3. My workarround is to stop ranging while I send cloud request and upon reception of responses I re start ranging. It works but, it's really a primitive workarround.
This seems to happen in all the Nexus devices, the Samsung Galaxy S4 mini and a lot of Motorola. How do you guys are dealing with it? Some kind of workaround available? Please share, I can't distribute an app that messes the user's wifi.
I put the code example into a service. It works fine, but in the time of Ranging it seems that wifi is "blocked" and i'm not able to use it. (net requests failing for time out).
Any ideas what can be wrong or N4 has some "share" hw implementation for BT+WIFI ?