Skip to content

DFU Service Not Disconnecting and Restarting After Unplanned Disconnections #432

@YassineBerriri

Description

@YassineBerriri

Version

2.2.x

Ask the question

I am encountering a problem with the DFU process in my Android application. Specifically, when I stop scanning for the device or disconnect during the middle of the DFU process, the expected callbacks onError or onAbort in the DFU service listener are not triggered. Consequently, the DFU service fails to disconnect properly. This issue becomes evident when I attempt to rescan for the device and initiate the DFU process again, as it does not start as expected.

The figure below illustrates the issue that interrupts the DFU

Capture d'écran 2024-01-26 130340

The notification displayed in the interface below indicates an ongoing process. However, the notification remains active for an extended period and does not lead to a disconnection as expected.

Screenshot_20240126-124331_AK_Config_dev

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions