nrf_ble_dfu 0.0.17 copy "nrf_ble_dfu: ^0.0.17" to clipboard
nrf_ble_dfu: ^0.0.17 copied to clipboard

The Nordic DFU over BLE library helps enable firmware updates of BLE devices over Bluetooth Low Energy (BLE), for Windows, Android, iOS, Linux and macOS.

4
likes
120/ 160
pub points
119
downloads

We analyzed this package 10 hours ago, and awarded it 120 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

166 out of 293 API elements (56.7 %) have documentation comments.

Some symbols that are missing documentation: nrf_ble_dfu, nrf_ble_dfu.AutoBleDfu, nrf_ble_dfu.AutoBleDfu.AutoBleDfu.new, nrf_ble_dfu.BleConnectedDevice, nrf_ble_dfu.BleConnectedDevice.BleConnectedDevice.new.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:nrf_ble_dfu/nrf_ble_dfu.dart that declares support for platforms: Android, iOS, Windows, macOS.
Package does not support platform `Web`.

Because:

  • package:nrf_ble_dfu/nrf_ble_dfu.dart that declares support for platforms: Android, iOS, Windows, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:nrf_ble_dfu/nrf_ble_dfu.dart that imports:
  • package:nrf_ble_dfu/src/index.dart that imports:
  • package:nrf_ble_dfu/src/widget/widget.dart that imports:
  • package:nrf_ble_dfu/src/widget/ble_device_select.dart that imports:
  • package:flutter_blue_plus_windows/flutter_blue_plus_windows.dart that imports:
  • package:win_ble/win_file.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:nrf_ble_dfu/nrf_ble_dfu.dart that imports:
  • package:nrf_ble_dfu/src/index.dart that imports:
  • package:nrf_ble_dfu/src/widget/widget.dart that imports:
  • package:nrf_ble_dfu/src/widget/ble_device_select.dart that imports:
  • package:flutter_blue_plus_windows/flutter_blue_plus_windows.dart that imports:
  • package:win_ble/win_file.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:nrf_ble_dfu/nrf_ble_dfu.dart that imports:
  • package:nrf_ble_dfu/src/index.dart that imports:
  • package:nrf_ble_dfu/src/widget/widget.dart that imports:
  • package:nrf_ble_dfu/src/widget/ble_device_select.dart that imports:
  • package:flutter_blue_plus_windows/flutter_blue_plus_windows.dart that imports:
  • package:flutter_blue_plus/flutter_blue_plus.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:nrf_ble_dfu/nrf_ble_dfu.dart that imports:
  • package:nrf_ble_dfu/src/index.dart that imports:
  • package:nrf_ble_dfu/src/widget/widget.dart that imports:
  • package:nrf_ble_dfu/src/widget/ble_device_select.dart that imports:
  • package:flutter_blue_plus_windows/flutter_blue_plus_windows.dart that imports:
  • package:win_ble/win_file.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:nrf_ble_dfu/nrf_ble_dfu.dart that imports:
  • package:nrf_ble_dfu/src/index.dart that imports:
  • package:nrf_ble_dfu/src/widget/widget.dart that imports:
  • package:nrf_ble_dfu/src/widget/ble_device_select.dart that imports:
  • package:flutter_blue_plus_windows/flutter_blue_plus_windows.dart that imports:
  • package:win_ble/win_file.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

WARNING: The value of the local variable 'offset' isn't used.

lib/src/nrf_ble_dfu.dart:128:14

128late int offset;
    │              ^^^^^^
    ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/nrf_ble_dfu.dart

WARNING: The value of the local variable 'crc' isn't used.

lib/src/nrf_ble_dfu.dart:129:14

129late int crc;
    │              ^^^
    ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/nrf_ble_dfu.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
archive >=3.4.10 4.0.6 4.0.6
file_picker >=8.0.2 10.1.2 10.1.2
flutter_blue_plus_windows >=1.23.6 1.26.1 1.26.1
flutter_mobx >=2.2.1+1 2.3.0 2.3.0
mobx >=2.3.3+2 2.5.0 2.5.0
path >=1.9.0 1.9.1 1.9.1
path_provider >=2.1.3 2.1.5 2.1.5
permission_handler >=11.3.1 12.0.0+1 12.0.0+1
shared_preferences >=2.2.3 2.5.3 2.5.3
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
flutter_blue_plus - 1.34.5 1.35.4
flutter_plugin_android_lifecycle - 2.0.27 2.0.27
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
nested - 1.0.0 1.0.0
path_provider_android - 2.2.16 2.2.16
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
permission_handler_android - 13.0.1 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.2 6.0.2
provider - 6.1.4 6.1.4
shared_preferences_android - 2.4.9 2.4.9
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
stream_with_value - 0.5.0 0.5.0
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.5
web - 1.1.1 1.1.1
win32 - 5.12.0 5.12.0
win_ble - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • USE_OF_VOID_RESULT - lib/src/nrf_ble_dfu.dart:113:11 - This expression has a type of 'void' so its value can't be used.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 18Aug 15Sep 12Oct 10Nov 7Dec 5Jan 2Jan 30Feb 27Mar 27050100150200250>=0.0.0-0 <1.0.0
4
likes
120
points
119
downloads

Publisher

unverified uploader

Weekly Downloads

2024.10.03 - 2025.04.17

The Nordic DFU over BLE library helps enable firmware updates of BLE devices over Bluetooth Low Energy (BLE), for Windows, Android, iOS, Linux and macOS.

Repository (GitHub)

Topics

#nordic #nrf #ble #dfu

Documentation

API reference

License

MIT (license)

Dependencies

archive, file_picker, flutter, flutter_blue_plus_windows, flutter_mobx, mobx, path, path_provider, permission_handler, shared_preferences

More

Packages that depend on nrf_ble_dfu