Skip to content

Android-DFU-App DFU SERVICE NOT FOUND  #1

@mschuetz93

Description

@mschuetz93

Hello!

I hope someone can help me out with this issue or give me a hint:
I am using the Android DFU App (https://github.com/runtimeco/Android-DFU-App) to test updating my BLE device. I start the application, go to DFU section, upload a zip-file and connect to my device. After I hit UPLOAD, the peripheral disconnects from the client and the application shows the Toast "DFU SERVICE NOT FOUND". After researching in Google, I found the nRF Connect for Mobile application. If I update the BLE device there, everything works fine. Why is it not working in the Android DFU application?

Sadly, the source code for nRF Connect is not available so I can't check whats different there. Could it be the problem that the Android DFU App is not automatically switching the BLE device to DFU mode? What else could be the issue that the DFU service is not found? If I check all services within the nRF Connect app, the service "Secure DFU Service" is available.

Thank you in advance!

Best regards,
Markus

Edit: So after hitting UPLOAD, the callbacks of DfuProgressListenerAdapter are called in the following way:
onDeviceConnecting
onDeviceDisconnecting
onError (with error code 4102)

Also the device is bonded. I don't know if this is a problem. I am using a Pixel 3 XL with Android 9.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions