Laerdal.Dfu.Bindings.Android 2.11.0.43914

Prefix Reserved
dotnet add package Laerdal.Dfu.Bindings.Android --version 2.11.0.43914
                    
NuGet\Install-Package Laerdal.Dfu.Bindings.Android -Version 2.11.0.43914
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Laerdal.Dfu.Bindings.Android" Version="2.11.0.43914" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Laerdal.Dfu.Bindings.Android" Version="2.11.0.43914" />
                    
Directory.Packages.props
<PackageReference Include="Laerdal.Dfu.Bindings.Android" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Laerdal.Dfu.Bindings.Android --version 2.11.0.43914
                    
#r "nuget: Laerdal.Dfu.Bindings.Android, 2.11.0.43914"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Laerdal.Dfu.Bindings.Android@2.11.0.43914
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Laerdal.Dfu.Bindings.Android&version=2.11.0.43914
                    
Install as a Cake Addin
#tool nuget:?package=Laerdal.Dfu.Bindings.Android&version=2.11.0.43914
                    
Install as a Cake Tool

Laerdal.Dfu.Bindings.Android

CI NuGet NuGet Downloads .NET License

A .NET MAUI/Xamarin binding library over Nordic Semiconductor's native Android DFU (Device Firmware Update) SDK, letting .NET code drive firmware updates on Nordic-based Bluetooth Low Energy devices over Android.

Native library wrapped: Android-DFU-Library (currently 2.11.0).

This package is a thin, largely 1:1 binding of Nordic's Java API — most consumers should use Laerdal.Dfu instead, which wraps this binding (plus its iOS/MacCatalyst counterpart) behind a single cross-platform C# API. Reach for this package directly only if you need the raw Nordic API surface without Laerdal.Dfu's abstraction.

Platform Support

Platform Supported
Android ✅ (API 21+)
Other ❌ — Android-only binding

Installation

dotnet add package Laerdal.Dfu.Bindings.Android

Building Locally

git clone https://github.com/Laerdal/Laerdal.Dfu.Bindings.Android.git
cd Laerdal.Dfu.Bindings.Android
dotnet build Laerdal.Dfu.Bindings.Android/Laerdal.Dfu.Bindings.Android.csproj

Requires the .NET MAUI Android workload (dotnet workload restore) and a JDK (CI uses 17). The build downloads Nordic's .aar and a matching Gson .jar straight from Maven Central during dotnet restore — no local gradle setup needed, despite this being a Java-library binding.

Known Issues

  • Xamarin.AndroidX.LocalBroadcastManager must stay an explicit dependency. Since the Android SDK 36 build-tools upgrade (~December 2025), omitting this pin causes "missing symbol" errors in consuming apps at build time, even though nothing in this binding's own Java sources changed — see PR #12.
  • The bundled Gson .jar is downloaded but deliberately excluded from binding/packaging (Laerdal.Dfu.Bindings.Android.csproj's AndroidLibrary/AndroidJavaLibrary Remove items) — Nordic's own .aar needs Gson on the classpath to compile against, but this project doesn't want to ship a full Gson C# binding alongside it. The csproj comment citing Android-DFU-Library#428 as the reason is likely a mislabeled reference — that issue is about an unrelated values.xml string-formatting build error, not Gson. The real history is closer to #218 (a long-since-fixed missing-Gson-in-POM issue from 2019), but that doesn't explain the exclusion either. Don't treat either issue number as authoritative without further digging; don't remove the exclusion without testing first.

License

BSD 3-Clause

Product Compatible and additional computed target framework versions.
.NET net10.0-android36.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Laerdal.Dfu.Bindings.Android:

Package Downloads
Laerdal.Dfu

Wrapper around Nordic.Dfu

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.11.0.43914 137 9/8/2026
2.11.0.43913 128 9/2/2026
2.11.0.43912 128 9/2/2026
2.11.0.43911 116 8/14/2026
2.11.0.43910 229 8/13/2026
2.9.0.43909 108 8/12/2026
2.9.0.43908 6,667 12/19/2025
2.9.0.43904 10,989 3/5/2025
2.7.0.43903 474 11/12/2024
2.7.0.43895 7,741 11/8/2024
2.7.0.43894 305 11/8/2024
2.5.0.43891 1,847 5/24/2024
2.4.2.43886 316 5/23/2024 2.4.2.43886 is deprecated because it has critical bugs.
2.3.0.43888 2,354 5/23/2024
2.3.0.43877 294 5/13/2024
2.3.0.43876 631 4/12/2024
2.3.0.43873 324 4/12/2024 2.3.0.43873 is deprecated because it has critical bugs.
2.3.0.43868 307 4/11/2024 2.3.0.43868 is deprecated because it has critical bugs.
2.3.0.43861 324 4/11/2024 2.3.0.43861 is deprecated because it has critical bugs.
2.3.0.43685 538 3/24/2024
Loading failed