flutter_nordic_dfu 0.1.0+3 copy "flutter_nordic_dfu: ^0.1.0+3" to clipboard
flutter_nordic_dfu: ^0.1.0+3 copied to clipboard

outdated

This library allows you to do a Device Firmware Update (DFU) of your nrf51 or nrf52 chip from Nordic Semiconductor. Current ,it only works for Android.

flutter-nordic-dfu pub package #

This library allows you to do a Device Firmware Update (DFU) of your nrf51 or nrf52 chip from Nordic Semiconductor. Current ,it only works for Android.

For more info about the DFU process, see: Resources

Usage #

startDFU #

Examples

await FlutterNordicDfu.startDfu(
        'EB:75:AD:E3:CA:CF', 'assets/318_nrf52810_190116_3L.zip',
        fileInAsset: true, progressListener: ProgressListenerListener());

class ProgressListenerListener extends DfuProgressListenerAdapter {
  @override
  void onProgressChanged(String deviceAddress, int percent, double speed,
      double avgSpeed, int currentPart, int partsTotal) {
    super.onProgressChanged(
        deviceAddress, percent, speed, avgSpeed, currentPart, partsTotal);
    print('deviceAddress: $deviceAddress, percent: $percent');
  }
}

Resources #

24
likes
0
pub points
64%
popularity

Publisher

unverified uploader

This library allows you to do a Device Firmware Update (DFU) of your nrf51 or nrf52 chip from Nordic Semiconductor. Current ,it only works for Android.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_nordic_dfu