DFU service destroyed
See original GitHub issueHi I implemented DFU update library for my android application,I started DFU service and ble device updated but DFU service destroyed did not called after the Cleaning up log. Whats the problem? I share my log and thanks your advice.
V/DfuBaseService: Connecting to the device...
I/DfuBaseService: Connected to GATT server
I/DfuBaseService: Waiting 1600 ms for a possible Service Changed indication...
I/DfuBaseService: Attempting to start service discovery... succeed
I/DfuBaseService: Services discovered
I/DfuImpl: Reading DFU version number...
I/DfuImpl: Version number read: 0.8 -> Bootloader from SDK 9.0 or newer. Signature supported
I/DfuImpl: Reading Service Changed CCCD value...
W/DfuImpl: Legacy DFU bootloader found
I/DfuImpl: Enabling notifications...
I/DfuImpl: Sending Start DFU command (Op Code = 1, Upload Mode = 4)
I/DfuImpl: Sending image size array to DFU Packet (0b, 0b, 94856b)
I/DfuImpl: Sending the Initialize DFU Parameters START (Op Code = 2, Value = 0)
I/DfuImpl: Sending 14 bytes of init packet
Sending init packet (Value = FF-FF-FF-FF-FF-FF-FF-FF-01-00-67-00-A6-71)
I/DfuImpl: Sending the Initialize DFU Parameters COMPLETE (Op Code = 2, Value = 1)
I/DfuImpl: Sending Receive Firmware Image request (Op Code = 3)
I/DfuImpl: Uploading firmware...
I/DfuImpl: Response received (Op Code = 16, Req Op Code = 3, Status = 1)
I/DfuImpl: Transfer of 94856 bytes has taken 49047 ms
Sending Validate request (Op Code = 4)
I/DfuImpl: Response received (Op Code = 16, Req Op Code = 4, Status = 1)
I/DfuImpl: Sending Activate and Reset request (Op Code = 5)
W/DfuBaseService: Target device disconnected with status: 8
DfuBaseService: Cleaning up...
I/DfuBaseService: Action received: android.bluetooth.device.action.ACL_DISCONNECTED
I/DfuBaseService: Action received: android.bluetooth.device.action.ACL_CONNECTED
I/DfuBaseService: Connecting to the device...
I/DfuBaseService: Connected to GATT server
I/DfuBaseService: Waiting 1600 ms for a possible Service Changed indication...
I/DfuBaseService: Attempting to start service discovery... succeed
D/BluetoothGatt: onSearchComplete() = Device=DD:26:80:7F:D3:8B Status=0
I/DfuBaseService: Services discovered
I/DfuImpl: Reading DFU version number...
I/DfuImpl: Version number read: 20.0 -> Unknown version
I/DfuImpl: Reading Service Changed CCCD value...
I/DfuImpl: Enabling indications...
W/DfuImpl: Legacy DFU bootloader found
I/DfuImpl: Enabling notifications...
I/DfuImpl: Sending Start DFU command (Op Code = 1, Upload Mode = 4)
E/DfuImpl: Characteristic write error: 3
E/DfuBaseService: Unable to write Op Code 1 (error 3)
I/DfuBaseService: Disconnecting from the device...
D/BluetoothGatt: cancelOpen() - device: DD:26:80:7F:D3:8B
I/DfuBaseService: Disconnected from GATT server
I/DfuBaseService: Cleaning up...
I/DfuBaseService: DFU service destroyed
DFU service starting twice but I don’t know why?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
DFU App Crash - Bad notification for startForeground
I was using Nordic Semi - android DFU Library implementation 'no.nordicsemi. ... I/DfuBaseService: DFU service destroyed
Read more >Bluetooth in DFU mode: connection always fails for some ...
I finally managed to get it working thanks to philips77. I was using BluetoothLeScanner with a delayed batch report, through ScanSettings .
Read more >no.nordicsemi.android.dfu.DfuCallback.abort java code examples ...
DfuCallback.abort (Showing top 2 results out of 315) ... mFirmwareInputStream = null; mInitFileInputStream = null; } logi("DFU service destroyed"); }.
Read more >Ruuvi Firmware 2.3.0-beta - DFU service closed by default?
Surely a user concerned about having their tag hijacked or destroyed is going to write their own firmware. fejesjoco October 5, 2018, 8:10pm...
Read more >nRF51822-Arduino-Mbed-smart-watch/Lobby - Gitter
In the log, it shows that GATT error and DFU service destroyed. Please let me know, what might be going. Do I need...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I found the problem thanks a lot .I am closing the issue
Yes I am using ZIP file and there is not anything else ,only one dat and bin files.But I used buttonless DFU version and I started only one time.How can I kill DFU Base service manually or something like that?