General (Read-only)

Bluetooth scanning gets disrupted
devluen
I've discovered that bluetooth scanning gets disrupted frequently for unknown reason only in LG Phones with Android 7.0. Please refer attached log file, and you will see that the scanning process is not stable at 12-27 14:10:40.201, and 14:10:50.135, it stops for seconds. Please let me know if you could help.
Posted on 27-Dec-2017
narae0.kim

Re:Bluetooth scanning gets disrupted

Hello,

Can you please let us know the following information?
- Full model name: (e.g. H815)
- SW version:
- Android version:

Thank you.


Posted on 29-Dec-2017
devluen

Re:Bluetooth scanning gets disrupted

- Full model name: LGM-G600L
- SW version: G600L11q
- Android version: 7.0


Posted on 2-Jan-2018
devluen

Re:Bluetooth scanning gets disrupted

We are waiting for your reply.


Posted on 11-Jan-2018
Mcguire

Re:Bluetooth scanning gets disrupted

Hello,

We have reported this issue, but the log you attached was unavailable to analyze.
So sent the full Android log at developer@lge.com

Thanks.


Posted on 15-Jan-2018
devluen

Re:Bluetooth scanning gets disrupted

Please provides us instructions on taking full dump-state log on lg phone(G6)


Posted on 16-Jan-2018
Mcguire

Re:Bluetooth scanning gets disrupted

Dear customer

You would better check below android developer site to get log file
https://developer.android.com/studio/command-line/adb.html#howadbworks

In addition, if you do not have development device, you could not get full dump-state log
(need unlock bootloader only for development)

please check this out and give email with android log file

Thanks


Posted on 18-Jan-2018
devluen

Re:Bluetooth scanning gets disrupted

here is the adblog you asked. As you can see, it suddenly stops scanning from 14:34:45 ~ 14:34:48.
Ble24 is is our log tag.


Posted on 18-Jan-2018
Mcguire

Re:Bluetooth scanning gets disrupted

We have reported this issue to a person in charge
I will give reply as possible as I can


Posted on 22-Jan-2018
devluen

Re:Bluetooth scanning gets disrupted

So, how is it going?


Posted on 23-Feb-2018
Mcguire

Re:Bluetooth scanning gets disrupted

Sorry to late reply

We had checked with person in charge,
and he said it could make this situation because android policy

If specific Application try to do BLE scan, it was developed that android will ignore scanning request from the application

According to your log file you attached, it was successfully get scan result
-18 14:34:43.720 2835 2859 D BtGatt.GattService: [BLE noti] startLeScan(): callingPackage = bluen.homein
01-18 14:34:43.863 2835 2957 D bt_btif_gattc: [BTIF_GATT_OBSERVE_EVT] bd_addr:c2:90:e5:b8:10:e0 (-79)
01-18 14:34:44.069 2835 2957 D bt_btif_gattc: [BTIF_GATT_OBSERVE_EVT] bd_addr:c2:90:e5:b8:10:e0 (-77)
01-18 14:34:44.277 2835 2957 D bt_btif_gattc: [BTIF_GATT_OBSERVE_EVT] bd_addr:c2:90:e5:b8:10:e0 (-76)
01-18 14:34:44.478 2835 2957 D bt_btif_gattc: [BTIF_GATT_OBSERVE_EVT] bd_addr:c2:90:e5:b8:10:e0 (-76)
01-18 14:34:44.686 2835 2957 D bt_btif_gattc: [BTIF_GATT_OBSERVE_EVT] bd_addr:c2:90:e5:b8:10:e0 (-77)
01-18 14:34:44.886 2835 2957 D bt_btif_gattc: [BTIF_GATT_OBSERVE_EVT] bd_addr:c2:90:e5:b8:10:e0 (-78)
01-18 14:34:45.088 2835 2957 D bt_btif_gattc: [BTIF_GATT_OBSERVE_EVT] bd_addr:c2:90:e5:b8:10:e0 (-78)
01-18 14:34:45.299 2835 2957 D bt_btif_gattc: [BTIF_GATT_OBSERVE_EVT] bd_addr:c2:90:e5:b8:10:e0 (-78)
01-18 14:34:45.498 2835 2957 D bt_btif_gattc: [BTIF_GATT_OBSERVE_EVT] bd_addr:c2:90:e5:b8:10:e0 (-77)
01-18 14:34:45.700 2835 2957 D bt_btif_gattc: [BTIF_GATT_OBSERVE_EVT] bd_addr:c2:90:e5:b8:10:e0 (-79)
01-18 14:34:48.601 2835 2957 D bt_btif_gattc: [BTIF_GATT_OBSERVE_EVT] bd_addr:c2:90:e5:b8:10:e0 (-89)

Do not hesitate if you have more question
Thanks


Posted on 27-Feb-2018
devluen

Re:Bluetooth scanning gets disrupted

But it does stop from 14:34:45 ~ 14:34:48
So it is due to android policy?


Posted on 28-Feb-2018
Mcguire

Re:Bluetooth scanning gets disrupted

Dear customer

please change Scan parameter from "SCAN_MODE_BALANCED(Default)" to "SCAN_MODE_LOW_LATENCY"
It will solve your problem stopping scan

with "SCAN_MODE_BALANCED"
: it will actual scan for only 2 seconds out of 5 seconds

with "SCAN_MODE_LOW_LATENCY"
: it will make fully scanning until calling stop sign
but it will make increasing Current consumption

please check android developer page
https://developer.android.com/reference/android/bluetooth/le/ScanSettings.html

Thanks


Posted on 28-Feb-2018
Navigation