Open tran-nam-long opened 2 years ago
I run the ibeacondemo project in Android Studio. The app can get the device list, but cannot connect to device (SOS button). Here is the log: ---------------------------- PROCESS STARTED (6421) for package com.kbeacon.ibeacondemo ---------------------------- 2022-10-25 15:12:45.185 6421-6421 FeatureParser com.kbeacon.ibeacondemo I can't find lancelot.xml in assets/device_features/,it may be in /vendor/etc/device_features 2022-10-25 15:12:45.198 6421-6421 libc com.kbeacon.ibeacondemo E Access denied finding property "ro.vendor.df.effect.conflict" 2022-10-25 15:12:45.193 6421-6421 con.ibeacondemo com.kbeacon.ibeacondemo W type=1400 audit(0.0:2053095): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=16702 scontext=u:r:untrusted_app:s0:c33,c258,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0 2022-10-25 15:12:45.258 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DeviceScanActivity@2a29ff6 2022-10-25 15:12:45.260 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DeviceScanActivity@2a29ff6 2022-10-25 15:12:45.285 6421-6421 con.ibeacondem com.kbeacon.ibeacondemo W Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed) 2022-10-25 15:12:45.287 6421-6421 con.ibeacondem com.kbeacon.ibeacondemo W Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed) 2022-10-25 15:12:45.298 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DeviceScanActivity@2a29ff6 2022-10-25 15:12:45.301 6421-6421 chatty com.kbeacon.ibeacondemo I uid=10545(com.kbeacon.ibeacondemo) identical 2 lines 2022-10-25 15:12:45.303 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DeviceScanActivity@2a29ff6 2022-10-25 15:12:45.324 6421-6421 SurfaceFactory com.kbeacon.ibeacondemo I [static] sSurfaceFactory = com.mediatek.view.impl.SurfaceFactoryImpl@4f0dba9 2022-10-25 15:12:45.335 6421-6421 PowerHalWrapper com.kbeacon.ibeacondemo I PowerHalWrapper.getInstance 2022-10-25 15:12:45.374 6421-6453 GPUD com.kbeacon.ibeacondemo I @gpudInitialize: successfully initialized with GL, dbg=0 mmdump_dbg=0 2022-10-25 15:12:45.385 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::connect(this=0x7e7af1c000,api=1) 2022-10-25 15:12:45.386 6421-6453 mali_winsys com.kbeacon.ibeacondemo D EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , EGLBoolean) returns 0x3000 2022-10-25 15:12:45.386 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::setBufferCount(this=0x7e7af1c000,bufferCount=3) 2022-10-25 15:12:45.387 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::allocateBuffers(this=0x7e7af1c000) 2022-10-25 15:12:45.393 6421-6453 Gralloc3 com.kbeacon.ibeacondemo W mapper 3.x is not supported 2022-10-25 15:12:45.395 6421-6453 gralloc com.kbeacon.ibeacondemo E Arm Module v1.0 2022-10-25 15:12:45.396 6421-6453 ion com.kbeacon.ibeacondemo E ioctl c0044901 failed with code -1: Invalid argument 2022-10-25 15:12:54.412 6421-6421 BluetoothAdapter com.kbeacon.ibeacondemo D isLeEnabled(): ON 2022-10-25 15:12:54.415 6421-6451 BluetoothLeScanner com.kbeacon.ibeacondemo D onScannerRegistered() - status=0 scannerId=12 mScannerId=0 2022-10-25 15:12:54.428 6421-6421 beacon.KBeaconsMgr com.kbeacon.ibeacondemo E ble start scan success fully 2022-10-25 15:12:54.428 6421-6421 Beacon.ScanAct com.kbeacon.ibeacondemo V start scan success 2022-10-25 15:13:26.609 6421-6427 con.ibeacondem com.kbeacon.ibeacondemo I Compiler allocated 5208KB to compile void android.view.ViewRootImpl.performTraversals() 2022-10-25 15:13:27.193 6421-6421 beacon.KBeaconsMgr com.kbeacon.ibeacondemo E current is scan, now stop scanning 2022-10-25 15:13:27.194 6421-6421 BluetoothAdapter com.kbeacon.ibeacondemo D isLeEnabled(): ON 2022-10-25 15:13:32.596 6421-6421 Beacon.ScanAct com.kbeacon.ibeacondemo E click id:0 2022-10-25 15:13:32.598 6421-6421 Timeline com.kbeacon.ibeacondemo I Timeline: Activity_launch_request time:902316406 2022-10-25 15:13:32.630 6421-6421 ActivityThread com.kbeacon.ibeacondemo W handleWindowVisibility: no activity for token android.os.BinderProxy@ca11274 2022-10-25 15:13:32.650 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.652 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.678 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.679 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.684 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.688 6421-6421 chatty com.kbeacon.ibeacondemo I uid=10545(com.kbeacon.ibeacondemo) identical 3 lines 2022-10-25 15:13:32.688 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.691 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.805 6421-6421 chatty com.kbeacon.ibeacondemo I uid=10545(com.kbeacon.ibeacondemo) identical 39 lines 2022-10-25 15:13:32.809 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.829 6421-6421 PowerHalWrapper com.kbeacon.ibeacondemo I PowerHalWrapper.getInstance 2022-10-25 15:13:32.892 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::connect(this=0x7f19866000,api=1) 2022-10-25 15:13:32.893 6421-6453 mali_winsys com.kbeacon.ibeacondemo D EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , EGLBoolean) returns 0x3000 2022-10-25 15:13:32.893 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::setBufferCount(this=0x7f19866000,bufferCount=3) 2022-10-25 15:13:32.894 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::allocateBuffers(this=0x7f19866000) 2022-10-25 15:13:33.337 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::disconnect(this=0x7e7af1c000,api=1) 2022-10-25 15:13:39.728 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D connect() - device: BC:57:29:00:34:B2, auto: false 2022-10-25 15:13:39.728 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D registerApp() 2022-10-25 15:13:39.728 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D registerApp() - UUID=8b910bc8-114e-4f49-87d8-05bcc28d98ca 2022-10-25 15:13:39.729 6421-6421 KBeacon com.kbeacon.ibeacondemo V start connect to device BC:57:29:00:34:B2 2022-10-25 15:13:39.729 6421-6421 DevicePannel com.kbeacon.ibeacondemo V device start connecting 2022-10-25 15:13:39.730 6421-6451 BluetoothGatt com.kbeacon.ibeacondemo D onClientRegistered() - status=0 clientIf=12 2022-10-25 15:13:39.996 6421-6451 BluetoothGatt com.kbeacon.ibeacondemo D onClientConnectionState() - status=0 clientIf=12 device=BC:57:29:00:34:B2 2022-10-25 15:13:39.997 6421-6451 KBeacon com.kbeacon.ibeacondemo E BC:57:29:00:34:B2 onConnectionStateChange success 2022-10-25 15:13:40.097 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D configureMTU() - device: BC:57:29:00:34:B2 mtu: 251 2022-10-25 15:13:40.668 6421-6451 BluetoothGatt com.kbeacon.ibeacondemo D onConnectionUpdated() - Device=BC:57:29:00:34:B2 interval=6 latency=0 timeout=500 status=0 2022-10-25 15:13:40.803 6421-6451 BluetoothGatt com.kbeacon.ibeacondemo D onConfigureMTU() - Device=BC:57:29:00:34:B2 mtu=247 status=0 2022-10-25 15:13:40.804 6421-6451 KBeacon com.kbeacon.ibeacondemo V The max mtu size is:247 2022-10-25 15:13:40.896 6421-6451 BluetoothGatt com.kbeacon.ibeacondemo D onConnectionUpdated() - Device=BC:57:29:00:34:B2 interval=39 latency=0 timeout=500 status=0 2022-10-25 15:13:41.106 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D discoverServices() - device: BC:57:29:00:34:B2 2022-10-25 15:13:41.116 6421-6451 BluetoothGatt com.kbeacon.ibeacondemo D onSearchComplete() = Device=BC:57:29:00:34:B2 Status=0 2022-10-25 15:13:41.418 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D setCharacteristicNotification() - uuid: 0000fea2-0000-1000-8000-00805f9b34fb enable: true 2022-10-25 15:13:41.691 6421-6421 KBAuthHandler com.kbeacon.ibeacondemo E app auth phase1 success:[B@3eb7eba 2022-10-25 15:13:41.827 6421-6421 KBAuthHandler com.kbeacon.ibeacondemo E app auth phase2 success:[B@3eb7eba 2022-10-25 15:13:41.829 6421-6421 KBeacon com.kbeacon.ibeacondemo V tx data seq:0 2022-10-25 15:13:41.974 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D cancelOpen() - device: BC:57:29:00:34:B2 2022-10-25 15:13:41.977 6421-6421 DevicePannel com.kbeacon.ibeacondemo E connection error, now disconnecting 2022-10-25 15:13:41.980 6421-6451 BluetoothGatt com.kbeacon.ibeacondemo D onClientConnectionState() - status=0 clientIf=12 device=BC:57:29:00:34:B2 2022-10-25 15:13:41.980 6421-6451 KBeacon com.kbeacon.ibeacondemo E BC:57:29:00:34:B2 onConnectionStateChange detected other gatt fail:0 2022-10-25 15:13:48.983 6421-6421 KBeacon com.kbeacon.ibeacondemo V clear gatt connection resource 2022-10-25 15:13:48.984 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D close() 2022-10-25 15:13:48.984 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D unregisterApp() - mClientIf=12 2022-10-25 15:13:48.989 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:49.002 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:49.017 6421-6421 DevicePannel com.kbeacon.ibeacondemo E device has disconnected:2 2022-10-25 15:13:49.022 6421-6421 PowerHalWrapper com.kbeacon.ibeacondemo I PowerHalWrapper.getInstance 2022-10-25 15:13:49.038 6421-6421 Toast com.kbeacon.ibeacondemo I Show toast from OpPackageName:com.kbeacon.ibeacondemo, PackageName:com.kbeacon.ibeacondemo 2022-10-25 15:13:49.090 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::connect(this=0x7e7ace9000,api=1) 2022-10-25 15:13:49.091 6421-6453 mali_winsys com.kbeacon.ibeacondemo D EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 2022-10-25 15:13:49.091 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::setBufferCount(this=0x7e7ace9000,bufferCount=3) 2022-10-25 15:13:49.092 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::allocateBuffers(this=0x7e7ace9000) 2022-10-25 15:13:51.026 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::disconnect(this=0x7e7ace9000,api=1) 2022-10-25 15:13:51.032 6421-6421 View com.kbeacon.ibeacondemo D [Warning] assignParent to null: this = android.widget.LinearLayout{e6f2b12 V.E...... ......ID 0,0-855,316}
Note that the Bluetooth, Location are ON, and the test device is Xiaomi (Android 10). The issue also happened on the project eddystonedemo.
Please help me take a look at this issue.
My Skype: long.trannam
Thank you!
I run the ibeacondemo project in Android Studio. The app can get the device list, but cannot connect to device (SOS button). Here is the log: ---------------------------- PROCESS STARTED (6421) for package com.kbeacon.ibeacondemo ---------------------------- 2022-10-25 15:12:45.185 6421-6421 FeatureParser com.kbeacon.ibeacondemo I can't find lancelot.xml in assets/device_features/,it may be in /vendor/etc/device_features 2022-10-25 15:12:45.198 6421-6421 libc com.kbeacon.ibeacondemo E Access denied finding property "ro.vendor.df.effect.conflict" 2022-10-25 15:12:45.193 6421-6421 con.ibeacondemo com.kbeacon.ibeacondemo W type=1400 audit(0.0:2053095): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=16702 scontext=u:r:untrusted_app:s0:c33,c258,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0 2022-10-25 15:12:45.258 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DeviceScanActivity@2a29ff6 2022-10-25 15:12:45.260 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DeviceScanActivity@2a29ff6 2022-10-25 15:12:45.285 6421-6421 con.ibeacondem com.kbeacon.ibeacondemo W Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed) 2022-10-25 15:12:45.287 6421-6421 con.ibeacondem com.kbeacon.ibeacondemo W Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed) 2022-10-25 15:12:45.298 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DeviceScanActivity@2a29ff6 2022-10-25 15:12:45.301 6421-6421 chatty com.kbeacon.ibeacondemo I uid=10545(com.kbeacon.ibeacondemo) identical 2 lines 2022-10-25 15:12:45.303 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DeviceScanActivity@2a29ff6 2022-10-25 15:12:45.324 6421-6421 SurfaceFactory com.kbeacon.ibeacondemo I [static] sSurfaceFactory = com.mediatek.view.impl.SurfaceFactoryImpl@4f0dba9 2022-10-25 15:12:45.335 6421-6421 PowerHalWrapper com.kbeacon.ibeacondemo I PowerHalWrapper.getInstance 2022-10-25 15:12:45.374 6421-6453 GPUD com.kbeacon.ibeacondemo I @gpudInitialize: successfully initialized with GL, dbg=0 mmdump_dbg=0 2022-10-25 15:12:45.385 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::connect(this=0x7e7af1c000,api=1) 2022-10-25 15:12:45.386 6421-6453 mali_winsys com.kbeacon.ibeacondemo D EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , EGLBoolean) returns 0x3000 2022-10-25 15:12:45.386 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::setBufferCount(this=0x7e7af1c000,bufferCount=3) 2022-10-25 15:12:45.387 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::allocateBuffers(this=0x7e7af1c000) 2022-10-25 15:12:45.393 6421-6453 Gralloc3 com.kbeacon.ibeacondemo W mapper 3.x is not supported 2022-10-25 15:12:45.395 6421-6453 gralloc com.kbeacon.ibeacondemo E Arm Module v1.0 2022-10-25 15:12:45.396 6421-6453 ion com.kbeacon.ibeacondemo E ioctl c0044901 failed with code -1: Invalid argument 2022-10-25 15:12:54.412 6421-6421 BluetoothAdapter com.kbeacon.ibeacondemo D isLeEnabled(): ON 2022-10-25 15:12:54.415 6421-6451 BluetoothLeScanner com.kbeacon.ibeacondemo D onScannerRegistered() - status=0 scannerId=12 mScannerId=0 2022-10-25 15:12:54.428 6421-6421 beacon.KBeaconsMgr com.kbeacon.ibeacondemo E ble start scan success fully 2022-10-25 15:12:54.428 6421-6421 Beacon.ScanAct com.kbeacon.ibeacondemo V start scan success 2022-10-25 15:13:26.609 6421-6427 con.ibeacondem com.kbeacon.ibeacondemo I Compiler allocated 5208KB to compile void android.view.ViewRootImpl.performTraversals() 2022-10-25 15:13:27.193 6421-6421 beacon.KBeaconsMgr com.kbeacon.ibeacondemo E current is scan, now stop scanning 2022-10-25 15:13:27.194 6421-6421 BluetoothAdapter com.kbeacon.ibeacondemo D isLeEnabled(): ON 2022-10-25 15:13:32.596 6421-6421 Beacon.ScanAct com.kbeacon.ibeacondemo E click id:0 2022-10-25 15:13:32.598 6421-6421 Timeline com.kbeacon.ibeacondemo I Timeline: Activity_launch_request time:902316406 2022-10-25 15:13:32.630 6421-6421 ActivityThread com.kbeacon.ibeacondemo W handleWindowVisibility: no activity for token android.os.BinderProxy@ca11274 2022-10-25 15:13:32.650 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.652 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.678 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.679 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.684 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.688 6421-6421 chatty com.kbeacon.ibeacondemo I uid=10545(com.kbeacon.ibeacondemo) identical 3 lines 2022-10-25 15:13:32.688 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.691 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.805 6421-6421 chatty com.kbeacon.ibeacondemo I uid=10545(com.kbeacon.ibeacondemo) identical 39 lines 2022-10-25 15:13:32.809 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:32.829 6421-6421 PowerHalWrapper com.kbeacon.ibeacondemo I PowerHalWrapper.getInstance 2022-10-25 15:13:32.892 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::connect(this=0x7f19866000,api=1) 2022-10-25 15:13:32.893 6421-6453 mali_winsys com.kbeacon.ibeacondemo D EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , EGLBoolean) returns 0x3000 2022-10-25 15:13:32.893 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::setBufferCount(this=0x7f19866000,bufferCount=3) 2022-10-25 15:13:32.894 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::allocateBuffers(this=0x7f19866000) 2022-10-25 15:13:33.337 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::disconnect(this=0x7e7af1c000,api=1) 2022-10-25 15:13:39.728 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D connect() - device: BC:57:29:00:34:B2, auto: false 2022-10-25 15:13:39.728 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D registerApp() 2022-10-25 15:13:39.728 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D registerApp() - UUID=8b910bc8-114e-4f49-87d8-05bcc28d98ca 2022-10-25 15:13:39.729 6421-6421 KBeacon com.kbeacon.ibeacondemo V start connect to device BC:57:29:00:34:B2 2022-10-25 15:13:39.729 6421-6421 DevicePannel com.kbeacon.ibeacondemo V device start connecting 2022-10-25 15:13:39.730 6421-6451 BluetoothGatt com.kbeacon.ibeacondemo D onClientRegistered() - status=0 clientIf=12 2022-10-25 15:13:39.996 6421-6451 BluetoothGatt com.kbeacon.ibeacondemo D onClientConnectionState() - status=0 clientIf=12 device=BC:57:29:00:34:B2 2022-10-25 15:13:39.997 6421-6451 KBeacon com.kbeacon.ibeacondemo E BC:57:29:00:34:B2 onConnectionStateChange success 2022-10-25 15:13:40.097 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D configureMTU() - device: BC:57:29:00:34:B2 mtu: 251 2022-10-25 15:13:40.668 6421-6451 BluetoothGatt com.kbeacon.ibeacondemo D onConnectionUpdated() - Device=BC:57:29:00:34:B2 interval=6 latency=0 timeout=500 status=0 2022-10-25 15:13:40.803 6421-6451 BluetoothGatt com.kbeacon.ibeacondemo D onConfigureMTU() - Device=BC:57:29:00:34:B2 mtu=247 status=0 2022-10-25 15:13:40.804 6421-6451 KBeacon com.kbeacon.ibeacondemo V The max mtu size is:247 2022-10-25 15:13:40.896 6421-6451 BluetoothGatt com.kbeacon.ibeacondemo D onConnectionUpdated() - Device=BC:57:29:00:34:B2 interval=39 latency=0 timeout=500 status=0 2022-10-25 15:13:41.106 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D discoverServices() - device: BC:57:29:00:34:B2 2022-10-25 15:13:41.116 6421-6451 BluetoothGatt com.kbeacon.ibeacondemo D onSearchComplete() = Device=BC:57:29:00:34:B2 Status=0 2022-10-25 15:13:41.418 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D setCharacteristicNotification() - uuid: 0000fea2-0000-1000-8000-00805f9b34fb enable: true 2022-10-25 15:13:41.691 6421-6421 KBAuthHandler com.kbeacon.ibeacondemo E app auth phase1 success:[B@3eb7eba 2022-10-25 15:13:41.827 6421-6421 KBAuthHandler com.kbeacon.ibeacondemo E app auth phase2 success:[B@3eb7eba 2022-10-25 15:13:41.829 6421-6421 KBeacon com.kbeacon.ibeacondemo V tx data seq:0 2022-10-25 15:13:41.974 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D cancelOpen() - device: BC:57:29:00:34:B2 2022-10-25 15:13:41.977 6421-6421 DevicePannel com.kbeacon.ibeacondemo E connection error, now disconnecting 2022-10-25 15:13:41.980 6421-6451 BluetoothGatt com.kbeacon.ibeacondemo D onClientConnectionState() - status=0 clientIf=12 device=BC:57:29:00:34:B2 2022-10-25 15:13:41.980 6421-6451 KBeacon com.kbeacon.ibeacondemo E BC:57:29:00:34:B2 onConnectionStateChange detected other gatt fail:0 2022-10-25 15:13:48.983 6421-6421 KBeacon com.kbeacon.ibeacondemo V clear gatt connection resource 2022-10-25 15:13:48.984 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D close() 2022-10-25 15:13:48.984 6421-6421 BluetoothGatt com.kbeacon.ibeacondemo D unregisterApp() - mClientIf=12 2022-10-25 15:13:48.989 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:49.002 6421-6421 ForceDarkHelper com.kbeacon.ibeacondemo D updateByCheckExcludeList: pkg: com.kbeacon.ibeacondemo activity: com.kbeacon.ibeacondemo.DevicePannelActivity@bf6e1e0 2022-10-25 15:13:49.017 6421-6421 DevicePannel com.kbeacon.ibeacondemo E device has disconnected:2 2022-10-25 15:13:49.022 6421-6421 PowerHalWrapper com.kbeacon.ibeacondemo I PowerHalWrapper.getInstance 2022-10-25 15:13:49.038 6421-6421 Toast com.kbeacon.ibeacondemo I Show toast from OpPackageName:com.kbeacon.ibeacondemo, PackageName:com.kbeacon.ibeacondemo 2022-10-25 15:13:49.090 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::connect(this=0x7e7ace9000,api=1) 2022-10-25 15:13:49.091 6421-6453 mali_winsys com.kbeacon.ibeacondemo D EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 2022-10-25 15:13:49.091 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::setBufferCount(this=0x7e7ace9000,bufferCount=3) 2022-10-25 15:13:49.092 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::allocateBuffers(this=0x7e7ace9000) 2022-10-25 15:13:51.026 6421-6453 Surface com.kbeacon.ibeacondemo D Surface::disconnect(this=0x7e7ace9000,api=1) 2022-10-25 15:13:51.032 6421-6421 View com.kbeacon.ibeacondemo D [Warning] assignParent to null: this = android.widget.LinearLayout{e6f2b12 V.E...... ......ID 0,0-855,316}
Note that the Bluetooth, Location are ON, and the test device is Xiaomi (Android 10). The issue also happened on the project eddystonedemo.
Please help me take a look at this issue.
My Skype: long.trannam
Thank you!