Giter VIP home page Giter VIP logo

android-dfu-app's Issues

Android-DFU-App DFU SERVICE NOT FOUND

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.