Skip to content
pubscout

nordic_dfu

8.1.0, released 2 months ago by steenbakker.dev

Perform Device Firmware Updates on Nordic nRF51 and nRF52 chips.

$ flutter pub add nordic_dfu
Source repository

What it does

Allows Flutter apps to execute a Device Firmware Update (DFU) of Nordic Semiconductor nrf51 or nrf52 chips. It supports absolute file paths or asset paths, handling background updates, progress tracking, and error codes across Android, iOS, and macOS.

AI-written summary of version 8.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building a Flutter app that communicates with Nordic nRF51 or nRF52 hardware.
  • You need to perform over-the-air firmware updates (DFU) from Android, iOS, or macOS devices.

Skip it when

  • Your hardware is not manufactured by Nordic Semiconductor.
  • You do not require Bluetooth Low Energy firmware flashing capabilities in your application.

Strengths

  • Supports Android, iOS, and macOS platforms.
  • Handles parallel DFU processes on multiple devices.
  • Supports passing firmware files via absolute path or asset path.

Weaknesses

  • Android individual DFU cancellation is not supported due to underlying library limitations.
  • Requires explicit configuration of platform-specific Bluetooth permissions.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
0

Requires adding appropriate Bluetooth permissions (such as BLUETOOTH_SCAN and ACCESS_FINE_LOCATION) to your AndroidManifest.xml depending on the targeted API levels.

await NordicDfu().startDfu('EB:75:AD:E3:CA:CF', 'assets/file.zip', fileInAsset: true);

Alternatives

Packages that do the same job and could replace nordic_dfu.