Open N7k opened 4 months ago
Hello @N7k
thanks for reporting this issue!
Can you please try the latest build from the dev
branch (https://github.com/eclipse-hara/hara-ddiclient/tree/dev) that includes a fix for this?
https://jitpack.io/#eclipse-hara/hara-ddiclient/dev-de34262b2d-1
Looking forward to your feedback.
Hello @diegorondini,
Sorry for the delayed response, and thank you for addressing the issue! I've tested the latest build from the dev
branch and am pleased to confirm that it resolves the problem. Everything appears to be working smoothly now.
Could you also let me know when the next official release is planned? It would be helpful for our deployment timeline.
Thanks again for your support!
Hello!
We are utilizing the Eclipse Hara DDIClient library alongside the HawkBit server to perform OTA updates on our devices. Our implementation adheres to the examples provided in the repository. The update process works well with the
startAsync()
function. However, we encounter issues when using thestop()
function. Let me describe the process in detail.startAsync()
function to begin the OTA update process.stop()
function to interrupt the process (e.g., when a file has started downloading), for instance, by UX needs, then re-invokestartAsync()
(after reinitializing theHaraClient
as per the documentation), and at some point during the following downloading process, the application crashes.Steps to Reproduce:
HaraClient
.startAsync()
to begin the OTA update process.stop()
function to interrupt the process.HaraClient
.startAsync()
again, then wait.The application crashes with the following exception:
Additionally, after calling the
stop()
function, the following logs appear:Environment:
Library version: 2.0.0 Android version: 34 Devices: Emulators, EVT Device