You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue in DFU library, e.g. upload stops in the middle
Version
2.2.x
Describe the issue
When executing write data, if the device is disconnected, it may fail to write but DfuException, and then DfuBaseService will get stuck in waitUntilDisconnected() when it goes to disconnect.
Relevant log output
2024-06-26 11:23:44.197 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:1%
2024-06-26 11:23:44.210 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:2%
2024-06-26 11:23:44.225 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:3%
2024-06-26 11:23:44.228 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:4%
2024-06-26 11:23:44.231 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:5%
2024-06-26 11:23:44.233 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:6%
2024-06-26 11:23:44.436 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:7%
2024-06-26 11:23:44.440 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:8%
2024-06-26 11:23:44.457 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:9%
2024-06-26 11:23:44.457 12761-13145 DfuImpl com.lonbon.agencymanage_test I Sending Calculate Checksum command (Op Code = 3)
2024-06-26 11:23:44.459 12761-12761 LogUtil com.lonbon.agencymanage_test D F2:BE:E5:F2:F6:46-1-[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
2024-06-26 11:23:44.461 12761-12761 dfu com.lonbon.agencymanage_test E onLogEvent: [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
2024-06-26 11:23:44.461 12761-12761 LogUtil com.lonbon.agencymanage_test D F2:BE:E5:F2:F6:46-0-[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
2024-06-26 11:23:44.463 12761-12761 dfu测试 com.lonbon.agencymanage_test E onLogEvent: [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
2024-06-26 11:23:50.439 12761-13043 DfuImpl com.lonbon.agencymanage_test E Characteristic write error: 133
2024-06-26 11:23:50.440 12761-13043 BluetoothGatt com.lonbon.agencymanage_test D onClientConnectionState() - status=0 clientIf=10 device=F2:BE:E5:F2:F6:46
2024-06-26 11:23:50.441 12761-13145 DfuBaseService com.lonbon.agencymanage_test E Unable to write Op Code 3 (error 133)
2024-06-26 11:23:50.444 12761-13043 DfuBaseService com.lonbon.agencymanage_test I Disconnected from GATT server
2024-06-26 11:23:50.446 12761-12761 LogUtil com.lonbon.agencymanage_test D F2:BE:E5:F2:F6:46-20-[DFU] Error (0x85): GATT ERROR
2024-06-26 11:23:50.449 12761-12761 dfu com.lonbon.agencymanage_test E onLogEvent: [DFU] Error (0x85): GATT ERROR
2024-06-26 11:23:50.450 12761-12761 LogUtil com.lonbon.agencymanage_test D F2:BE:E5:F2:F6:46-1-[DFU] Disconnecting...
2024-06-26 11:23:50.451 12761-13145 DfuBaseService com.lonbon.agencymanage_test I Disconnecting from the device...
2024-06-26 11:23:50.452 12761-13145 BluetoothGatt com.lonbon.agencymanage_test D cancelOpen() - device: F2:BE:E5:F2:F6:46
2024-06-26 11:23:50.452 12761-12761 dfu com.lonbon.agencymanage_test E onLogEvent: [DFU] Disconnecting...
The text was updated successfully, but these errors were encountered:
Where do you suspect the issue?
Issue in DFU library, e.g. upload stops in the middle
Version
2.2.x
Describe the issue
When executing write data, if the device is disconnected, it may fail to write but DfuException, and then DfuBaseService will get stuck in waitUntilDisconnected() when it goes to disconnect.
Relevant log output
2024-06-26 11:23:44.197 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:1%
2024-06-26 11:23:44.210 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:2%
2024-06-26 11:23:44.225 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:3%
2024-06-26 11:23:44.228 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:4%
2024-06-26 11:23:44.231 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:5%
2024-06-26 11:23:44.233 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:6%
2024-06-26 11:23:44.436 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:7%
2024-06-26 11:23:44.440 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:8%
2024-06-26 11:23:44.457 12761-12761 LogUtil com.lonbon.agencymanage_test D 设备升级中,请勿进行其他操作:9%
2024-06-26 11:23:44.457 12761-13145 DfuImpl com.lonbon.agencymanage_test I Sending Calculate Checksum command (Op Code = 3)
2024-06-26 11:23:44.459 12761-12761 LogUtil com.lonbon.agencymanage_test D F2:BE:E5:F2:F6:46-1-[DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
2024-06-26 11:23:44.461 12761-12761 dfu com.lonbon.agencymanage_test E onLogEvent: [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
2024-06-26 11:23:44.461 12761-12761 LogUtil com.lonbon.agencymanage_test D F2:BE:E5:F2:F6:46-0-[DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
2024-06-26 11:23:44.463 12761-12761 dfu测试 com.lonbon.agencymanage_test E onLogEvent: [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50)
2024-06-26 11:23:50.439 12761-13043 DfuImpl com.lonbon.agencymanage_test E Characteristic write error: 133
2024-06-26 11:23:50.440 12761-13043 BluetoothGatt com.lonbon.agencymanage_test D onClientConnectionState() - status=0 clientIf=10 device=F2:BE:E5:F2:F6:46
2024-06-26 11:23:50.441 12761-13145 DfuBaseService com.lonbon.agencymanage_test E Unable to write Op Code 3 (error 133)
2024-06-26 11:23:50.444 12761-13043 DfuBaseService com.lonbon.agencymanage_test I Disconnected from GATT server
2024-06-26 11:23:50.446 12761-12761 LogUtil com.lonbon.agencymanage_test D F2:BE:E5:F2:F6:46-20-[DFU] Error (0x85): GATT ERROR
2024-06-26 11:23:50.449 12761-12761 dfu com.lonbon.agencymanage_test E onLogEvent: [DFU] Error (0x85): GATT ERROR
2024-06-26 11:23:50.450 12761-12761 LogUtil com.lonbon.agencymanage_test D F2:BE:E5:F2:F6:46-1-[DFU] Disconnecting...
2024-06-26 11:23:50.451 12761-13145 DfuBaseService com.lonbon.agencymanage_test I Disconnecting from the device...
2024-06-26 11:23:50.452 12761-13145 BluetoothGatt com.lonbon.agencymanage_test D cancelOpen() - device: F2:BE:E5:F2:F6:46
2024-06-26 11:23:50.452 12761-12761 dfu com.lonbon.agencymanage_test E onLogEvent: [DFU] Disconnecting...
The text was updated successfully, but these errors were encountered: