Laerdal.Dfu 1.27.60

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Laerdal.Dfu --version 1.27.60
                    
NuGet\Install-Package Laerdal.Dfu -Version 1.27.60
                    
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" Version="1.27.60" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Laerdal.Dfu" Version="1.27.60" />
                    
Directory.Packages.props
<PackageReference Include="Laerdal.Dfu" />
                    
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 --version 1.27.60
                    
#r "nuget: Laerdal.Dfu, 1.27.60"
                    
#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.
#addin nuget:?package=Laerdal.Dfu&version=1.27.60
                    
Install Laerdal.Dfu as a Cake Addin
#tool nuget:?package=Laerdal.Dfu&version=1.27.60
                    
Install Laerdal.Dfu as a Cake Tool

Laerdal.Dfu

This is an Xamarin binding library for the Nordic Semiconductors Android library for updating the firmware of their devices over the air via Bluetooth Low Energy.

The Java library is located here: https://github.com/NordicSemiconductor/Android-DFU-Library

The native iOS Pod library is located here: https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library

Build status

NuGet Badge

Requirements

You'll need :

  • MacOS
    • with XCode
    • with Xamarin.iOS
    • with gradle
    • with Xamarin.Android
    • [with ObjectiveSharpie] (optional)
brew cask install objectivesharpie

More about Objective Sharpie

Steps to build on Local-Dev

1) Checkout

git clone https://github.com/Laerdal/Laerdal.Dfu.git

3) Set the MSBuild version to 15.0 in Rider's settings (MSBuild 17.0+ won't build)

4) Run build script

There are 2 sources for the iOS package : via building the release code or using the CocoaPods.

To build the nuget via building the source code, run :

./build.sh -v

You'll find the nuget in Laerdal.Dfu.Output/

Known issues

Fix : https://github.com/Laerdal/Laerdal.Dfu.iOS/issues/3#issuecomment-783298581 |

#!/usr/bin/env sh
xcode_lib_path="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos"
app_path=$1
app_name=<insert app name>
libs=("$app_path/Products/Applications/$app_name/Frameworks/"*.dylib)

for i in "${libs[@]}"
do
  cp "$xcode_lib_path/$(basename "$i")" "$app_path/SwiftSupport/iphoneos/"
  cp "$xcode_lib_path/$(basename "$i")" "$app_path/Products/Applications/$app_name/Frameworks/"
done

-- Thanks @OliverFlecke

Fix : You might need to add "--optimize=-remove-dynamic-registrar" to your apps mtouch args.

Product Compatible and additional computed target framework versions.
.NET net7.0-android33.0 is compatible.  net7.0-ios16.1 is compatible.  net8.0-android was computed.  net8.0-ios was computed.  net9.0-android was computed.  net9.0-ios was computed.  net10.0-android was computed.  net10.0-ios was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.167 597 3/18/2025
1.27.167-force-dud 139 3/18/2025
1.27.166 222 3/6/2025
1.27.166-force-dud 185 3/6/2025
1.27.165 107 2/28/2025
1.27.165-force-dud 87 2/28/2025
1.27.164 241 2/26/2025
1.27.164-force-dud 74 2/26/2025
1.27.163 82 2/26/2025
1.27.163-force-dud 72 2/26/2025
1.27.161 85 2/26/2025
1.27.161-force-dud 77 2/26/2025
1.27.160 85 2/26/2025
1.27.160-force-dud 77 2/26/2025
1.27.159 286 1/20/2025
1.27.159-force-dud 94 1/20/2025
1.27.154 99 1/16/2025
1.27.152 90 1/16/2025
1.27.149 2,873 1/15/2025
1.27.138 1,697 11/15/2024
1.27.136 1,164 11/15/2024
1.27.135 142 11/14/2024
1.27.134 122 11/13/2024
1.27.132 92 11/13/2024
1.27.126 110 11/12/2024
1.27.120 106 11/12/2024
1.27.118 98 11/12/2024
1.27.117 99 11/12/2024
1.27.116 98 11/12/2024
1.27.113 99 11/12/2024
1.27.110 136 11/8/2024
1.27.105 132 10/30/2024
1.27.104 335 10/30/2024
1.27.102 411 10/30/2024
1.27.98 678 9/13/2024
1.27.96 119 9/13/2024
1.27.95 103 9/13/2024
1.27.90 156 9/5/2024
1.27.84 128 9/4/2024
1.27.82 2,306 5/23/2024
1.27.80 145 5/23/2024
1.27.77 111 5/22/2024
1.27.76 151 5/16/2024
1.27.74 116 5/16/2024
1.27.73 180 5/15/2024
1.27.63 352 5/7/2024
1.27.62 131 5/7/2024
1.27.60 145 4/15/2024
1.27.56 128 4/12/2024
1.27.52 123 4/11/2024
1.27.51 108 4/11/2024
1.27.44 112 4/11/2024
1.27.43 114 4/11/2024
1.27.41 261 4/11/2024
1.27.12 139 3/25/2024
1.27.8 559 9/5/2023
1.27.7 185 9/1/2023
1.27.5 2,457 8/21/2023
1.27.2-xamarin-9.44805 208 9/12/2023
1.27.2-xamarin-7.44558 87 9/5/2023
1.27.2-xamarin-6.44535 95 9/1/2023
1.27.2-xamarin-4.43863 97 8/21/2023
1.27.2-xamarin-10.45630 107 10/3/2023
1.25.3-framinosona-phy-opti... 596 4/11/2023
1.25.3-framinosona-phy-opti... 141 3/31/2023
1.25.3-framinosona-phy-opti... 159 3/29/2023
1.25.3-framinosona-phy-opti... 139 3/28/2023
1.25.2 6,236 11/15/2022
1.20.17 404 11/7/2022
1.20.15 738 8/9/2022
0.7.0 14,696 1/24/2022
0.6.0 2,675 8/26/2021
0.5.0 391 8/26/2021
0.4.0 400 8/25/2021
0.3.1-beta0008 249 8/18/2021
0.3.1-beta0004 289 8/4/2021
0.3.1-beta0001 278 8/4/2021
0.3.0 504 8/3/2021
0.2.18-beta0008 246 8/3/2021
0.2.18-beta0004 282 8/3/2021
0.2.18-beta0001 264 8/2/2021
0.2.17 1,417 7/20/2021
0.2.16-beta0021 1,287 6/10/2021
0.2.16-beta0012 1,573 5/10/2021
0.2.16-beta0004 472 5/1/2021
0.2.16-beta0003 582 5/1/2021
0.2.16-beta0001 595 4/27/2021
0.2.16-beta.31 220 7/20/2021
0.2.15 1,505 4/27/2021
0.2.15-beta0001 454 4/27/2021
0.2.14 1,047 4/23/2021
0.2.14-beta0003 468 4/23/2021
0.2.14-beta0001 598 4/20/2021
0.2.13 927 4/19/2021
0.2.13-beta 547 4/19/2021
0.2.10 838 4/12/2021
0.2.10-beta.1 343 4/12/2021
0.2.9 763 4/12/2021
0.2.9-beta.1 383 4/12/2021
0.2.8 927 4/9/2021
0.2.8-beta.5 375 4/6/2021
0.2.8-beta.2 324 4/6/2021
0.2.7 930 3/23/2021
0.2.7-beta.6 375 3/23/2021
0.2.7-beta.3 411 3/23/2021
0.2.7-beta.1 377 3/23/2021
0.2.6 875 3/23/2021
0.2.6-beta.6 433 3/23/2021
0.2.6-beta.3 388 3/19/2021
0.2.6-beta.1 232 3/10/2021
0.2.5 394 3/9/2021
0.2.5-beta.1 215 3/9/2021
0.2.4 399 3/9/2021
0.2.4-beta.14 231 3/9/2021
0.2.4-beta.9 215 3/9/2021
0.2.4-beta.8 218 3/9/2021
0.2.4-beta.5 199 3/8/2021