Laerdal.Dfu
1.27.206
Prefix Reserved
dotnet add package Laerdal.Dfu --version 1.27.206
NuGet\Install-Package Laerdal.Dfu -Version 1.27.206
<PackageReference Include="Laerdal.Dfu" Version="1.27.206" />
<PackageVersion Include="Laerdal.Dfu" Version="1.27.206" />
<PackageReference Include="Laerdal.Dfu" />
paket add Laerdal.Dfu --version 1.27.206
#r "nuget: Laerdal.Dfu, 1.27.206"
#:package Laerdal.Dfu@1.27.206
#addin nuget:?package=Laerdal.Dfu&version=1.27.206
#tool nuget:?package=Laerdal.Dfu&version=1.27.206
Laerdal.Dfu
A .NET MAUI binding library wrapping Nordic Semiconductor's native DFU (Device Firmware Update) SDKs for Android and iOS/MacCatalyst, giving you a single cross-platform API to update Nordic-based Bluetooth Low Energy devices over the air.
Native libraries wrapped:
- Android — Android-DFU-Library, via
Laerdal.Dfu.Bindings.Android - iOS / MacCatalyst — IOS-Pods-DFU-Library, via
Laerdal.Dfu.Bindings.iOS
Platform Support
| Platform | Supported |
|---|---|
| Android | ✅ |
| iOS | ✅ |
| MacCatalyst | ✅ |
| Windows / other | ⚠️ "dud" build only — compiles but throws at runtime; useful for desktop UI testing, see Known issues |
Installation
dotnet add package Laerdal.Dfu
Sample App
Laerdal.Dfu.Sample in this repo is a working .NET MAUI app demonstrating
BLE scanning and a full firmware-update flow using this library.
Building Locally
git clone https://github.com/Laerdal/Laerdal.Dfu.git
cd Laerdal.Dfu
dotnet build Laerdal.Dfu/Laerdal.Dfu.csproj
Building the Android/iOS/MacCatalyst targets requires the corresponding .NET MAUI workloads to be
installed locally; CI builds and publishes all targets on every push to main/master via
ci.yml.
Known issues
Using the iOS/Android flavours of this library from a desktop simulator (e.g. for general-purpose UI testing) will fail to compile. Work around it with the
-force-dudbuild ofLaerdal.Dfu:<PackageReference Include="Laerdal.Dfu" Version="x.y.z-force-dud"> <NoWarn>$(NoWarn);NU1605</NoWarn> </PackageReference>Or, for iOS specifically (SDK 18.x and below only), override just the native binding instead:
<PackageReference Include="Laerdal.Dfu.Bindings.iOS" Version="x.y.z-ios-sim-arm64"> <NoWarn>$(NoWarn);NU1605</NoWarn> </PackageReference>Laerdal.Dfu.Bindings.Android(a dependency of this package) hardcodes its own AndroidTargetPlatformVersionrather than floating it the way this project does — see that repo's own README "Known issues" for why that's a latent risk, not yet a live one. If an Android DFU build ever starts silently misbehaving after bumping either project'sTargetPlatformVersion, check there first.
License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-android36.0 is compatible. net10.0-browser was computed. net10.0-ios was computed. net10.0-ios26.5 is compatible. net10.0-maccatalyst was computed. net10.0-maccatalyst26.5 is compatible. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Maui.Controls (>= 10.0.20)
- Microsoft.Maui.Controls.Compatibility (>= 10.0.20)
-
net10.0-android36.0
- Laerdal.Dfu.Bindings.Android (>= 2.11.0.43910)
- Microsoft.Maui.Controls (>= 10.0.20)
- Microsoft.Maui.Controls.Compatibility (>= 10.0.20)
-
net10.0-ios26.5
- Laerdal.Dfu.Bindings.iOS (>= 4.17.0.44005)
- Microsoft.Maui.Controls (>= 10.0.20)
- Microsoft.Maui.Controls.Compatibility (>= 10.0.20)
- Microsoft.NET.ILLink.Tasks (>= 10.0.11)
-
net10.0-maccatalyst26.5
- Laerdal.Dfu.Bindings.MacCatalyst (>= 4.17.0.44005)
- Microsoft.Maui.Controls (>= 10.0.20)
- Microsoft.Maui.Controls.Compatibility (>= 10.0.20)
- Microsoft.NET.ILLink.Tasks (>= 10.0.11)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.27.206 | 80 | 9/8/2026 |
| 1.27.206-force-dud | 71 | 9/8/2026 |
| 1.27.205 | 100 | 9/2/2026 |
| 1.27.205-force-dud | 84 | 9/2/2026 |
| 1.27.204 | 84 | 9/2/2026 |
| 1.27.204-force-dud | 83 | 9/2/2026 |
| 1.27.203 | 163 | 8/17/2026 |
| 1.27.203-force-dud | 115 | 8/17/2026 |
| 1.27.202 | 148 | 8/3/2026 |
| 1.27.202-force-dud | 107 | 8/3/2026 |
| 1.27.201 | 168 | 7/31/2026 |
| 1.27.201-force-dud | 105 | 7/31/2026 |
| 1.27.200 | 123 | 7/31/2026 |
| 1.27.200-force-dud | 106 | 7/31/2026 |
| 1.27.192 | 180 | 6/16/2026 |
| 1.27.192-force-dud | 122 | 6/16/2026 |
| 1.27.173 | 6,494 | 12/19/2025 |
| 1.27.173-force-dud | 1,048 | 12/19/2025 |
| 1.27.171 | 307 | 12/19/2025 |
| 1.27.171-force-dud | 263 | 12/19/2025 |