嗨对话框,
我试图做一个使用Android的SUOTA更新,目前,我正在使用对话框提供的SUOTA应用程序。
在流240字节后,我看到一个随机断开发生。我们正在写入内存库0(最老的)。我已经附上了SUOTA应用程序的日志。
有时候,我在写完mem信息后看到一个断开。你认为这是为什么?
提前感谢,,
07-19 17:50:48.607 4251-4251 / com.dialog.suota I / Art:Leaz-eNabled -Xcheck:JNI
07-19 17:50:48.631 4251 - 4258 / com.dialog。suota I/art:调试器不再激活
07-19 17:50:48.631 4251 - 4258 / com.dialog。suota I/art:启动阻塞GC Instrumentation
07-19 17:50:48.687 4251 - 4251 / com.dialog。suota W/System: ClassLoader引用的未知路径:/data/app/com.dialog.suota-1/lib/arm64
07-19 17:50:48.716 4251 - 4251 / com.dialog。suota W/art:在Android 4.1之前,方法Android .graphics. porterduffcolorfilter Android .support.graphics.drawable. vectordrawablecompat.updatetintfilter (Android .graphics. portterduffcolorfilter)。PorterDuffColorFilter android.content.res。ColorStateList, android.graphics.PorterDuff$Mode)会错误地覆盖了android.graphics.drawable.Drawable中的package-private方法
07-19 17:50:48.921 4251-4272 / com.dialog.suota I / adreno:高通构建:6818200,IDB2B4CB785
建造日期:2016年11月17日
OpenGL ES着色器编译器版本:XE031.09.00.04
本地分支机构:N25
远程分支:
远程分支:
重建分支:
07-19 17:50:48.925 4251 - 4272 / com.dialog。suota I/OpenGLRenderer: Initialized EGL, version 1.4
07-19 17:50:48.925 4251-4272/com.dialog.suota D/OpenGLRenderer:交换行为1
07-19 17:50:50:50:50.653 4251-4258 / com.dialog.suota I / Art:忽略第二次调试器 - 接受和丢弃
07-19 17:50:51.992 4251-4251 / com.dialog.suota d / scalactivity:请求权限
07-19 17:50:55.381 4251 - 4251 / com.dialog。suota D/ScanActivity: Permission android.permission.ACCESS_COARSE_LOCATION授予
07-19 17:50:55.381 4251-4251 / com.dialog.suota d / scalactivity:权限android.permission.write_external_storage授予
07-19 17:50:55.381 4251 - 4251 / com.dialog。suota D/ScanActivity: Create firmware directory
07-19 17:50:55:55.386 4251-4251 / com.dialog.suota d / scanactivity:授予的所有权限
07-19 17:50:55.387 4251-4251/com.dialog.suota D/scan活动:开始扫描
07-19 17:50:55:55.393 4251-4251 / com.dialog.suota d / bluetoothapapter:iSleenabled():上
07-19 17:50:55.402 4251-4263 / com.dialog.suota d / bluettoothlescanner:onclientregistered() - status = 0 clientif = 7 mclientif = 0
07-19 17:51:05.407 4251-4251 / com.dialog.suota d / scalactivity:停止扫描
07-19 17:51:05.411 4251 - 4251 / com.dialog。suota D/BluetoothAdapter: isLeEnabled(): ON
07-19 17:57:01.392 4251 - 4258 / com.dialog。suota I/art:调试器不再激活
07-19 17:57:01.392 4251 - 4258 / com.dialog。suota I/art:启动阻塞GC Instrumentation
07-19 17:57:41.699 4251-4251/com.dialog.suota D/scan活动:开始扫描
07-19 17:57:41.706 4251 - 4251 / com.dialog。suota D/BluetoothAdapter: isLeEnabled(): ON
07-19 17:57:41.711 4251 - 4264 / com.dialog。suota D/BluetoothLeScanner: onClientRegistered() - status=0 clientIf=7 mClientIf=0
07-19 17:57:51.715 4251 - 4251 / com.dialog。suota D/ScanActivity:停止扫描
07-19 17:57:51.717 4251-4251/com.dialog.suota D/BluetoothAdapter:isLeEnabled():打开
07-19 17:58:42.048 4251 - 4251 / com.dialog。suota D/ScanActivity:开始扫描
07-19 17:58:42.051 4251 - 4251 / com.dialog。suota D/BluetoothAdapter: isLeEnabled(): ON
07-19 17:58:42.055 4251 - 4264 / com.dialog。suota D/BluetoothLeScanner: onClientRegistered() - status=0 clientIf=6 mClientIf=0 . suota D/BluetoothLeScanner: onClientRegistered(
07-19 17:58:52.061 4251-4251 / com.dialog.suota d / scalactivity:停止扫描
07-19 17:58:52.065 4251 - 4251 / com.dialog。suota D/BluetoothAdapter: isLeEnabled(): ON
07-19 17:59:00.480 4251-4251 / com.dialog.suota d / scalactivity:开始扫描
07-19 17:59:00.483 4251 - 4251 / com.dialog。suota D/BluetoothAdapter: isLeEnabled(): ON
07-19 17:59:00.487 4251-4263/com.dialog.suota D/BluetoothLeScanner:onclientregisted()-status=0 clientIf=6 mClientIf=0
07-19 17:59:01.816 4251-4251/com.dialog.suota D/scan活动:停止扫描
07-19 17:59:01.820 4251-4251/com.dialog.suota D/BluetoothAdapter:isLeEnabled():打开
07-19 17:59:01.890 4251 - 4251 / com.dialog。suota D / DeviceGattTask: init
07-19 17:59:01.891 4251-13447 / com.dialog.suota d / bluetoothgatt:connect() - 设备:80:ea:ca:00:00:06,auto:false
07-19 17:59:01.891 4251-13447/com.dialog.suota D/BluetoothGatt:registerApp()
07-19 17:59:01.891 4251-13447/com.dialog.suota D/BluetoothGatt:registerApp()- UUID=3fd5fd3a-487a-4f1e-9650-d32f638897c7
07-19 17:59:01.894 4251 - 4264 / com.dialog。suota D/BluetoothGatt: onClientRegistered() - status=0 clientIf=6
07-19 17:59:01.990 4251-4256 / com.dialog.suota i / art:do pareial代码缓存采集,code = 27kb,data = 28kb
07-19 17:59:01.990 4251 - 4256 / com.dialog。suota I/art:在代码缓存收集后,code=27KB, data=28KB
07-19 17:59:01.990 4251-4256/com.dialog.suota I/art:将代码缓存容量增加到128KB
07-19 17:59:02.020 4251 - 4251 / com.dialog。suota D / SUOTAFragment: initMainScreen
07-19 17:59:02.025 4251-4251 / com.dialog.suota d / suotafragment:initmainscreenitems
07-19 17:59:02.300 4251-4272/com.dialog.suota D/OpenGLRenderer:0x7708f4bc00(列表视图)上带有句柄0x7706fc34e0的EndAllActivateImators
07-19 17:59:04.619 4251-4273/com.dialog.suota D/BluetoothGatt:onClientConnectionState()-status=0 clientIf=6 device=80:EA:CA:00:06
07-19 17:59:04.620 4251-4273 / com.dialog.suota i /回调:Le OnconnectionStateChange [2]
07-19 17:59:04.620 4251-4273/com.dialog.suota I/回调:le设备已连接
07-19 17:59:04.621 4251 - 4273 / com.dialog。suota D/BluetoothGatt: discoverServices() - device: 80:EA:CA:00:00:06
07-19 17:59:04.635 4251-4251 / com.dialog.suota d / bluetoothgattreceiver:onreceive
07-19 17:59:05.559 4251 - 4264 / com.dialog。suota D/BluetoothGatt: onSearchComplete() = Device=80:EA:CA:00:00:06 Status=0
07-19 17:59:0590:05.560 4251-4264 / com.dialog.suota i /回调:onservicesdiciCated
07-19 17:59:05.560 4251 - 4264 / com.dialog。suota D/BluetoothManager:刷新设备缓存
07-19 17:59:05.560 4251 - 4264 / com.dialog。suota D/BluetoothGatt: refresh() - device: 80:EA:CA:00:00:06
07-19 17:59:05.562 4251 - 4264 / com.dialog。suota D/Callback:刷新后重新启动发现
07-19 17:59:05.562 4251-4264/com.dialog.suota D/BluetoothGatt:discoverServices()-设备:80:EA:CA:00:00:06
07-19 17:59:06.516 4251 - 4263 / com.dialog。suota D/BluetoothGatt: onSearchComplete() = Device=80:EA:CA:00:00:06 Status=0
07-19 17:59:06.516 4251 - 4263 / com.dialog。suota I /回调:onServicesDiscovered
07-19 17:59:06.517 4251 - 4251 / com.dialog。suota D / BluetoothGattReceiver: onReceive
07-19 17:59:06.517 4251-4251 / com.dialog.suota d / suotamanager:步骤0
07-19 17:59:06.517 4251 - 4251 / com.dialog。suota D / SUOTAFragment: initMainScreen
07-19 17:59:06.547 4251-4251/com.dialog.suota D/SUOTAFragment:initMainScreenItems
07-19 17:59:06:0650 4251-4251 / com.dialog.suota d / bluetoothmanager:readnext carracteristic
07-19 17:59:06.564 4251 - 4273 / com.dialog。suota W/BluetoothGatt: oncharacterticread () - Device=80:EA:CA:00:00:06 handle=22 Status=0
07-19 17:59:06:06.564 4251-4273 / com.dialog.suota d / callback:on特征aread:0
07-19 17:59:06:06.578 4251-4251 / com.dialog.suota d / bluetoothgattreceiver:onreceive
07-19 17:59:06.578 4251 - 4251 / com.dialog。suota D /测试:CName
07-19 17:59:06.582 4251-4251 / com.dialog.suota d / bluetoothmanager:readnext characteristic
07-19 17:59:06.582 4251 - 4251 / com.dialog。suota D/ suotmanager:步骤1
07-19 17:59:06.684 4251-4264 / com.dialog.suota w / bluetoothgatt:oncharacteristicread() - 设备= 80:ea:ca:00:00:06句柄= 24状态= 0
07-19 17:59:06.684 4251-4264 / com.dialog.suota d /回调:on特征读:1
07-19 17:59:06.685 4251-4251 / com.dialog.suota d / bluetoothgattreceiver:onreceive
07-19 17:59:06:06.685 4251-4251 / com.dialog.suota d / test:crdname
07-19 17:59:06.691 4251 - 4251 / com.dialog。suota D / BluetoothManager: readNextCharacteristic
07-19 17:59:06.691 4251 - 4251 / com.dialog。suota D/ suotmanager:步骤1
07-19 17:59:06.775 4251 - 4263 / com.dialog。suota W/BluetoothGatt: oncharacterticread () - Device=80:EA:CA:00:00:06 handle=28 Status=0
07-19 17:59:06.775 4251 - 4263 / com.dialog。suota D/Callback: oncharacterticread: 2
07-19 17:59:06:06.776 4251-4251 / com.dialog.suota d / bluetoothgattreceiver:onreeceive
07-19 17:59:06.776 4251 - 4251 / com.dialog。suota D /测试:08.00.10
07-19 17:59:06.777 4251-4251/com.dialog.suota D/SuotaManager:步骤-1
07-19 17:59:15.541 4251 - 4251 / com.dialog。suota D/Files:大小:4
07-19 17:59:15.542 4251 - 4251 / com.dialog。suota D /文件:文件名:XXX_ISO_8.0.10.img
07-19 17:59:15.542 4251 - 4251 / com.dialog。suota D /文件:文件名:XXX_ISO_8.0.11.img
07-19 17:59:15.542 4251-4251/com.dialog.suota D/Files:FileName:XXX_ISO_8.0.7.9.img
07-19 17:59:15.542 4251-4251/com.dialog.suota D/Files:FileName:XXX_ISO_8.0.8.img
07-19 17:59:18.706 4251-4251 / com.dialog.suota d / suotafragment:选定的文件:xxx_iso_8.0.11.img
07-19 17:59:18.710 4251 - 4251 / com.dialog。suota D/crc:固件crc: 0x29
07-19 17:59:18.722 4251 - 4251 / com.dialog。MISO: 5
07-19 17:59:18.722 4251 - 4251 / com.dialog。suota D/position: MOSI: 6
07-19 17:59:18.723 4251-4251 / com.dialog.suota d /位置:cs:3
07-19 17:59:18.723 4251-4251 / com.dialog.suota d /位置:sck:0
07-19 17:59:23.389 4251 - 4272 / com.dialog。suota D/OpenGLRenderer: endAllActiveAnimators on 0x7707b43400 (DropDownListView) with handle 0x7706f31920
07-19 17:59:28.719 4251-4251 / com.dialog.suota d / bluetoothgattreceiver:onreceive
07-19 17:59:28.719 4251 - 4251 / com.dialog。suota D/ suotmanager:步骤1
07-19 17:59:28.719 4251-4251/com.dialog.suota D/SuotaManager:连接参数更新请求(高)
07-19 17:59:28.719 4251-4251/com.dialog.suota D/BluetoothGatt:requestConnectionPriority()-参数:1
07-19 17:59:28.722 4251 - 4251 / com.dialog。suota D/BluetoothManager: - enablenotifations
07-19 17:59:28.751 4251-4251/com.dialog.suota D/BluetoothGatt:setCharacteristicNotification()-uuid:5f78df94-798c-46f5-990a-b3eb6a065c88启用:真
07-19 17:59:32.614 4251 - 4264 / com.dialog。suota D /回调:onDescriptorWrite
07-19 17:59:32.616 4251 - 4251 / com.dialog。suota D / BluetoothGattReceiver: onReceive
07-19 17:59:32.617 4251-4251/com.dialog.suota D/SuotaManager:步骤2
07-19 17:59:32.633 4251-4251/com.dialog.suota D/SuotaManager:上传大小:28561字节
07-19 17:59:32.637 4251 - 4251 / com.dialog。suota D/ suotmanager:获取唤醒锁
07-19 17:59:32.651 4251-4251/com.dialog.suota D/BluetoothManager:setspotamdev:0x13000000
07-19 17:59:36.611 4251 - 4273 / com.dialog。suota D/Callback: SPOTA_SERV_STATUS notification: 0x10
07-19 17:59:36.612 4251 - 4251 / com.dialog。suota D / BluetoothGattReceiver: onReceive
07-19 17:59:36.613 4251 - 4251 / com.dialog。suota D/ suotmanager:步骤3
07-19 17:59:36.614 4251 - 4273 / com.dialog。suota D/回调:oncharacteristics write: 8082caa8-41a6-4021-91c6-56f9b954cc34
07-19 17:59:36.614 4251-4273/com.dialog.suota I/回调:写入成功
07-19 17:59:36.615 4251-4251/com.dialog.suota D/BluetoothGattReceiver:onReceive
07-19 17:59:36.615 4251-4251/com.dialog.suota D/SuotaManager:步骤3
07-19 17:59:36.616 4251 - 4251 / com.dialog。suota D/BluetoothManager: setSpotaGpioMap: 0x5060400
07-19 17:59:42.587 4251 - 4263 / com.dialog。suota D/回叫:oncharacterticwrite: 724249f0-5ec3-4b5f-8804-42345af08651
07-19 17:59:42.587 4251-4263/com.dialog.suota I/回调:写入成功
07-19 17:59:42.588 4251 - 4251 / com.dialog。suota D / BluetoothGattReceiver: onReceive
07-19 17:59:42.588 4251-4251/com.dialog.suota D/SuotaManager:步骤4
07-19 17:59:42.589 4251-4251/com.dialog.suota D/BluetoothManager:setPatchLength:240-0xf0
07-19 17:59:46.576 4251-4264 / com.dialog.suota d /回叫:on特征术:9d84b9a3-00c-49d8-9183-855b673fda31
07-19 17:59:46.576 4251-4264/com.dialog.suota I/回调:写入成功
07-19 17:59:46.577 4251-4251/com.dialog.suota D/BluetoothGattReceiver:onReceive
07-19 17:59:46.578 4251-4251/com.dialog.suota D/SuotaManager:步骤5
07-19 17:59:46.581 4251 - 4251 / com.dialog。suota D/BluetoothManager: Current block: 1 of 120
07-19 17:59:46.590 4251 - 4251 / com.dialog。suota D/BluetoothManager:发送block 1, chunk 1 of 12, size 20
07-19 17:59:46.594 4251-4251 / com.dialog.suota d / bluetoothmanager:writecharactery:true
07-19 17:59:46.611 4251-4273 / com.dialog.suota d /回调:on特征术:457871e8-d516-4ca1-9116-57d0b17b9cb2
07-19 17:59:46.611 4251-4273 / com.dialog.suota i /回调:写成功
07-19 17:59:46.612 4251 - 4273 / com.dialog。suota D/BluetoothManager:发送块1,块2的12,大小20
07-19 17:59:46.618 4251-4273 / com.dialog.suota d / bluetoothmanager:writecharacteratic:true
07-19 17:59:46.620 4251 - 4263 / com.dialog。suota D/回调:oncharacteristics write: 457871e8-d516-4ca1-9116-57d0b17b9cb2
07-19 17:59:46.621 4251 - 4263 / com.dialog。suota I/Callback: write succeeded .输出说明
07-19 17:59:46.621 4251-4263/com.dialog.suota D/BluetoothManager:发送块1,块3,共12块,大小20
07-19 17:59:4625 4251-4263 / com.dialog.suota d / bluetoothmanager:writecharactery:true
07-19 17:59:46.626 4251-4263 / com.dialog.suota d /回叫:on特征术文:457871e8-d516-4ca1-9116-57d0b17b9cb2
07-19 17:59:46.626 4251-4263/com.dialog.suota I/回调:写入成功
07-19 17:59:46.627 4251-4263 / com.dialog.suota d / bluetooth manager:发送块1,块4,尺寸为20
07-19 17:59:46.630 4251-4263/com.dialog.suota D/BluetoothManager:writeCharacteristic:true
07-19 17:59:46.631 4251-4263 / com.dialog.suota d /回叫:on特征术:457871e8-d516-4ca1-9116-57d0b17b9cb2
07-19 17:59:46.631 4251-4263/com.dialog.suota I/回调:写入成功
07-19 17:59:46.631 4251 - 4263 / com.dialog。suota D/BluetoothManager:发送block 1, chunk 5 of 12, size 20
07-19 17:59:46.634 4251 - 4263 / com.dialog。suota D/BluetoothManager: writcharacteristic: true
07-19 17:59:46.645 4251 - 4264 / com.dialog。suota D/回调:oncharacteristics write: 457871e8-d516-4ca1-9116-57d0b17b9cb2
07-19 17:59:46.645 4251-4264/com.dialog.suota I/回调:写入成功
07-19 17:59:46.646 4251-4264 / com.dialog.suota d / bluetoothmanager:发送块1,12的块6,尺寸20
07-19 17:59:46.648 4251-4264 / com.dialog.suota d / bluetoothmanager:writecharacteratic:true
07-19 17:59:46.649 4251-4264/com.dialog.suota D/回调:onCharacteristicWrite:457871e8-d516-4ca1-9116-57d0b17b9cb2
07-19 17:59:46.649 4251 - 4264 / com.dialog。suota I/Callback: write succeeded .输出说明
07-19 17:59:4650 4251-4264 / com.dialog.suota d / bluetoothmanager:发送块1,12的块7,尺寸20
07-19 17:59:46.653 4251 - 4264 / com.dialog。suota D/BluetoothManager: writcharacteristic: true
07-19 17:59:46.654 4251 - 4264 / com.dialog。suota D/回调:oncharacteristics write: 457871e8-d516-4ca1-9116-57d0b17b9cb2
07-19 17:59:46.654 4251-4264 / com.dialog.suota i /回调:写成功
07-19 17:59:46.654 4251 - 4264 / com.dialog。suota D/BluetoothManager:发送block 1, chunk 8 of 12, size 20
07-19 17:59:46.656 4251 - 4264 / com.dialog。suota D/BluetoothManager: writcharacteristic: true
07-19 17:59:46.661 4251-4264/com.dialog.suota D/回调:onCharacteristicWrite:457871e8-d516-4ca1-9116-57d0b17b9cb2
07-19 17:59:46161251-4264 / com.dialog.suota i /回调:写成功
07-19 17:59:46.661 4251 - 4264 / com.dialog。suota D/BluetoothManager:发送block 1, chunk 9 of 12, size 20
07-19 17:59:46.663 4251 - 4264 / com.dialog。suota D/BluetoothManager: writcharacteristic: true
07-19 17:59:46464 4251-4264 / com.dialog.suota d /回叫:on特征术:457871e8-d516-4ca1-9116-57d0b17b9cb2
07-19 17:59:46.664 4251 - 4264 / com.dialog。suota I/Callback: write succeeded .输出说明
07-19 17:59:46.664 4251-4264/com.dialog.suota D/BluetoothManager:发送块1,块10/12,大小20
07-19 17:59:46.666 4251 - 4264 / com.dialog。suota D/BluetoothManager: writcharacteristic: true
07-19 17:59:46.666 4251 - 4264 / com.dialog。suota D/回调:oncharacteristics write: 457871e8-d516-4ca1-9116-57d0b17b9cb2
07-19 17:59:46.666 4251 - 4264 / com.dialog。suota I/Callback: write succeeded .输出说明
07-19 17:59:46.667 4251-4264 / com.dialog.suota d / bluetoothmanager:发送块1,块11的12,尺寸20
07-19 17:59:46.668 4251-4264/com.dialog.suota D/BluetoothManager:writeCharacteristic:true
07-19 17:59:4670 4251-4273 / com.dialog.suota d /回叫:on特征术:457871e8-d516-4ca1-9116-57d0b17b9cb2
07-19 17:59:46.670 4251 - 4273 / com.dialog。suota I/Callback: write succeeded .输出说明
07-19 17:59:46.670 4251 - 4273 / com.dialog。suota D/BluetoothManager:发送block 1, chunk 12 of 12, size 20
07-19 17:59:46.673 4251-4273/com.dialog.suota D/BluetoothManager:writeCharacteristic:true
07-19 17:59:46.673 4251 - 4273 / com.dialog。suota D/回调:oncharacteristics write: 457871e8-d516-4ca1-9116-57d0b17b9cb2
07-19 17:59:46.673 4251 - 4273 / com.dialog。suota I/Callback: write succeeded .输出说明
07-19 18:00:16.561 4251 - 4263 / com.dialog。suota D/BluetoothGatt: onClientConnectionState() - status=8 clientIf=6 device=80:EA:CA:00:00:06
07-19 18:00:16.561 4251 - 4263 / com.dialog。suota I/Callback: le onConnectionStateChange [0]
07-19 18:00:16.561 4251-4263 / com.dialog.suota I /回调:LE设备断开连接
07-19 18:00:16.562 4251-4251 / com.dialog.suota d / bluetoothgattreceiver:onreceive
07-19 18:00:16.586 4251 - 4251 / com.dialog。suota D/BluetoothManager:刷新设备缓存
07-19 18:00:16.586 4251 - 4251 / com.dialog。suota D/BluetoothGatt: refresh() - device: 80:EA:CA:00:00:06
07-19 18:00:16.588 4251 - 4251 / com.dialog。suota D / BluetoothGatt: close ()
07-19 18:00:16.588 4251 - 4251 / com.dialog。suota D/BluetoothGatt: unregisterApp() - mClientIf=6
07-19 18:00:17.035 4251-4251/com.dialog.suota D/设备活动:onDestroy
07-19 18:00:17.036 4251 - 4251 / com.dialog。suota D/BluetoothGatt: cancelOpen() - device: 80:EA:CA:00:00:06
07-19 18:00:17.036 4251-4251/com.dialog.suota D/BluetoothGatt:close()
07-19 18:00:17.036 4251-4251/com.dialog.suota D/BluetoothGatt:unregisterApp()-mClientIf=0
嗨,CleanupStack,
我们在SUOTA应用程序上没有遇到像您提到的那样的问题(无原因的随机断开连接,应用程序应该报告更新过程中出现的错误),从您附加的日志中看不出什么,断开连接的原因很多,嗅探日志将有助于检查这一点。您还可以尝试使用另一部电话,或者因为您看到在交换存储器信息时,580上的外部设备可能存在连接问题。您还可以尝试查看SDK中的一个演示是否发生了这种情况。
由于MT_dialog