flutter_blue icon indicating copy to clipboard operation
flutter_blue copied to clipboard

Over the Air (OTA) Device Firmware Updates (DFU)

Open LiveRock opened this issue 6 years ago • 8 comments
trafficstars

Over the Air (OTA) Device Firmware Updates (DFU)

Hi

Is there an example where I can use flutter_blue to perform OTA firmware updates to a device?

LiveRock avatar Jun 27 '19 13:06 LiveRock

This is working for me on Android but I am having some difficulty with iOS. I believe it has to do with how iOS creates a UUID instead of using the MAC address like Android. Any ideas on how to fix that? https://github.com/fengqiangboy/flutter-nordic-dfu

jthansen avatar Jun 27 '19 18:06 jthansen

Who has experience using the Cypress BLE chipset or BLE module? https://www.cypress.com/part/cyble-214015-01

LiveRock avatar Jul 09 '19 05:07 LiveRock

I am the same question

LiangLuDev avatar Jul 23 '19 06:07 LiangLuDev

You can send the update firmware file in multiple parts, in my case my file has 740k bytes. I divided into multiples parts of 448 bytes (payload) + protocol packets. You need to configure MTU mine is 500) and for > Android 8 devices, you need the Connection Priority. This OTA process in the best conditions, take me 3 minutes max.

pauloamaral93 avatar Oct 31 '19 11:10 pauloamaral93

i have ,bin file that has to be updated on nrf device using flutter.. can some one help me on this. The link below requires .zip file https://github.com/fengqiangboy/flutter-nordic-dfu

there is "nrfutil" tool to convert hex to .zip file in order to update but that is not working.

nrf device manager facilitates to upload .bin file however the same needs to be used for custom app, how can i go about implementing the same..

WallySciAdmin avatar Dec 10 '21 15:12 WallySciAdmin

Hi there, you can use flutter_ota package on pub dev : https://pub.dev/packages/flutter_ota

MinhalWaheed2001 avatar Feb 19 '24 07:02 MinhalWaheed2001

Hi there, you can use flutter_ota package on pub dev : https://pub.dev/packages/flutter_ota

Is there any already developed app using flutter?

faizannazir avatar Mar 01 '24 15:03 faizannazir

@faizannazir You can use the example app mentioned in the README.md file of flutter_ota package to test it. Already developed app using this package isnt available till now.

MinhalWaheed2001 avatar Mar 02 '24 07:03 MinhalWaheed2001