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.
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.