General (Read-only)

Getting Unknown error while Bluetooth scan is running at background
devluen
Model : LGM-G600L
Android : 8.0.0

Issue : When running bluetooth scan at background, unknown error occurs.

Log :

12-12 17:02:42.306 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:43.687 3347-3619/? I/chatty: uid=1002(bluetooth) bt_workqueue identical 18 lines
12-12 17:02:43.688 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:43.695 3347-3521/? D/BluetoothRemoteDevices: Property type: 1
12-12 17:02:43.700 3347-3521/? D/BluetoothRemoteDevices: Remote Device name is: [AV] Samsung Soundbar MS550
12-12 17:02:43.706 3347-3521/? D/BluetoothRemoteDevices: Property type: 4
12-12 17:02:43.710 1533-1571/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.bluetooth.device.action.NAME_CHANGED flg=0x4000010 (has extras) } to com.lge.bluetoothsetting/.notification.BluetoothConnectionReceiver
12-12 17:02:43.713 3347-3521/? D/BluetoothRemoteDevices: Remote class is:7936
12-12 17:02:43.718 3347-3521/? D/BluetoothRemoteDevices: Property type: 5
12-12 17:02:43.785 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:45.069 3347-3619/? I/chatty: uid=1002(bluetooth) bt_workqueue identical 16 lines
12-12 17:02:45.070 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:45.110 4019-4138/? I/EventLogSendingHelper: Sending log events.
12-12 17:02:45.137 4019-4124/? I/WorkerManager: dispose()
12-12 17:02:45.140 4019-4124/? W/ThreadPoolDumper: Queue length for executor EventBus is now 11. Perhaps some tasks are too long, or the pool is too small.
12-12 17:02:45.255 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:45.445 3347-3619/? I/chatty: uid=1002(bluetooth) bt_workqueue identical 4 lines
12-12 17:02:45.490 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:45.499 3347-3521/? D/BluetoothRemoteDevices: Property type: 1
12-12 17:02:45.505 3347-3521/? D/BluetoothRemoteDevices: Remote Device name is: BN_fd3239bbf043
12-12 17:02:45.509 3347-3521/? D/BluetoothRemoteDevices: Property type: 4
12-12 17:02:45.515 3347-3521/? D/BluetoothRemoteDevices: Remote class is:7936
12-12 17:02:45.519 3347-3521/? D/BluetoothRemoteDevices: Property type: 5
12-12 17:02:45.538 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:45.543 3347-3975/? V/BluetoothAdapterProperties: getConnectionState() returns 0
12-12 17:02:45.552 3347-3975/? V/BluetoothAdapterProperties: getConnectionState() returns 0
12-12 17:02:45.560 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:45.565 3347-4745/? V/BluetoothAdapterProperties: getConnectionState() returns 0
12-12 17:02:45.568 3347-4745/? V/BluetoothAdapterProperties: getConnectionState() returns 0
12-12 17:02:45.583 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:45.961 3347-3619/? I/chatty: uid=1002(bluetooth) bt_workqueue identical 14 lines
12-12 17:02:45.989 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:45.991 615-814/? D/sensors_hal_Time: time_service_sensor1_cb: msg_type 2
12-12 17:02:45.992 615-814/? D/sensors_hal_Time: time_service_sensor1_cb: Sn 24, msg Id 3, txn Id 0
   rolloverCntIs: Received response
   tsOffsetIs: Apps: 567831708376; DSPS: 18730229; Offset : -3769518430 (diff 15208; elapsed 567834001605 @0)
12-12 17:02:45.995 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:47.103 3347-3619/? I/chatty: uid=1002(bluetooth) bt_workqueue identical 45 lines
12-12 17:02:47.148 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:47.176 13232-13336/bluen.homein D/BluetoothAdapter: isLeEnabled(): ON
12-12 17:02:47.190 13232-13336/bluen.homein E/BLE26: ========== BT stopScan
12-12 17:02:47.196 13232-13336/bluen.homein D/BluetoothAdapter: isLeEnabled(): ON

Error occurs here -------------------------------------------------------------------------------------------

12-12 17:02:47.204 3347-3619/? E/bt_l2cap: l2cu_find_lcb_by_bd_addr : p_bd_addr = d9-5d-cd-62-84-a8
   l2cu_find_lcb_by_bd_addr : transport = 2
12-12 17:02:47.205 3347-3619/? E/bt_l2cap: l2cu_find_lcb_by_bd_addr : xx = 0  p_lcb->in_use = 0  p_lcb->transport = 1
   l2cu_find_lcb_by_bd_addr : xx = 0  p_lcb->remote_bd_addr = fc-45-96-19-ef-3e
   l2cu_find_lcb_by_bd_addr : xx = 1  p_lcb->in_use = 1  p_lcb->transport = 2
   l2cu_find_lcb_by_bd_addr : xx = 1  p_lcb->remote_bd_addr = d9-5d-cd-62-84-a8

---------------------------------------------------------------------------------------------------------------------------------------

12-12 17:02:47.206 13232-13276/bluen.homein D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=6 mScannerId=0
12-12 17:02:47.211 3347-4745/? D/BtGatt.GattService: startScan() : callingPackage=bluen.homein
12-12 17:02:47.218 13232-13336/bluen.homein E/BLE26: ========== BT startScan
12-12 17:02:47.263 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:47.279 3347-3619/? I/chatty: uid=1002(bluetooth) bt_workqueue identical 2 lines
12-12 17:02:47.280 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:47.287 3347-3521/? D/BluetoothRemoteDevices: Property type: 1
12-12 17:02:47.293 3347-3521/? D/BluetoothRemoteDevices: Remote Device name is: BN_fd3239bbf043
12-12 17:02:47.302 3347-3521/? D/BluetoothRemoteDevices: Property type: 4
12-12 17:02:47.305 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:47.308 3347-3521/? D/BluetoothRemoteDevices: Remote class is:7936
12-12 17:02:47.315 3347-3521/? D/BluetoothRemoteDevices: Property type: 5
12-12 17:02:47.327 3347-3359/? V/BluetoothAdapterProperties: getConnectionState() returns 0
12-12 17:02:47.332 3347-4411/? V/BluetoothAdapterProperties: getConnectionState() returns 0
12-12 17:02:47.340 3347-3975/? V/BluetoothAdapterProperties: getConnectionState() returns 0
12-12 17:02:47.344 3347-3975/? V/BluetoothAdapterProperties: getConnectionState() returns 0
12-12 17:02:47.359 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:48.339 3347-3619/? I/chatty: uid=1002(bluetooth) bt_workqueue identical 35 lines
12-12 17:02:48.348 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:48.355 3347-3521/? D/BluetoothRemoteDevices: Property type: 1
12-12 17:02:48.361 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:48.364 3347-3521/? D/BluetoothRemoteDevices: Remote Device name is: [AV] Samsung Soundbar MS550
12-12 17:02:48.367 3347-3521/? D/BluetoothRemoteDevices: Property type: 4
12-12 17:02:48.371 3347-3521/? D/BluetoothRemoteDevices: Remote class is:7936
12-12 17:02:48.374 3347-3521/? D/BluetoothRemoteDevices: Property type: 5
12-12 17:02:48.382 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:48.549 1533-2316/? V/AlarmManager: rescheduleKernelAlarmsLocked NextWakeup:587821 LastWakeupSet:570390
12-12 17:02:48.553 1533-2316/? V/AlarmManager: ELAPSED_WAKEUP delivery Alarm{1ae5916 statsTag *walarm*:*job.delay* type 2 when 570390 android} when 570390
12-12 17:02:48.555 1533-1533/? V/AlarmManager: rescheduleKernelAlarmsLocked NextWakeup:572633 LastWakeupSet:570396
12-12 17:02:48.585 11160-11160/? I/MYPLACE_NetworkMonitor: onStartJob
12-12 17:02:48.586 11160-11160/? E/Pref: get_inner_onoff: false
12-12 17:02:48.586 11160-11160/? I/MYPLACE_EngineInterface: Stop
12-12 17:02:48.586 11160-11160/? I/MY_PLACE_ENGINE_SETTING_API: getOnOffStatus()
12-12 17:02:48.600 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:48.601 2931-2996/? E/MPE_API_PROVIDER: MyPlaceEngineProvider insert
12-12 17:02:48.602 2931-2996/? I/MPE_API_PROVIDER: TYPE_GET_ONOFF_STATUS
12-12 17:02:48.609 11160-11160/? I/MYPLACE_EngineInterface: non Stop
12-12 17:02:48.612 11160-11160/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:951 android.content.ContextWrapper.sendBroadcast:431 com.lge.myplace.EngineInterface.Stop:100 com.lge.myplace.NetworkMonitor.onStartJob:22 android.app.job.JobService$1.onStartJob:71
12-12 17:02:48.618 11160-11160/? E/MYPLACE_Utils: activityFinish
12-12 17:02:48.619 11160-11160/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:951 android.content.ContextWrapper.sendBroadcast:431 com.lge.myplace.Utils.activityFinish:25 com.lge.myplace.NetworkMonitor.onStartJob:23 android.app.job.JobService$1.onStartJob:71
12-12 17:02:48.619 1533-1571/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=com.lge.myplace.myplace_settings_search_intent flg=0x10 (has extras) } to com.lge.myplace/.Receiver
12-12 17:02:48.619 11160-11160/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:951 android.content.ContextWrapper.sendBroadcast:431 com.lge.myplace.Utils.activityFinish:25 com.lge.myplace.NetworkMonitor.onStartJob:23 android.app.job.JobService$1.onStartJob:71
12-12 17:02:48.621 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:49.091 3347-3619/? I/chatty: uid=1002(bluetooth) bt_workqueue identical 18 lines
12-12 17:02:49.142 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:49.144 3347-3357/? I/zygote64: Background concurrent copying GC freed 313034(10MB) AllocSpace objects, 17(336KB) LOS objects, 88% free, 1637KB/13MB, paused 8.570ms total 49.401ms
12-12 17:02:49.194 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:49.534 3347-3619/? I/chatty: uid=1002(bluetooth) bt_workqueue identical 12 lines
12-12 17:02:49.584 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:02:49.602 3129-3152/? I/QcrilOemhookMsgTunnel: [0]processOemHookIndication length=21
12-12 17:02:49.602 3129-3129/? D/QcrilMsgTunnelIfaceManager: handleMessage what = 0
12-12 17:02:49.612 2913-2913/? D/
Posted on 13-Dec-2018
hyejoo.jang

Re:Getting Unknown error while Bluetooth scan is running at background

Hello,

The following is an answer from the developer.
We hope it will help you verify the error.
----------------------
'Unknown Error' is a log of normal operation, not error occurrence although Log Level is expressed as an Error.
Converts the Log of 'l2cu_find_lcb_by_bd_addr' to Error Log Level for Debugging.
That is, it is displayed as an error but it is a normal operation Log.
Please refer to the address below.
http://androidxref.com/8.1.0_r33/xref/system/bt/stack/l2cap/l2c_utils.cc#259
----------------------

If you have any other questions, please do not hesitate to contact us.
Thank you.


Posted on 20-Dec-2018
devluen

Re:Getting Unknown error while Bluetooth scan is running at background

Thanks for the response.

We are not getting any callback from scanning, and this only occurs with LGM-G600L. I attach the code and log for the reference.

Application Code :

   

public static ScanCallback mScanCallback = new ScanCallback() {
       @Override
       public void onScanResult(int callbackType, ScanResult result) {
           String deviceName = result.getDevice().getName();
           int rssi = result.getRssi();
           Log.e(TAG,"========== "+deviceName+", rssi = "+rssi);

           if(deviceName != null && deviceName != "" && deviceName.contains("BN_")) {

               if(mProcessing==true) {
                   Log.e(TAG,"========== Returned");
                   return;
               }
               checkAndConnect(result.getDevice(), rssi);


           }
       }

       @Override
       public void onBatchScanResults(List<ScanResult> results) {
           for (ScanResult result : results) {

           }
       }

       @Override
       public void onScanFailed(int errorCode) {
           Log.e(TAG,"========== Scan Failed ===== " + errorCode);

       }

   };


Log :

12-12 17:02:47.218 13232-13336/bluen.homein E/BLE26: ========== BT startScan
12-12 17:02:48.586 11160-11160/? E/Pref: get_inner_onoff: false
12-12 17:02:48.601 2931-2996/? E/MPE_API_PROVIDER: MyPlaceEngineProvider insert
12-12 17:02:48.618 11160-11160/? E/MYPLACE_Utils: activityFinish
12-12 17:02:55.204 13232-13336/bluen.homein E/BLE26: ========== BT stopScan
12-12 17:02:55.236 3347-3619/? E/bt_l2cap: l2cu_find_lcb_by_bd_addr : p_bd_addr = d9-5d-cd-62-84-a8
   l2cu_find_lcb_by_bd_addr : transport = 2
   l2cu_find_lcb_by_bd_addr : xx = 0  p_lcb->in_use = 0  p_lcb->transport = 1
12-12 17:02:55.237 3347-3619/? E/bt_l2cap: l2cu_find_lcb_by_bd_addr : xx = 0  p_lcb->remote_bd_addr = fc-45-96-19-ef-3e
   l2cu_find_lcb_by_bd_addr : xx = 1  p_lcb->in_use = 1  p_lcb->transport = 2
   l2cu_find_lcb_by_bd_addr : xx = 1  p_lcb->remote_bd_addr = d9-5d-cd-62-84-a8
12-12 17:02:55.265 13232-13336/bluen.homein E/BLE26: ========== BT startScan







12-12 17:07:52.793 3347-3619/? E/bt_l2cap: l2cu_find_lcb_by_bd_addr : p_bd_addr = d9-5d-cd-62-84-a8
   l2cu_find_lcb_by_bd_addr : transport = 2
   l2cu_find_lcb_by_bd_addr : xx = 0  p_lcb->in_use = 0  p_lcb->transport = 1
   l2cu_find_lcb_by_bd_addr : xx = 0  p_lcb->remote_bd_addr = fc-45-96-19-ef-3e
   l2cu_find_lcb_by_bd_addr : xx = 1  p_lcb->in_use = 1  p_lcb->transport = 2
   l2cu_find_lcb_by_bd_addr : xx = 1  p_lcb->remote_bd_addr = d9-5d-cd-62-84-a8




12-12 17:08:00.172 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:08:00.173 4952-4952/? D/Weather_Utils: joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
12-12 17:08:00.173 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:08:00.173 4952-4952/? D/Weather_Utils: joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
12-12 17:08:00.173 4952-4952/? D/Weather_WidgetLarge: narrowMode = 0
   scaleFactor = 1.0
12-12 17:08:00.174 4952-4952/? D/Weather_Utils: appliedThemePackageName ? com.lge.default.theme
12-12 17:08:00.175 4952-4952/? D/Weather_Utils: joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
   joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
12-12 17:08:00.175 4952-4952/? D/Weather_WidgetLarge: narrowMode = 0
   scaleFactor = 1.0
12-12 17:08:00.176 4952-4952/? D/Weather_CodeData: Special report count:0
   Special report first:50
   Special report second:50
12-12 17:08:00.176 4952-4952/? D/Weather_Utils: joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
   joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
12-12 17:08:00.177 4952-4952/? D/Weather_WidgetLarge: narrowMode = 0
   scaleFactor = 1.0
12-12 17:08:00.178 4952-4952/? D/Weather_WidgetMediumWidget: narrowMode = 0
   scaleFactor = 1.0
12-12 17:08:00.182 4952-4952/? D/Weather_CodeData: Special report count:0
   Special report first:50
   Special report second:50
12-12 17:08:00.182 4952-4952/? I/Weather_WidgetLarge: widget view is on creating of LargeWidget : 32
12-12 17:08:00.187 4952-4952/? I/Weather_WidgetAncestor: buildUpdate, appWidgetId: 32
12-12 17:08:00.192 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:08:00.193 4952-4952/? D/Weather_DataCache: changedTime in DB = 1544601040386, in Cache : 1544601040386
12-12 17:08:00.194 4952-4952/? I/Weather_DataCache: return 0 / 1
12-12 17:08:00.194 4952-4952/? I/Weather_WidgetCreator: appWidgetId = 15, cityIndex = 0
12-12 17:08:00.194 4952-4952/? D/Weather_Utils: applied_additional_theme : false
12-12 17:08:00.195 4952-4952/? D/Weather_Utils: joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
   applied_additional_theme : false
12-12 17:08:00.196 4952-4952/? D/Weather_WidgetMediumWidget: narrowMode =  0
12-12 17:08:00.196 4952-4952/? D/Weather_Utils: applied_additional_theme : false
12-12 17:08:00.196 4952-4952/? D/Weather_WidgetCreator: use_homescreen_widget_adaptive_color : true
   isUsingAdaptiveTextColor = true
   prepareThemeColor, mIsDynamicTheme = false, mWidgetBasicColor = -328966, mWidgetSubColor = -328966,applyAdaptiveTextColor = false
12-12 17:08:00.196 4952-4952/? I/Weather_WidgetCreator: setNormalView mIsDynamicTheme = false
12-12 17:08:00.198 4952-4952/? D/Weather_WidgetCreator: setMinute : 08
12-12 17:08:00.199 4952-4952/? D/Weather_WidgetRscSelector_Large: isSignature : false   isBalck : false
12-12 17:08:00.201 3848-3848/? D/LgeAppWidgetHostView: It's weather widget, invalidate view
12-12 17:08:00.202 4952-4952/? D/Weather_Utils: joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
12-12 17:08:00.202 4952-4952/? I/chatty: uid=10211(u0_a211) com.lge.sizechangable.weather identical 12 lines
12-12 17:08:00.202 4952-4952/? D/Weather_Utils: joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
12-12 17:08:00.203 4952-4952/? D/Weather_Utils: appliedThemePackageName ? com.lge.default.theme
12-12 17:08:00.203 4952-4952/? D/Weather_CityData: sunRise : 07:32 , sunSet : 17:15
12-12 17:08:00.205 4952-4952/? D/Weather_Utils: appliedThemePackageName ? com.lge.default.theme
12-12 17:08:00.206 4952-4952/? D/Weather_Utils: joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
   joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
12-12 17:08:00.206 4952-4952/? D/Weather_WidgetLarge: narrowMode = 0
   scaleFactor = 1.0
12-12 17:08:00.206 4952-4952/? D/Weather_Utils: appliedThemePackageName ? com.lge.default.theme
   joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
12-12 17:08:00.207 4952-4952/? D/Weather_Utils: joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
12-12 17:08:00.207 4952-4952/? D/Weather_WidgetLarge: narrowMode = 0
   scaleFactor = 1.0
12-12 17:08:00.207 4952-4952/? D/Weather_Utils: appliedThemePackageName ? com.lge.default.theme
   joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
   joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
12-12 17:08:00.207 4952-4952/? D/Weather_WidgetLarge: narrowMode = 0
   scaleFactor = 1.0
12-12 17:08:00.207 4952-4952/? D/Weather_CodeData: Special report count:0
   Special report first:50
   Special report second:50
12-12 17:08:00.207 4952-4952/? D/Weather_Utils: joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
12-12 17:08:00.208 4952-4952/? D/Weather_Utils: joan ? falseBuild.DEVICE ? lucye, ro.lge.hydra ? Plus
12-12 17:08:00.208 4952-4952/? D/Weather_WidgetLarge: narrowMode = 0
   scaleFactor = 1.0
12-12 17:08:00.208 4952-4952/? D/Weather_WidgetMediumWidget: narrowMode = 0
   scaleFactor = 1.0
12-12 17:08:00.210 4952-4952/? D/Weather_CodeData: Special report count:0
   Special report first:50
   Special report second:50
12-12 17:08:00.210 4952-4952/? I/Weather_WidgetLarge: widget view is on creating of LargeWidget : 15
12-12 17:08:00.212 4952-4952/? I/Weather_WidgetAncestor: buildUpdate, appWidgetId: 15
12-12 17:08:00.244 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:08:00.298 3347-3619/? I/chatty: uid=1002(bluetooth) bt_workqueue identical 1 line
12-12 17:08:00.321 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:08:00.343 2439-2688/? I/MobileSignalController(1): Change in state to: connected=true,enabled=true,level=5,inetCondition=1,iconGroup=IconGroup(Default),activityIn=false,activityOut=true,rssi=0,,dataSim=true,networkName=LG U+,networkNameData=LG U+,dataConnected=true,roaming=false,isDefault=true,isEmergency=false,airplaneMode=false,carrierNetworkChangeMode=false,userSetup=true,roaming=false,activity=2,signalZero=false,isSimIcon=false,dataNetType=13,networkIcon=LTE,showRoaming=false,showSearching=false,selectedSim=false,voiceRatType=0,dataRatType=0,cbInfo=null,callState=0,isCat6=false,isDataEnabled=true,internetConnectStatus=1
12-12 17:08:00.355 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:08:00.553 3347-3619/? I/chatty: uid=1002(bluetooth) bt_workqueue identical 7 lines
12-12 17:08:00.580 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:08:00.583 615-942/? D/sensors_hal_Ctx: poll:polldata:1, sensor:2, type:5, x:4.000000 y:0.000000 z:0.000000
12-12 17:08:00.584 615-942/? D/sensors_hal_Util: waitForResponse: timeout=0
12-12 17:08:00.601 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:08:00.654 3347-3619/? I/chatty: uid=1002(bluetooth) bt_workqueue identical 2 lines
12-12 17:08:00.681 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:08:00.777 14020-14095/bluen.homein D/BluetoothAdapter: isLeEnabled(): ON
12-12 17:08:00.795 14020-14095/bluen.homein E/BLE26: ========== BT stopScan
12-12 17:08:00.804 14020-14095/bluen.homein D/BluetoothAdapter: isLeEnabled(): ON
12-12 17:08:00.817 3347-3619/? E/bt_l2cap: l2cu_find_lcb_by_bd_addr : p_bd_addr = d9-5d-cd-62-84-a8
   l2cu_find_lcb_by_bd_addr : transport = 2
12-12 17:08:00.818 3347-3619/? E/bt_l2cap: l2cu_find_lcb_by_bd_addr : xx = 0  p_lcb->in_use = 0  p_lcb->transport = 1
   l2cu_find_lcb_by_bd_addr : xx = 0  p_lcb->remote_bd_addr = fc-45-96-19-ef-3e
   l2cu_find_lcb_by_bd_addr : xx = 1  p_lcb->in_use = 1  p_lcb->transport = 2
   l2cu_find_lcb_by_bd_addr : xx = 1  p_lcb->remote_bd_addr = d9-5d-cd-62-84-a8
12-12 17:08:00.818 14020-14036/bluen.homein D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=6 mScannerId=0
12-12 17:08:00.823 3347-4411/? D/BtGatt.GattService: startScan() : callingPackage=bluen.homein
12-12 17:08:00.832 14020-14095/bluen.homein E/BLE26: ========== BT startScan
12-12 17:08:00.911 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:08:00.912 3347-3619/? I/chatty: uid=1002(bluetooth) bt_workqueue identical 1 line
12-12 17:08:00.920 3347-3619/? W/bt_btm: btm_ble_process_adv_pkt_cont: waiting for scan response
12-12 17:08:00.928 3347-3521/? D/BluetoothRemoteDevices: Property type: 1
12-12 17:08:00.935 3347-3521/? D/BluetoothRemoteDevices: Remote Device name is: BN_fd3239bbf043
12-12



Scan Interval is 10 seconds, and scans are filtered with UUID "0000FFD0-0000-1000-8000-00805F9B34FB"

Any reason why no callback occurs?


Posted on 21-Dec-2018
hyejoo.jang

Re:Getting Unknown error while Bluetooth scan is running at background

Dear Customer,

Hello,
The following is an answer from the developer.
Please refer to below.
----------------------
It is difficult by the information you shared to determine whether the 'scan filter' problem or the 'device is not detected'.
Please share the version of SW and the BT Shoop log.

The log that you delivered is difficult to analyze on our side.
so, we require the BT Snoop Log for the analyze correct operation.
Please refer to the 'How to extract logs' as below and then share it to us after extracting the logs.

<How to extract logs>
Settings -> General -> About Phone -> Software info -> Touch Build number until active the developer menu -> Touch back key twice -> Developer options(in General setting menu) -> Enable Bluetooth Hci snoop log -> reboot -> Test -> Extract Log through 'adb bugreport'
----------------------
If you have any other questions, please do not hesitate to contact us.
Thank you.


Posted on 24-Dec-2018
Navigation