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
<PackageReference Include="Laerdal.Dfu.Bindings.Android" Version="2.11.0.43914" />
<PackageVersion Include="Laerdal.Dfu.Bindings.Android" Version="2.11.0.43914" />
<PackageReference Include="Laerdal.Dfu.Bindings.Android" />
paket add Laerdal.Dfu.Bindings.Android --version 2.11.0.43914
#r "nuget: Laerdal.Dfu.Bindings.Android, 2.11.0.43914"
#:package Laerdal.Dfu.Bindings.Android@2.11.0.43914
#addin nuget:?package=Laerdal.Dfu.Bindings.Android&version=2.11.0.43914
#tool nuget:?package=Laerdal.Dfu.Bindings.Android&version=2.11.0.43914
Laerdal.Dfu.Bindings.Android
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.LocalBroadcastManagermust 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
.jaris downloaded but deliberately excluded from binding/packaging (Laerdal.Dfu.Bindings.Android.csproj'sAndroidLibrary/AndroidJavaLibrary Removeitems) — Nordic's own.aarneeds 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 unrelatedvalues.xmlstring-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
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. |
-
net10.0-android36.0
- Xamarin.AndroidX.LocalBroadcastManager (>= 1.1.0.22)
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.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.43868 | 307 | 4/11/2024 | |
| 2.3.0.43861 | 324 | 4/11/2024 | |
| 2.3.0.43685 | 538 | 3/24/2024 |