EspressifApp / EspMeshForAndroid

ESP-MESH can be thought of as an extension of the Wi-Fi protocol. It combines the advantages of both Wi-Fi and Bluetooth technologies to provide innovative solutions that make you re-think how wireless networks can be built using the same networking equipment. ESP-MESH is developed and maintained by Espressif Corp.
Other
62 stars 19 forks source link

common.js中的1267行函数startWifi:function(self)中,蓝牙配网,匹配成功以后,无法将wifi和密码传递 #4

Closed xpdrycry closed 4 years ago

xpdrycry commented 4 years ago

common.js中的1267行函数startWifi:function(self)中,蓝牙配网,匹配成功以后,无法将wifi和密码传递,在函数中,无法配网。有问题。

XuXiangJun commented 4 years ago

APP 是连上设备了然后没有反应了? 有截图或者 LOG 吗?

xpdrycry commented 4 years ago

1009549883 1293663203

xpdrycry commented 4 years ago

D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=6 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified I/chromium: [INFO:CONSOLE(635)] "a4cf1243c598", source: file:///android_asset/web/js/utils.js (635) D/BluetoothAdapter: isLeEnabled(): ON D/[MainBleNotifyThread]: MainBleNotifyThread wait() I/chromium: [INFO:CONSOLE(1273)] "dfdfdfdfdfd", source: file:///android_asset/web/js/common.js (1273) I/chromium: [INFO:CONSOLE(41)] "{"connected":true,"encode":true,"ssid":"CMCC-yUAE","bssid":"84:a9:c4:bc:8c:08","frequency":"2457"}", source: file:///android_asset/web/app/js/conDevice.js (41) D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=6 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified D/BluetoothAdapter: isLeEnabled(): ON I/chromium: [INFO:CONSOLE(1357)] "["a4cf1243c598"]", source: file:///android_asset/web/js/common.js (1357) D/BluetoothGatt: connect() - device: A4:CF:12:43:C5:9A, auto: false registerApp() D/BluetoothGatt: registerApp() - UUID=a4fc334d-9b24-4133-a0fe-d0426cfa2fb0 D/EspActionDeviceConfigure2: Start doActionConfigureBlufi2 D/BluetoothGatt: onClientRegistered() - status=0 clientIf=6 D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=6 device=A4:CF:12:43:C5:9A D/[EspActionDeviceConfigure]: onConnectionStateChange status=0, newState=2, address=A4:CF:12:43:C5:9A D/BluetoothGatt: discoverServices() - device: A4:CF:12:43:C5:9A D/BluetoothGatt: onConnectionUpdated() - Device=A4:CF:12:43:C5:9A interval=6 latency=0 timeout=500 status=0 D/BluetoothGatt: onSearchComplete() = Device=A4:CF:12:43:C5:9A Status=0 D/[EspActionDeviceConfigure]: onServicesDiscovered status=0 D/BluetoothGatt: setCharacteristicNotification() - uuid: 0000ff02-0000-1000-8000-00805f9b34fb enable: true D/BluetoothGatt: requestConnectionPriority() - params: 1 D/[EspActionDeviceConfigure]: Set BlufiClient complete D/BluetoothGatt: configureMTU() - device: A4:CF:12:43:C5:9A mtu: 128 D/BluetoothGatt: onConfigureMTU() - Device=A4:CF:12:43:C5:9A mtu=128 status=0 D/[EspActionDeviceConfigure]: onMtuChanged status=0, mtu=128 D/[EspActionDeviceConfigure]: onCharacteristicWrite status=0 D/[EspActionDeviceConfigure]: onCharacteristicChanged D/[EspActionDeviceConfigure]: onCharacteristicChanged D/BluetoothGatt: onConnectionUpdated() - Device=A4:CF:12:43:C5:9A interval=39 latency=0 timeout=500 status=0 D/[EspActionDeviceConfigure]: onCharacteristicChanged D/BlufiClientImpl: Get RSA device public key length 272 D/[MainBleNotifyThread]: MainBleNotifyThread wait() D/[EspActionDeviceConfigure]: onCharacteristicWrite status=133 D/BluetoothGatt: cancelOpen() - device: A4:CF:12:43:C5:9A D/BluetoothGatt: onClientConnectionState() - status=8 clientIf=6 device=A4:CF:12:43:C5:9A D/[EspActionDeviceConfigure]: onConnectionStateChange status=8, newState=0, address=A4:CF:12:43:C5:9A D/BluetoothGatt: close() unregisterApp() - mClientIf=6 D/[EspActionDeviceConfigure]: onGattClose D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=6 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified D/BluetoothAdapter: isLeEnabled(): ON

xpdrycry commented 4 years ago

发生情况的图片和Log,都发给你了。主要问题就是在配网过程中,无法把ssid和pwd给发送过去.

xpdrycry commented 4 years ago

D/[MainBleNotifyThread]: MainBleNotifyThread wait() I/chromium: [INFO:CONSOLE(1273)] "dfdfdfdfdfd", source: file:///android_asset/web/js/common.js (1273) I/chromium: [INFO:CONSOLE(41)] "{"connected":true,"encode":true,"ssid":"CMCC-yUAE","bssid":"84:a9:c4:bc:8c:08","frequency":"2457"}", source: file:///android_asset/web/app/js/conDevice.js (41) D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=6 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified D/BluetoothAdapter: isLeEnabled(): ON I/chromium: [INFO:CONSOLE(1357)] "["a4cf1243c598"]", source: file:///android_asset/web/js/common.js (1357) D/BluetoothGatt: connect() - device: A4:CF:12:43:C5:9A, auto: false registerApp() D/BluetoothGatt: registerApp() - UUID=1f031686-d540-473c-a2ec-2133370ae620 D/EspActionDeviceConfigure2: Start doActionConfigureBlufi2 D/BluetoothGatt: onClientRegistered() - status=0 clientIf=6 D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=6 device=A4:CF:12:43:C5:9A D/[EspActionDeviceConfigure]: onConnectionStateChange status=0, newState=2, address=A4:CF:12:43:C5:9A D/BluetoothGatt: discoverServices() - device: A4:CF:12:43:C5:9A D/BluetoothGatt: onConnectionUpdated() - Device=A4:CF:12:43:C5:9A interval=6 latency=0 timeout=500 status=0 D/BluetoothGatt: onSearchComplete() = Device=A4:CF:12:43:C5:9A Status=0 D/[EspActionDeviceConfigure]: onServicesDiscovered status=0 D/BluetoothGatt: setCharacteristicNotification() - uuid: 0000ff02-0000-1000-8000-00805f9b34fb enable: true D/[MainBleNotifyThread]: MainBleNotifyThread wait() D/BluetoothGatt: requestConnectionPriority() - params: 1 D/[EspActionDeviceConfigure]: Set BlufiClient complete D/BluetoothGatt: configureMTU() - device: A4:CF:12:43:C5:9A mtu: 128 D/BluetoothGatt: onConfigureMTU() - Device=A4:CF:12:43:C5:9A mtu=128 status=0 D/[EspActionDeviceConfigure]: onMtuChanged status=0, mtu=128 D/[EspActionDeviceConfigure]: onCharacteristicWrite status=0 D/[EspActionDeviceConfigure]: onCharacteristicChanged D/[EspActionDeviceConfigure]: onCharacteristicChanged D/BluetoothGatt: onConnectionUpdated() - Device=A4:CF:12:43:C5:9A interval=39 latency=0 timeout=500 status=0 D/[EspActionDeviceConfigure]: onCharacteristicChanged D/BlufiClientImpl: Get RSA device public key length 272 D/[EspActionDeviceConfigure]: onCharacteristicWrite status=133 D/BluetoothGatt: cancelOpen() - device: A4:CF:12:43:C5:9A D/BluetoothGatt: onClientConnectionState() - status=8 clientIf=6 device=A4:CF:12:43:C5:9A D/[EspActionDeviceConfigure]: onConnectionStateChange status=8, newState=0, address=A4:CF:12:43:C5:9A D/BluetoothGatt: close() D/BluetoothGatt: unregisterApp() - mClientIf=6 D/[EspActionDeviceConfigure]: onGattClose D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=6 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified D/BluetoothAdapter: isLeEnabled(): ON I/chromium: [INFO:CONSOLE(1357)] "["a4cf1243c598"]", source: file:///android_asset/web/js/common.js (1357) D/BluetoothGatt: close() unregisterApp() - mClientIf=0 close() unregisterApp() - mClientIf=0 D/BluetoothGatt: connect() - device: A4:CF:12:43:C5:9A, auto: false registerApp() registerApp() - UUID=23c2048f-348e-41e7-bc4a-eec5fdb9c5fc D/EspActionDeviceConfigure2: Start doActionConfigureBlufi2 D/BluetoothGatt: onClientRegistered() - status=0 clientIf=6 D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=6 device=A4:CF:12:43:C5:9A D/[EspActionDeviceConfigure]: onConnectionStateChange status=0, newState=2, address=A4:CF:12:43:C5:9A D/BluetoothGatt: discoverServices() - device: A4:CF:12:43:C5:9A D/BluetoothGatt: onConnectionUpdated() - Device=A4:CF:12:43:C5:9A interval=6 latency=0 timeout=500 status=0 D/BluetoothGatt: onSearchComplete() = Device=A4:CF:12:43:C5:9A Status=0 D/[EspActionDeviceConfigure]: onServicesDiscovered status=0 D/BluetoothGatt: setCharacteristicNotification() - uuid: 0000ff02-0000-1000-8000-00805f9b34fb enable: true D/BluetoothGatt: requestConnectionPriority() - params: 1 D/[EspActionDeviceConfigure]: Set BlufiClient complete D/BluetoothGatt: configureMTU() - device: A4:CF:12:43:C5:9A mtu: 128 D/BluetoothGatt: onConfigureMTU() - Device=A4:CF:12:43:C5:9A mtu=128 status=0 D/[EspActionDeviceConfigure]: onMtuChanged status=0, mtu=128 D/[MainBleNotifyThread]: MainBleNotifyThread wait() D/[EspActionDeviceConfigure]: onCharacteristicWrite status=0 D/[EspActionDeviceConfigure]: onCharacteristicChanged D/[EspActionDeviceConfigure]: onCharacteristicChanged D/BluetoothGatt: onConnectionUpdated() - Device=A4:CF:12:43:C5:9A interval=39 latency=0 timeout=500 status=0 D/[EspActionDeviceConfigure]: onCharacteristicChanged D/BlufiClientImpl: Get RSA device public key length 272 D/[EspActionDeviceConfigure]: onCharacteristicWrite status=133 D/BluetoothGatt: cancelOpen() - device: A4:CF:12:43:C5:9A D/BluetoothGatt: onClientConnectionState() - status=8 clientIf=6 device=A4:CF:12:43:C5:9A D/[EspActionDeviceConfigure]: onConnectionStateChange status=8, newState=0, address=A4:CF:12:43:C5:9A D/BluetoothGatt: close() unregisterApp() - mClientIf=6 D/[EspActionDeviceConfigure]: onGattClose D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=6 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified D/BluetoothAdapter: isLeEnabled(): ON I/chromium: [INFO:CONSOLE(1357)] "["a4cf1243c598"]", source: file:///android_asset/web/js/common.js (1357) D/BluetoothGatt: close() unregisterApp() - mClientIf=0 D/BluetoothGatt: close() D/BluetoothGatt: unregisterApp() - mClientIf=0 D/BluetoothGatt: connect() - device: A4:CF:12:43:C5:9A, auto: false D/BluetoothGatt: registerApp() registerApp() - UUID=2ae8c330-4d3d-4d25-a6f4-fd31469f30a5 D/EspActionDeviceConfigure2: Start doActionConfigureBlufi2 D/BluetoothGatt: onClientRegistered() - status=0 clientIf=6 D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=6 device=A4:CF:12:43:C5:9A D/[EspActionDeviceConfigure]: onConnectionStateChange status=0, newState=2, address=A4:CF:12:43:C5:9A D/BluetoothGatt: discoverServices() - device: A4:CF:12:43:C5:9A D/BluetoothGatt: onConnectionUpdated() - Device=A4:CF:12:43:C5:9A interval=6 latency=0 timeout=500 status=0 D/BluetoothGatt: onSearchComplete() = Device=A4:CF:12:43:C5:9A Status=0 D/[MainBleNotifyThread]: MainBleNotifyThread wait() D/[EspActionDeviceConfigure]: onServicesDiscovered status=0 D/BluetoothGatt: setCharacteristicNotification() - uuid: 0000ff02-0000-1000-8000-00805f9b34fb enable: true D/BluetoothGatt: requestConnectionPriority() - params: 1 D/[EspActionDeviceConfigure]: Set BlufiClient complete D/BluetoothGatt: configureMTU() - device: A4:CF:12:43:C5:9A mtu: 128 D/BluetoothGatt: onConfigureMTU() - Device=A4:CF:12:43:C5:9A mtu=128 status=0 D/[EspActionDeviceConfigure]: onMtuChanged status=0, mtu=128 D/BluetoothGatt: onConnectionUpdated() - Device=A4:CF:12:43:C5:9A interval=39 latency=0 timeout=500 status=0 D/[EspActionDeviceConfigure]: onCharacteristicWrite status=0 D/[EspActionDeviceConfigure]: onCharacteristicChanged I/chatty: uid=10320(h5.espressif.esp32) Binder:21432_4 identical 1 line D/[EspActionDeviceConfigure]: onCharacteristicChanged D/BlufiClientImpl: Get RSA device public key length 272 D/[EspActionDeviceConfigure]: onCharacteristicWrite status=133 D/BluetoothGatt: cancelOpen() - device: A4:CF:12:43:C5:9A D/BluetoothGatt: onClientConnectionState() - status=8 clientIf=6 device=A4:CF:12:43:C5:9A D/[EspActionDeviceConfigure]: onConnectionStateChange status=8, newState=0, address=A4:CF:12:43:C5:9A D/BluetoothGatt: close() unregisterApp() - mClientIf=6 D/[EspActionDeviceConfigure]: onGattClose D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=6 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified D/BluetoothAdapter: isLeEnabled(): ON I/chromium: [INFO:CONSOLE(1357)] "["a4cf1243c598"]", source: file:///android_asset/web/js/common.js (1357) D/BluetoothGatt: close() D/BluetoothGatt: unregisterApp() - mClientIf=0 D/BluetoothGatt: close() unregisterApp() - mClientIf=0 D/BluetoothGatt: connect() - device: A4:CF:12:43:C5:9A, auto: false registerApp() D/BluetoothGatt: registerApp() - UUID=9084a146-f22b-4f67-9d14-122c52069dba D/EspActionDeviceConfigure2: Start doActionConfigureBlufi2 D/BluetoothGatt: onClientRegistered() - status=0 clientIf=6 D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=6 device=A4:CF:12:43:C5:9A D/[EspActionDeviceConfigure]: onConnectionStateChange status=0, newState=2, address=A4:CF:12:43:C5:9A D/BluetoothGatt: discoverServices() - device: A4:CF:12:43:C5:9A D/BluetoothGatt: onConnectionUpdated() - Device=A4:CF:12:43:C5:9A interval=6 latency=0 timeout=500 status=0 D/BluetoothGatt: onSearchComplete() = Device=A4:CF:12:43:C5:9A Status=0 D/[EspActionDeviceConfigure]: onServicesDiscovered status=0 D/BluetoothGatt: setCharacteristicNotification() - uuid: 0000ff02-0000-1000-8000-00805f9b34fb enable: true D/BluetoothGatt: requestConnectionPriority() - params: 1 D/[EspActionDeviceConfigure]: Set BlufiClient complete D/BluetoothGatt: configureMTU() - device: A4:CF:12:43:C5:9A mtu: 128 D/BluetoothGatt: onConfigureMTU() - Device=A4:CF:12:43:C5:9A mtu=128 status=0 D/[EspActionDeviceConfigure]: onMtuChanged status=0, mtu=128 D/BluetoothGatt: onConnectionUpdated() - Device=A4:CF:12:43:C5:9A interval=39 latency=0 timeout=500 status=0 D/[EspActionDeviceConfigure]: onCharacteristicWrite status=0 D/[EspActionDeviceConfigure]: onCharacteristicChanged D/[MainBleNotifyThread]: MainBleNotifyThread wait() D/[EspActionDeviceConfigure]: onCharacteristicChanged D/[EspActionDeviceConfigure]: onCharacteristicChanged D/BlufiClientImpl: Get RSA device public key length 272 D/[EspActionDeviceConfigure]: onCharacteristicWrite status=133 D/BluetoothGatt: cancelOpen() - device: A4:CF:12:43:C5:9A D/BluetoothGatt: onClientConnectionState() - status=8 clientIf=6 device=A4:CF:12:43:C5:9A D/[EspActionDeviceConfigure]: onConnectionStateChange status=8, newState=0, address=A4:CF:12:43:C5:9A D/BluetoothGatt: close() D/BluetoothGatt: unregisterApp() - mClientIf=6 D/[EspActionDeviceConfigure]: onGattClose D/BluetoothGatt: close() D/BluetoothGatt: unregisterApp() - mClientIf=0 D/BluetoothGatt: close() unregisterApp() - mClientIf=0

XuXiangJun commented 4 years ago

看 Log 是因为 Gatt Write 失败了 请问一下你们使用的手机型号和系统版本?

xpdrycry commented 4 years ago

系统版本为ESPMESH 版本3.2,测试手机型号为三星和小米两款手机。

XuXiangJun commented 4 years ago

具体的手机型号的系统呢? 两款手机是相同的情况吗?

xpdrycry commented 4 years ago

一个是android版本9,另外一个没有看。两款手机的情况是一样的。 应该是,你们的程序有问题的。

xpdrycry commented 4 years ago

会不会是mdf版本和你们现在的版本加密的那个地方有问题?导致app跟下载到硬件里面的不配套导致的?

XuXiangJun commented 4 years ago

尝试一下修改 MTU 值试试 在接口 IEspActionDeviceBlufi 内 int DEFAULT_MTU_LENGTH = 128; 改成 20 试试

xpdrycry commented 4 years ago

试过的,不行的 D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=39 latency=0 timeout=500 status=0 D/[MainBleNotifyThread]: MainBleNotifyThread wait() D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=12 latency=0 timeout=2000 status=0 D/BluetoothGatt: onClientConnectionState() - status=19 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=19, newState=0, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: close() D/BluetoothGatt: unregisterApp() - mClientIf=5 I/chromium: [INFO:CONSOLE(1373)] "9003", source: file:///android_asset/web/js/common.js (1373) D/[EspActionDeviceConfigure]: onGattClose I/chromium: [INFO:CONSOLE(1402)] "where is wrong is lock _cjx", source: file:///android_asset/web/js/common.js (1402) I/chromium: [INFO:CONSOLE(1403)] "9003", source: file:///android_asset/web/js/common.js (1403) D/BluetoothGatt: close() unregisterApp() - mClientIf=0 D/BluetoothGatt: close() unregisterApp() - mClientIf=0

xpdrycry commented 4 years ago

整个的信息如下: // int DEFAULT_MTU_LENGTH = 128; 修改为: int DEFAULT_MTU_LENGTH = 20; 出现的信息如下: 05/09 14:25:45: Launching 'app' on Xiaomi Redmi 6. $ adb shell am start -n "h5.espressif.esp32/h5.espressif.esp32.module.main.EspWebActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Waiting for process to come online... Connected to process 18472 on device 'xiaomi-redmi_6-6c1e97287d26'. Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/espressif.esp3: Late-enabling -Xcheck:jni E/libc: Access denied finding property "persist.vendor.sys.activitylog" I/MultiDex: VM with version 2.1.0 has multidex support Installing application VM has multidex support, MultiDex support library is disabled. D/MeshApp: first is run here I/chatty: uid=10326(h5.espressif.esp32) identical 1 line D/MeshApp: first is run here W/MeshApp: Init Aliyun failed W/espressif.esp3: Accessing hidden method Landroid/graphics/drawable/Drawable;->getOpticalInsets()Landroid/graphics/Insets; (light greylist, linking) Accessing hidden field Landroid/graphics/Insets;->left:I (light greylist, linking) Accessing hidden field Landroid/graphics/Insets;->right:I (light greylist, linking) Accessing hidden field Landroid/graphics/Insets;->top:I (light greylist, linking) Accessing hidden field Landroid/graphics/Insets;->bottom:I (light greylist, linking) I/espressif.esp3: The ClassLoaderContext is a special shared library. W/Binder:intercep: type=1400 audit(0.0:13259367): avc: denied { getattr } for path="/data/data/com.miui.contentcatcher" dev="dm-2" ino=3270568 scontext=u:r:untrusted_app:s0:c70,c257,c512,c768 tcontext=u:object_r:system_app_data_file:s0 tclass=dir permissive=0 D/ViewContentFactory: initViewContentFetcherClass getInterceptorPackageInfo W/espressif.esp3: Accessing hidden method Landroid/app/AppGlobals;->getInitialApplication()Landroid/app/Application; (light greylist, linking) D/ViewContentFactory: getInitialApplication took 2ms packageInfo.packageName: com.miui.catcherpatch D/ViewContentFactory: initViewContentFetcherClass took 19ms I/ContentCatcher: ViewContentFetcher : ViewContentFetcher D/ViewContentFactory: createInterceptor took 19ms W/espressif.esp3: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection) W/espressif.esp3: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection) I/WebViewFactory: Loading com.google.android.webview version 74.0.3729.136 (code 372913600) I/cr_LibraryLoader: Time to load native libraries: 4 ms (timestamps 1344-1348) W/chromium: [0509/222557.518214:WARNING:library_prefetcher.cc(328)] Code not ordered, madvise optimization skipped I/chromium: [INFO:library_loader_hooks.cc(50)] Chromium logging enabled: level = 0, default verbosity = 0 I/cr_LibraryLoader: Expected native library version number "74.0.3729.136", actual native library version number "74.0.3729.136" W/cr_ChildProcLH: Create a new ChildConnectionAllocator with package name = com.google.android.webview, sandboxed = true W/espressif.esp3: Accessing hidden method Landroid/content/Context;->bindServiceAsUser(Landroid/content/Intent;Landroid/content/ServiceConnection;ILandroid/os/Handler;Landroid/os/UserHandle;)Z (light greylist, reflection) I/cr_BrowserStartup: Initializing chromium process, singleProcess=false W/espressif.esp3: Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker;->(Landroid/content/Context;I)V (light greylist, reflection) Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker;->logEvent(Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;)V (light greylist, reflection) W/espressif.esp3: Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionStarted(I)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection) Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(II)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection) Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(IILandroid/view/textclassifier/TextClassification;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection) Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(IILandroid/view/textclassifier/TextSelection;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection) Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionAction(III)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection) Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionAction(IIILandroid/view/textclassifier/TextClassification;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (light greylist, reflection) D/EgretLoader: EgretLoader(Context context) The context is not activity I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 W/IMGSRV: glGetString:4354: Override GL_RENDERER PowerVR SGX Doma glGetString:4354: Override GL_RENDERER PowerVR SGX Doma W/[MainWebHelper]: Create AliApiForJS instance failed W/IMGSRV: glGetString:4354: Override GL_RENDERER PowerVR SGX Doma W/IMGSRV: glGetString:4354: Override GL_RENDERER PowerVR SGX Doma W/AudioCapabilities: Unsupported mime audio/x-adpcm-ms W/AudioCapabilities: Unsupported mime audio/x-adpcm-dvi-ima W/AudioCapabilities: Unsupported mime audio/alac W/AudioCapabilities: Unsupported mime audio/ape D/[MainBleNotifyThread]: MainBleNotifyThread wait() W/[EspDeviceNotifyHelper]: Helper open failed W/VideoCapabilities: Unsupported mime video/divx I/SurfaceFactory: [static] sSurfaceFactory = com.mediatek.view.impl.SurfaceFactoryImpl@984af96 W/VideoCapabilities: Unsupported mime video/divx3 W/VideoCapabilities: Unrecognized profile 4 for video/hevc D/ViewRootImpl[EspWebActivity]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false V/PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@f0474ed, this = DecorView@cd42f22[EspWebActivity] W/VideoCapabilities: Unrecognized profile/level 1/32 for video/mp4v-es Unrecognized profile/level 32768/2 for video/mp4v-es Unrecognized profile/level 32768/64 for video/mp4v-es W/Looper: Slow Looper main: Activity h5.espressif.esp32/.module.main.EspWebActivity is 588ms late (wall=1167ms running=0ms ClientTransaction{ callbacks=[android.app.servertransaction.LaunchActivityItem] lifecycleRequest=android.app.servertransaction.ResumeActivityItem }) because of 1 msg, msg 1 took 793ms (late=2ms h=android.app.ActivityThread$H w=110) W/VideoCapabilities: Unsupported mime video/x-ms-wmv W/VideoCapabilities: Unsupported mime video/xvid W/VideoCapabilities: Unrecognized profile/level 1/32 for video/mp4v-es I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es I/chromium: [INFO:CONSOLE(1)] "Uncaught ReferenceError: onWifiStateChanged is not defined", source: (1) W/Looper: Slow Looper main: Activity h5.espressif.esp32/.module.main.EspWebActivity is 917ms late (wall=5ms running=0ms ClientTransaction{ lifecycleRequest=android.app.servertransaction.PauseActivityItem }) because of 2 msg, msg 1 took 1167ms (late=588ms h=android.app.ActivityThread$H w=159) W/IMGSRV: glGetString:4354: Override GL_RENDERER PowerVR SGX Doma W/IMGSRV: glGetString:4354: Override GL_RENDERER PowerVR SGX Doma D/EventBus: No subscribers registered for event class h5.espressif.esp32.module.model.event.WifiChangedEvent No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent W/IMGSRV: glGetString:4354: Override GL_RENDERER PowerVR SGX Doma W/IMGSRV: glGetString:4354: Override GL_RENDERER PowerVR SGX Doma D/Surface: Surface::allocateBuffers(this=0x8ff8a000) I/OpenGLRenderer: Initialized EGL, version 1.4 D/OpenGLRenderer: Swap behavior 2 D/Surface: Surface::connect(this=0x8ff8a000,api=1) I/libEGL: [MTK Game SDK] low_latency_mode(0) pid(-1) property(-1) E/ion: ioctl c0044901 failed with code -1: Invalid argument D/EventBus: No subscribers registered for event class h5.espressif.esp32.module.model.event.WifiChangedEvent No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent V/PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@f0474ed, this = DecorView@cd42f22[EspWebActivity] W/Looper: Slow Looper main: Activity h5.espressif.esp32/.module.main.EspWebActivity is 388ms late (wall=19ms running=0ms ClientTransaction{ callbacks=[android.app.servertransaction.ActivityResultItem] lifecycleRequest=android.app.servertransaction.ResumeActivityItem }) because of 20 msg, msg 17 took 105ms (late=163ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver), msg 18 took 171ms (h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver) I/chromium: [INFO:CONSOLE(1)] "Uncaught ReferenceError: onWifiStateChanged is not defined", source: file:///android_asset/web/app.html (1) W/IMGSRV: glGetString:4354: Override GL_RENDERER PowerVR SGX Doma I/chatty: uid=10326(h5.espressif.esp32) Chrome_InProcGp identical 1 line W/IMGSRV: glGetString:4354: Override GL_RENDERER PowerVR SGX Doma I/chromium: [INFO:CONSOLE(185)] "{"os":"Android","version_name":"1.2.0","version_code":47}", source: file:///android_asset/web/js/app.js (185) I/espressif.esp3: The ClassLoaderContext is a special shared library. W/RxCachedThreadS: type=1400 audit(0.0:13260473): avc: denied { read } for name="u:object_r:mtk_em_tel_log_prop:s0" dev="tmpfs" ino=11933 scontext=u:r:untrusted_app:s0:c70,c257,c512,c768 tcontext=u:object_r:mtk_em_tel_log_prop:s0 tclass=file permissive=0 E/libc: Access denied finding property "persist.vendor.log.tel_dbg" D/NetworkSecurityConfig: No Network Security Config specified, using platform default W/System: ClassLoader referenced unknown path: system/framework/mediatek-cta.jar I/System.out: e:java.lang.ClassNotFoundException: com.mediatek.cta.CtaHttp W/System: ClassLoader referenced unknown path: system/framework/mediatek-cta.jar I/System.out: e:java.lang.ClassNotFoundException: com.mediatek.cta.CtaHttp D/[EspActionDeviceStation]: mDNS scan start D/[EspActionDeviceStation]: UDP scan start D/[EspActionDeviceStation]: UDP send Are You Espressif IOT Smart Device? D/[EspActionDeviceStation]: UDP scan start D/[EspActionDeviceStation]: UDP send Are You Espressif IOT Smart Device? D/[EspActionDeviceStation]: UDP scan start D/OpenSSLLib: OpensslErr:Module:12(177:); file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:168;Function:ASN1_get_object D/[EspActionDeviceStation]: UDP send Are You Espressif IOT Smart Device? W/System.err: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. W/System.err: javax.net.ssl.SSLHandshakeException: SSL handshake aborted: ssl=0x89815e48: I/O error during system call, Connection reset by peer at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method) at com.android.org.conscrypt.NativeSsl.doHandshake(NativeSsl.java:375) W/System.err: at com.android.org.conscrypt.ConscryptFileDescriptorSocket.startHandshake(ConscryptFileDescriptorSocket.java:224) at com.android.okhttp.internal.io.RealConnection.connectTls(RealConnection.java:192) at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:149) at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:112) at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:184) at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126) at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95) at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:299) at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:237) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:472) W/System.err: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:418) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:549) at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105) at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:26) at iot.espressif.esp32.action.common.EspActionUpgradeAPK.doActionGetLatestRelease(EspActionUpgradeAPK.java:21) at h5.espressif.esp32.module.web.AppApiForJSImpl.lambda$checkLatestApk$20(AppApiForJSImpl.java:1624) at h5.espressif.esp32.module.web.-$$Lambda$AppApiForJSImpl$0SBH6L3N0Qnjb0_ixPDwZr6lLZM.apply(Unknown Source:2) at io.reactivex.internal.operators.observable.ObservableMap$MapObserver.onNext(ObservableMap.java:57) at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeOnObserver.onNext(ObservableSubscribeOn.java:58) at io.reactivex.internal.operators.observable.ObservableScalarXMap$ScalarDisposable.run(ObservableScalarXMap.java:248) W/System.err: at io.reactivex.internal.operators.observable.ObservableJust.subscribeActual(ObservableJust.java:35) at io.reactivex.Observable.subscribe(Observable.java:12267) at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96) at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:578) at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66) at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) W/System.err: at java.lang.Thread.run(Thread.java:764) I/chromium: [INFO:CONSOLE(546)] "{"status":-1}", source: file:///android_asset/web/app/js/index.js (546) [INFO:CONSOLE(548)] "{"os":"Android","version_name":"1.2.0","version_code":47}", source: file:///android_asset/web/app/js/index.js (548) D/[EspActionDeviceStation]: mDNS remove service listener W/[EspActionDeviceStation]: UDP receive e: Poll timed out D/[EspActionDeviceStation]: UDP scan end W/[EspActionDeviceStation]: UDP receive e: Poll timed out D/[EspActionDeviceStation]: UDP scan end W/[EspActionDeviceStation]: UDP receive e: Poll timed out D/[EspActionDeviceStation]: UDP scan end I/espressif.esp3: ProcessProfilingInfo new_methods=1837 is saved saved_to_disk=1 resolve_classes_delay=8000 D/[EspActionDeviceStation]: mDNS close D/[EspActionDeviceStation]: mDNS scan end D/[EspActionDeviceStation]: ExecutorService shutdown I/chromium: [INFO:CONSOLE(704)] "cj_1 ", source: file:///android_asset/web/js/common.js (704) D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=5 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified I/chromium: [INFO:CONSOLE(707)] "cj_2 ", source: file:///android_asset/web/js/common.js (707) I/chromium: [INFO:CONSOLE(721)] "cj_backIndex", source: file:///android_asset/web/js/common.js (721) I/chromium: [INFO:CONSOLE(721)] "cj_backIndex", source: file:///android_asset/web/js/common.js (721) D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=5 mScannerId=0 I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) D/BluetoothAdapter: isLeEnabled(): ON D/[MainBleNotifyThread]: MainBleNotifyThread wait() V/PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@f0474ed, this = DecorView@cd42f22[EspWebActivity] D/Surface: Surface::disconnect(this=0x8ff8a000,api=1) D/[EspActionDeviceStation]: mDNS scan start D/[EspActionDeviceStation]: UDP scan start D/[EspActionDeviceStation]: UDP scan start D/[EspActionDeviceStation]: UDP send Are You Espressif IOT Smart Device? D/[EspActionDeviceStation]: UDP send Are You Espressif IOT Smart Device? D/[EspActionDeviceStation]: UDP scan start D/[EspActionDeviceStation]: UDP send Are You Espressif IOT Smart Device? D/[EspActionDeviceStation]: mDNS remove service listener W/[EspActionDeviceStation]: UDP receive e: Poll timed out D/[EspActionDeviceStation]: UDP scan end W/[EspActionDeviceStation]: UDP receive e: Poll timed out D/[EspActionDeviceStation]: UDP scan end W/[EspActionDeviceStation]: UDP receive e: Poll timed out D/[EspActionDeviceStation]: UDP scan end D/[EspActionDeviceStation]: mDNS close D/[EspActionDeviceStation]: mDNS scan end D/[EspActionDeviceStation]: ExecutorService shutdown V/PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@f0474ed, this = DecorView@cd42f22[EspWebActivity] D/Surface: Surface::allocateBuffers(this=0x8ff8a000) D/Surface: Surface::connect(this=0x8ff8a000,api=1) I/libEGL: [MTK Game SDK] low_latency_mode(0) pid(-1) property(-1) I/chromium: [INFO:CONSOLE(1273)] "dfdfdfdfdfd", source: file:///android_asset/web/js/common.js (1273) I/chromium: [INFO:CONSOLE(41)] "{"connected":true,"encode":true,"ssid":"CMCC-yUAE","bssid":"84:a9:c4:bc:8c:08","frequency":"-1"}", source: file:///android_asset/web/app/js/conDevice.js (41) D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=5 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified D/BluetoothAdapter: isLeEnabled(): ON I/chromium: [INFO:CONSOLE(1357)] "["3c71bf5fadb8"]", source: file:///android_asset/web/js/common.js (1357) [INFO:CONSOLE(1359)] "where is wrong_cj1", source: file:///android_asset/web/js/common.js (1359) D/BluetoothGatt: connect() - device: 3C:71:BF:5F:AD:BA, auto: false registerApp() registerApp() - UUID=f2129dbb-22c4-48e3-90e3-aa8835c92731 D/EspActionDeviceConfigure2: Start doActionConfigureBlufi2 I/chromium: [INFO:CONSOLE(1362)] "where is wrong_cj2", source: file:///android_asset/web/js/common.js (1362) D/BluetoothGatt: onClientRegistered() - status=0 clientIf=5 I/chromium: [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1381)] "this function in _cj4.1.2", source: file:///android_asset/web/js/common.js (1381) I/chromium: [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=0, newState=2, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: discoverServices() - device: 3C:71:BF:5F:AD:BA I/chromium: [INFO:CONSOLE(1373)] "303", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) [INFO:CONSOLE(1381)] "this function in _cj4.1.2", source: file:///android_asset/web/js/common.js (1381) D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=6 latency=0 timeout=500 status=0 D/BluetoothGatt: onSearchComplete() = Device=3C:71:BF:5F:AD:BA Status=0 D/[EspActionDeviceConfigure]: onServicesDiscovered status=0 D/BluetoothGatt: setCharacteristicNotification() - uuid: 0000ff02-0000-1000-8000-00805f9b34fb enable: true I/chromium: [INFO:CONSOLE(1373)] "304", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) [INFO:CONSOLE(1381)] "this function in _cj4.1.2", source: file:///android_asset/web/js/common.js (1381) I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) [INFO:CONSOLE(1381)] "this function in _cj4.1.2", source: file:///android_asset/web/js/common.js (1381) D/BluetoothGatt: requestConnectionPriority() - params: 1 I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) [INFO:CONSOLE(1381)] "this function in _cj4.1.2", source: file:///android_asset/web/js/common.js (1381) D/[EspActionDeviceConfigure]: Set BlufiClient complete D/BluetoothGatt: configureMTU() - device: 3C:71:BF:5F:AD:BA mtu: 20 D/[MainBleNotifyThread]: MainBleNotifyThread wait() D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=39 latency=0 timeout=500 status=0 D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=12 latency=0 timeout=2000 status=0 D/BluetoothGatt: onClientConnectionState() - status=19 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=19, newState=0, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: close() unregisterApp() - mClientIf=5 D/[EspActionDeviceConfigure]: onGattClose I/chromium: [INFO:CONSOLE(1373)] "9003", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1402)] "where is wrong is lock _cjx", source: file:///android_asset/web/js/common.js (1402) [INFO:CONSOLE(1403)] "9003", source: file:///android_asset/web/js/common.js (1403) D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=5 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified D/BluetoothAdapter: isLeEnabled(): ON I/chromium: [INFO:CONSOLE(1357)] "["3c71bf5fadb8"]", source: file:///android_asset/web/js/common.js (1357) [INFO:CONSOLE(1359)] "where is wrong_cj1", source: file:///android_asset/web/js/common.js (1359) D/BluetoothGatt: close() unregisterApp() - mClientIf=0 D/BluetoothGatt: close() unregisterApp() - mClientIf=0 D/BluetoothGatt: connect() - device: 3C:71:BF:5F:AD:BA, auto: false registerApp() D/BluetoothGatt: registerApp() - UUID=55f4f2b1-1d80-4069-a779-055f2f4ab048 D/EspActionDeviceConfigure2: Start doActionConfigureBlufi2 D/BluetoothGatt: onClientRegistered() - status=0 clientIf=5 I/chromium: [INFO:CONSOLE(1362)] "where is wrong_cj2", source: file:///android_asset/web/js/common.js (1362) I/chromium: [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=0, newState=2, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: discoverServices() - device: 3C:71:BF:5F:AD:BA I/chromium: [INFO:CONSOLE(1373)] "303", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=6 latency=0 timeout=500 status=0 D/BluetoothGatt: onSearchComplete() = Device=3C:71:BF:5F:AD:BA Status=0 D/[EspActionDeviceConfigure]: onServicesDiscovered status=0 I/chromium: [INFO:CONSOLE(1373)] "304", source: file:///android_asset/web/js/common.js (1373) D/BluetoothGatt: setCharacteristicNotification() - uuid: 0000ff02-0000-1000-8000-00805f9b34fb enable: true I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) D/BluetoothGatt: requestConnectionPriority() - params: 1 D/[MainBleNotifyThread]: MainBleNotifyThread wait() D/[EspActionDeviceConfigure]: Set BlufiClient complete D/BluetoothGatt: configureMTU() - device: 3C:71:BF:5F:AD:BA mtu: 20 I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=39 latency=0 timeout=500 status=0 D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=12 latency=0 timeout=2000 status=0 D/BluetoothGatt: onClientConnectionState() - status=19 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=19, newState=0, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: close() D/BluetoothGatt: unregisterApp() - mClientIf=5 D/[EspActionDeviceConfigure]: onGattClose I/chromium: [INFO:CONSOLE(1373)] "9003", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1402)] "where is wrong is lock _cjx", source: file:///android_asset/web/js/common.js (1402) [INFO:CONSOLE(1403)] "9003", source: file:///android_asset/web/js/common.js (1403) D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=5 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified D/BluetoothAdapter: isLeEnabled(): ON I/chromium: [INFO:CONSOLE(1357)] "["3c71bf5fadb8"]", source: file:///android_asset/web/js/common.js (1357) I/chromium: [INFO:CONSOLE(1359)] "where is wrong_cj1", source: file:///android_asset/web/js/common.js (1359) D/BluetoothGatt: close() unregisterApp() - mClientIf=0 D/BluetoothGatt: close() unregisterApp() - mClientIf=0 D/BluetoothGatt: connect() - device: 3C:71:BF:5F:AD:BA, auto: false registerApp() D/BluetoothGatt: registerApp() - UUID=5697b034-3388-486b-928a-cc387c1d63e8 D/EspActionDeviceConfigure2: Start doActionConfigureBlufi2 D/BluetoothGatt: onClientRegistered() - status=0 clientIf=5 I/chromium: [INFO:CONSOLE(1362)] "where is wrong_cj2", source: file:///android_asset/web/js/common.js (1362) [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) I/chromium: [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=0, newState=2, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: discoverServices() - device: 3C:71:BF:5F:AD:BA I/chromium: [INFO:CONSOLE(1373)] "303", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=6 latency=0 timeout=500 status=0 D/BluetoothGatt: onSearchComplete() = Device=3C:71:BF:5F:AD:BA Status=0 D/[EspActionDeviceConfigure]: onServicesDiscovered status=0 I/chromium: [INFO:CONSOLE(1373)] "304", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/BluetoothGatt: setCharacteristicNotification() - uuid: 0000ff02-0000-1000-8000-00805f9b34fb enable: true I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) D/BluetoothGatt: requestConnectionPriority() - params: 1 I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/[EspActionDeviceConfigure]: Set BlufiClient complete I/chromium: [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) D/BluetoothGatt: configureMTU() - device: 3C:71:BF:5F:AD:BA mtu: 20 D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=39 latency=0 timeout=500 status=0 D/[MainBleNotifyThread]: MainBleNotifyThread wait() D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=12 latency=0 timeout=2000 status=0 D/BluetoothGatt: onClientConnectionState() - status=19 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=19, newState=0, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: close() D/BluetoothGatt: unregisterApp() - mClientIf=5 D/[EspActionDeviceConfigure]: onGattClose I/chromium: [INFO:CONSOLE(1373)] "9003", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1402)] "where is wrong is lock _cjx", source: file:///android_asset/web/js/common.js (1402) [INFO:CONSOLE(1403)] "9003", source: file:///android_asset/web/js/common.js (1403) D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=5 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified I/System.out: Hint: use closeThreadResources() to avoid finalizing recycled transactions (initial commit count: 0). W/Box: Skipping low-level close for read-only cursor (non-creator thread '') W/Box: Destroyed recycled transaction from non-owner thread '' I/System.out: Hint: use closeThreadResources() to avoid finalizing recycled transactions (initial commit count: 0). W/Box: Skipping low-level close for read-only cursor (non-creator thread '') Destroyed recycled transaction from non-owner thread '' D/BluetoothAdapter: isLeEnabled(): ON I/chromium: [INFO:CONSOLE(1357)] "["3c71bf5fadb8"]", source: file:///android_asset/web/js/common.js (1357) [INFO:CONSOLE(1359)] "where is wrong_cj1", source: file:///android_asset/web/js/common.js (1359) D/BluetoothGatt: close() D/BluetoothGatt: unregisterApp() - mClientIf=0 close() unregisterApp() - mClientIf=0 D/BluetoothGatt: connect() - device: 3C:71:BF:5F:AD:BA, auto: false registerApp() D/BluetoothGatt: registerApp() - UUID=b2417724-b340-4a18-87be-4b883a67ca08 D/EspActionDeviceConfigure2: Start doActionConfigureBlufi2 D/BluetoothGatt: onClientRegistered() - status=0 clientIf=5 I/chromium: [INFO:CONSOLE(1362)] "where is wrong_cj2", source: file:///android_asset/web/js/common.js (1362) I/chromium: [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) I/chromium: [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=0, newState=2, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: discoverServices() - device: 3C:71:BF:5F:AD:BA I/chromium: [INFO:CONSOLE(1373)] "303", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=6 latency=0 timeout=500 status=0 D/BluetoothGatt: onSearchComplete() = Device=3C:71:BF:5F:AD:BA Status=0 D/[EspActionDeviceConfigure]: onServicesDiscovered status=0 D/BluetoothGatt: setCharacteristicNotification() - uuid: 0000ff02-0000-1000-8000-00805f9b34fb enable: true I/chromium: [INFO:CONSOLE(1373)] "304", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/BluetoothGatt: requestConnectionPriority() - params: 1 I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) D/[EspActionDeviceConfigure]: Set BlufiClient complete D/BluetoothGatt: configureMTU() - device: 3C:71:BF:5F:AD:BA mtu: 20 I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) I/chromium: [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=39 latency=0 timeout=500 status=0 D/[MainBleNotifyThread]: MainBleNotifyThread wait() D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=12 latency=0 timeout=2000 status=0 D/BluetoothGatt: onClientConnectionState() - status=19 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=19, newState=0, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: close() D/BluetoothGatt: unregisterApp() - mClientIf=5 I/chromium: [INFO:CONSOLE(1373)] "9003", source: file:///android_asset/web/js/common.js (1373) D/[EspActionDeviceConfigure]: onGattClose I/chromium: [INFO:CONSOLE(1402)] "where is wrong is lock _cjx", source: file:///android_asset/web/js/common.js (1402) I/chromium: [INFO:CONSOLE(1403)] "9003", source: file:///android_asset/web/js/common.js (1403) D/BluetoothGatt: close() unregisterApp() - mClientIf=0 D/BluetoothGatt: close() unregisterApp() - mClientIf=0 I/chromium: [INFO:CONSOLE(1273)] "dfdfdfdfdfd", source: file:///android_asset/web/js/common.js (1273) I/chromium: [INFO:CONSOLE(41)] "{"connected":true,"encode":true,"ssid":"CMCC-yUAE","bssid":"84:a9:c4:bc:8c:08","frequency":"-1"}", source: file:///android_asset/web/app/js/conDevice.js (41) D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=5 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified D/BluetoothAdapter: isLeEnabled(): ON I/chromium: [INFO:CONSOLE(1357)] "["3c71bf5fadb8"]", source: file:///android_asset/web/js/common.js (1357) [INFO:CONSOLE(1359)] "where is wrong_cj1", source: file:///android_asset/web/js/common.js (1359) D/BluetoothGatt: connect() - device: 3C:71:BF:5F:AD:BA, auto: false registerApp() registerApp() - UUID=355072d6-000e-441c-913d-03d1b68b65fa D/EspActionDeviceConfigure2: Start doActionConfigureBlufi2 D/BluetoothGatt: onClientRegistered() - status=0 clientIf=5 I/chromium: [INFO:CONSOLE(1362)] "where is wrong_cj2", source: file:///android_asset/web/js/common.js (1362) I/chromium: [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) I/chromium: [INFO:CONSOLE(1381)] "this function in _cj4.1.2", source: file:///android_asset/web/js/common.js (1381) I/chromium: [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) I/chromium: [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=0, newState=2, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: discoverServices() - device: 3C:71:BF:5F:AD:BA I/chromium: [INFO:CONSOLE(1373)] "303", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) [INFO:CONSOLE(1381)] "this function in _cj4.1.2", source: file:///android_asset/web/js/common.js (1381) D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=6 latency=0 timeout=500 status=0 D/BluetoothGatt: onSearchComplete() = Device=3C:71:BF:5F:AD:BA Status=0 D/[EspActionDeviceConfigure]: onServicesDiscovered status=0 D/BluetoothGatt: setCharacteristicNotification() - uuid: 0000ff02-0000-1000-8000-00805f9b34fb enable: true I/chromium: [INFO:CONSOLE(1373)] "304", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) [INFO:CONSOLE(1381)] "this function in _cj4.1.2", source: file:///android_asset/web/js/common.js (1381) D/BluetoothGatt: requestConnectionPriority() - params: 1 D/[EspActionDeviceConfigure]: Set BlufiClient complete D/BluetoothGatt: configureMTU() - device: 3C:71:BF:5F:AD:BA mtu: 20 I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) I/chromium: [INFO:CONSOLE(1381)] "this function in _cj4.1.2", source: file:///android_asset/web/js/common.js (1381) I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) I/chromium: [INFO:CONSOLE(1381)] "this function in _cj4.1.2", source: file:///android_asset/web/js/common.js (1381) D/[MainBleNotifyThread]: MainBleNotifyThread wait() D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=39 latency=0 timeout=500 status=0 D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=12 latency=0 timeout=2000 status=0 D/BluetoothGatt: onClientConnectionState() - status=19 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=19, newState=0, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: close() D/BluetoothGatt: unregisterApp() - mClientIf=5 D/[EspActionDeviceConfigure]: onGattClose I/chromium: [INFO:CONSOLE(1373)] "9003", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1402)] "where is wrong is lock _cjx", source: file:///android_asset/web/js/common.js (1402) [INFO:CONSOLE(1403)] "9003", source: file:///android_asset/web/js/common.js (1403) D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=5 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified D/BluetoothAdapter: isLeEnabled(): ON I/chromium: [INFO:CONSOLE(1357)] "["3c71bf5fadb8"]", source: file:///android_asset/web/js/common.js (1357) I/chromium: [INFO:CONSOLE(1359)] "where is wrong_cj1", source: file:///android_asset/web/js/common.js (1359) D/BluetoothGatt: close() unregisterApp() - mClientIf=0 D/BluetoothGatt: close() D/BluetoothGatt: unregisterApp() - mClientIf=0 D/BluetoothGatt: connect() - device: 3C:71:BF:5F:AD:BA, auto: false registerApp() D/BluetoothGatt: registerApp() - UUID=469d809e-79d8-47ab-ab08-e4fc5b391e40 D/EspActionDeviceConfigure2: Start doActionConfigureBlufi2 D/BluetoothGatt: onClientRegistered() - status=0 clientIf=5 I/chromium: [INFO:CONSOLE(1362)] "where is wrong_cj2", source: file:///android_asset/web/js/common.js (1362) I/chromium: [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) I/chromium: [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=0, newState=2, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: discoverServices() - device: 3C:71:BF:5F:AD:BA I/chromium: [INFO:CONSOLE(1373)] "303", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=6 latency=0 timeout=500 status=0 D/BluetoothGatt: onSearchComplete() = Device=3C:71:BF:5F:AD:BA Status=0 D/[EspActionDeviceConfigure]: onServicesDiscovered status=0 I/chromium: [INFO:CONSOLE(1373)] "304", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/BluetoothGatt: setCharacteristicNotification() - uuid: 0000ff02-0000-1000-8000-00805f9b34fb enable: true I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) D/BluetoothGatt: requestConnectionPriority() - params: 1 D/[EspActionDeviceConfigure]: Set BlufiClient complete D/BluetoothGatt: configureMTU() - device: 3C:71:BF:5F:AD:BA mtu: 20 I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) I/chromium: [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) D/[MainBleNotifyThread]: MainBleNotifyThread wait() D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=39 latency=0 timeout=500 status=0 D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=12 latency=0 timeout=2000 status=0 D/BluetoothGatt: onClientConnectionState() - status=19 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=19, newState=0, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: close() unregisterApp() - mClientIf=5 D/[EspActionDeviceConfigure]: onGattClose I/chromium: [INFO:CONSOLE(1373)] "9003", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1402)] "where is wrong is lock _cjx", source: file:///android_asset/web/js/common.js (1402) [INFO:CONSOLE(1403)] "9003", source: file:///android_asset/web/js/common.js (1403) D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=5 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified D/BluetoothAdapter: isLeEnabled(): ON I/chromium: [INFO:CONSOLE(1357)] "["3c71bf5fadb8"]", source: file:///android_asset/web/js/common.js (1357) [INFO:CONSOLE(1359)] "where is wrong_cj1", source: file:///android_asset/web/js/common.js (1359) D/BluetoothGatt: close() unregisterApp() - mClientIf=0 D/BluetoothGatt: close() unregisterApp() - mClientIf=0 D/BluetoothGatt: connect() - device: 3C:71:BF:5F:AD:BA, auto: false registerApp() D/BluetoothGatt: registerApp() - UUID=ce82982c-04fc-4958-8089-5ce74f3ec3f5 D/EspActionDeviceConfigure2: Start doActionConfigureBlufi2 D/BluetoothGatt: onClientRegistered() - status=0 clientIf=5 I/chromium: [INFO:CONSOLE(1362)] "where is wrong_cj2", source: file:///android_asset/web/js/common.js (1362) I/chromium: [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=0, newState=2, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: discoverServices() - device: 3C:71:BF:5F:AD:BA I/chromium: [INFO:CONSOLE(1373)] "303", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=6 latency=0 timeout=500 status=0 D/BluetoothGatt: onSearchComplete() = Device=3C:71:BF:5F:AD:BA Status=0 D/[EspActionDeviceConfigure]: onServicesDiscovered status=0 I/chromium: [INFO:CONSOLE(1373)] "304", source: file:///android_asset/web/js/common.js (1373) D/BluetoothGatt: setCharacteristicNotification() - uuid: 0000ff02-0000-1000-8000-00805f9b34fb enable: true I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) I/chromium: [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) D/BluetoothGatt: requestConnectionPriority() - params: 1 D/[EspActionDeviceConfigure]: Set BlufiClient complete D/BluetoothGatt: configureMTU() - device: 3C:71:BF:5F:AD:BA mtu: 20 I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) I/chromium: [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=39 latency=0 timeout=500 status=0 D/[MainBleNotifyThread]: MainBleNotifyThread wait() D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=12 latency=0 timeout=2000 status=0 D/BluetoothGatt: onClientConnectionState() - status=19 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=19, newState=0, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: close() unregisterApp() - mClientIf=5 D/[EspActionDeviceConfigure]: onGattClose I/chromium: [INFO:CONSOLE(1373)] "9003", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1402)] "where is wrong is lock _cjx", source: file:///android_asset/web/js/common.js (1402) I/chromium: [INFO:CONSOLE(1403)] "9003", source: file:///android_asset/web/js/common.js (1403) D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=5 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified D/BluetoothAdapter: isLeEnabled(): ON I/chromium: [INFO:CONSOLE(1357)] "["3c71bf5fadb8"]", source: file:///android_asset/web/js/common.js (1357) [INFO:CONSOLE(1359)] "where is wrong_cj1", source: file:///android_asset/web/js/common.js (1359) D/BluetoothGatt: close() unregisterApp() - mClientIf=0 close() D/BluetoothGatt: unregisterApp() - mClientIf=0 D/BluetoothGatt: connect() - device: 3C:71:BF:5F:AD:BA, auto: false registerApp() registerApp() - UUID=cb0e829f-870d-4e2a-8b47-bbf793a4901c D/EspActionDeviceConfigure2: Start doActionConfigureBlufi2 D/BluetoothGatt: onClientRegistered() - status=0 clientIf=5 I/chromium: [INFO:CONSOLE(1362)] "where is wrong_cj2", source: file:///android_asset/web/js/common.js (1362) I/chromium: [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) I/chromium: [INFO:CONSOLE(1373)] "301", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=0, newState=2, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: discoverServices() - device: 3C:71:BF:5F:AD:BA I/chromium: [INFO:CONSOLE(1373)] "303", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=6 latency=0 timeout=500 status=0 D/BluetoothGatt: onSearchComplete() = Device=3C:71:BF:5F:AD:BA Status=0 D/[EspActionDeviceConfigure]: onServicesDiscovered status=0 D/BluetoothGatt: setCharacteristicNotification() - uuid: 0000ff02-0000-1000-8000-00805f9b34fb enable: true I/chromium: [INFO:CONSOLE(1373)] "304", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) I/chromium: [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) D/BluetoothGatt: requestConnectionPriority() - params: 1 D/[EspActionDeviceConfigure]: Set BlufiClient complete D/BluetoothGatt: configureMTU() - device: 3C:71:BF:5F:AD:BA mtu: 20 I/chromium: [INFO:CONSOLE(1373)] "305", source: file:///android_asset/web/js/common.js (1373) [INFO:CONSOLE(1375)] "where is else ifcj4.1", source: file:///android_asset/web/js/common.js (1375) I/chromium: [INFO:CONSOLE(1377)] "this function in _cj4.1.1", source: file:///android_asset/web/js/common.js (1377) D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=39 latency=0 timeout=500 status=0 D/[MainBleNotifyThread]: MainBleNotifyThread wait() D/BluetoothGatt: onConnectionUpdated() - Device=3C:71:BF:5F:AD:BA interval=12 latency=0 timeout=2000 status=0 D/BluetoothGatt: onClientConnectionState() - status=19 clientIf=5 device=3C:71:BF:5F:AD:BA D/[EspActionDeviceConfigure]: onConnectionStateChange status=19, newState=0, address=3C:71:BF:5F:AD:BA D/BluetoothGatt: close() D/BluetoothGatt: unregisterApp() - mClientIf=5 D/[EspActionDeviceConfigure]: onGattClose I/chromium: [INFO:CONSOLE(1373)] "9003", source: file:///android_asset/web/js/common.js (1373) I/chromium: [INFO:CONSOLE(1402)] "where is wrong is lock _cjx", source: file:///android_asset/web/js/common.js (1402) [INFO:CONSOLE(1403)] "9003", source: file:///android_asset/web/js/common.js (1403) D/BluetoothGatt: close() unregisterApp() - mClientIf=0 D/BluetoothGatt: close() unregisterApp() - mClientIf=0 D/BluetoothAdapter: isLeEnabled(): ON D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=5 mScannerId=0 D/[MainBleNotifyThread]: MainBleNotifyThread notified I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635) I/chromium: [INFO:CONSOLE(635)] "3c71bf5fadb8", source: file:///android_asset/web/js/utils.js (635)

XuXiangJun commented 4 years ago

从 LOG 看,MTU 设置 20 后就被设备踢掉连接了,跟之前情况不一样了 先把把 MTU 改成 23,然后在类 BlufiClientImpl 的函数 gattWrite 加一下打印: Log.i(TAG, "GattWrite: length=" + data.length + " , data=" + Arrays.toString(data)); 我看看发包情况

xpdrycry commented 4 years ago

把MTU改为23以后,就没有问题了。提示可以连接,也可以正常使用了。挺不错的。