fengqiangboy / flutter-nordic-dfu

Flutter Nordic dfu
MIT License
109 stars 76 forks source link

Multiple Downloads #27

Closed jhewitt closed 3 years ago

jhewitt commented 3 years ago

I am attempting to download both a boot loader and new firmware package. I can pass the firmware update to the dfuStart() module and it succeeds and reconnects with the new firmware. When I try the boot loader and then follow up after the boot loader completes with the firmware module, I see connect errors being generated. Should I be sending the separate files in separate dfuStart() calls or should all files be contained in a single zip file download?

Seeing the following errors after the second download. D/BluetoothGatt(18048): onClientRegistered() - status=0 clientIf=25 D/ViewRootImpl@7da5ab5MainActivity: ViewPostIme pointer 0 D/ViewRootImpl@7da5ab5MainActivity: ViewPostIme pointer 1 D/BluetoothGatt(18048): onClientConnectionState() - status=133 clientIf=25 device=DD:ED:34:E0:BF:D3 E/DfuBaseService(18048): Connection state change error: 133 newState: 0 E/DfuBaseService(18048): An error occurred while connecting to the device:133

jhewitt commented 3 years ago

This has been resolved.