-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement Request - DFU update using downloaded file #1
Comments
Hello, it's funny that you ask because i've been wanting to implement the exact same thing for an app i'm developing. Just at the top of my head, isn't it possible to create an async function that will A: download the zipfile from the api and B: fire the |
That was my thoughts as well. I started to go down that path but it looks like it would take a few packages and extra permissions from the user to make it happen. I looked at the Nordic Android and IOS API and it looks like there is no method to pass a binary directly. It seems like something they could add easily. Let me know what you come up with if you implement something in your project. |
@juliansteenbakker any progress update regarding this ?? |
No not yet. Im gonna see if i can get this back on track anytime soon. |
What you have to do is use a tool like flutter_downloader to download the zip to a public directory, like the downloads folder. You can give that path to this dfu utility in order to use the download. |
Hi, Thank you for maintaining this package and migrating it to null safety. I have successfully integrated it into my project using a zip file in my flutter project just like the example project and it works as expected.
In my app I'd like to be able to get the zip firmware file from an API download rather than a local file so the user will always have access to the newest firmware.
I can use an HTTP request to get the file contents but this package does not appear to have a method to update the firmware in this manner.
Would this be an enhancement that you can add or could you please point me in the right direction of some workaround?
Thank you!
The text was updated successfully, but these errors were encountered: