Laerdal.Dfu 1.27.41

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.41                
NuGet\Install-Package Laerdal.Dfu -Version 1.27.41                
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.41" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Laerdal.Dfu --version 1.27.41                
#r "nuget: Laerdal.Dfu, 1.27.41"                
#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.
// Install Laerdal.Dfu as a Cake Addin
#addin nuget:?package=Laerdal.Dfu&version=1.27.41

// Install Laerdal.Dfu as a Cake Tool
#tool nuget:?package=Laerdal.Dfu&version=1.27.41                

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. 
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.138 452 11/15/2024
1.27.136 794 11/15/2024
1.27.135 125 11/14/2024
1.27.134 111 11/13/2024
1.27.132 83 11/13/2024
1.27.126 104 11/12/2024
1.27.120 98 11/12/2024
1.27.118 88 11/12/2024
1.27.117 90 11/12/2024
1.27.116 91 11/12/2024
1.27.113 90 11/12/2024
1.27.110 128 11/8/2024
1.27.105 122 10/30/2024
1.27.104 314 10/30/2024
1.27.102 229 10/30/2024
1.27.98 674 9/13/2024
1.27.96 116 9/13/2024
1.27.95 99 9/13/2024
1.27.90 146 9/5/2024
1.27.84 125 9/4/2024
1.27.82 2,221 5/23/2024
1.27.80 140 5/23/2024
1.27.77 103 5/22/2024
1.27.76 147 5/16/2024
1.27.74 113 5/16/2024
1.27.73 177 5/15/2024
1.27.63 349 5/7/2024
1.27.62 129 5/7/2024
1.27.60 144 4/15/2024
1.27.56 122 4/12/2024
1.27.52 121 4/11/2024
1.27.51 107 4/11/2024
1.27.44 111 4/11/2024
1.27.43 112 4/11/2024
1.27.41 109 4/11/2024
1.27.12 133 3/25/2024
1.27.8 542 9/5/2023
1.27.7 174 9/1/2023
1.27.5 1,985 8/21/2023
1.27.2-xamarin-9.44805 201 9/12/2023
1.27.2-xamarin-7.44558 83 9/5/2023
1.27.2-xamarin-6.44535 91 9/1/2023
1.27.2-xamarin-4.43863 93 8/21/2023
1.27.2-xamarin-10.45630 107 10/3/2023
1.25.3-framinosona-phy-opti... 474 4/11/2023
1.25.3-framinosona-phy-opti... 125 3/31/2023
1.25.3-framinosona-phy-opti... 141 3/29/2023
1.25.3-framinosona-phy-opti... 124 3/28/2023
1.25.2 6,143 11/15/2022
1.20.17 385 11/7/2022
1.20.15 711 8/9/2022
0.7.0 14,643 1/24/2022
0.6.0 2,649 8/26/2021
0.5.0 365 8/26/2021
0.4.0 373 8/25/2021
0.3.1-beta0008 222 8/18/2021
0.3.1-beta0004 264 8/4/2021
0.3.1-beta0001 253 8/4/2021
0.3.0 478 8/3/2021
0.2.18-beta0008 221 8/3/2021
0.2.18-beta0004 251 8/3/2021
0.2.18-beta0001 238 8/2/2021
0.2.17 1,390 7/20/2021
0.2.16-beta0021 1,259 6/10/2021
0.2.16-beta0012 1,547 5/10/2021
0.2.16-beta0004 444 5/1/2021
0.2.16-beta0003 554 5/1/2021
0.2.16-beta0001 567 4/27/2021
0.2.16-beta.31 194 7/20/2021
0.2.15 1,452 4/27/2021
0.2.15-beta0001 426 4/27/2021
0.2.14 1,017 4/23/2021
0.2.14-beta0003 439 4/23/2021
0.2.14-beta0001 570 4/20/2021
0.2.13 897 4/19/2021
0.2.13-beta 519 4/19/2021
0.2.10 809 4/12/2021
0.2.10-beta.1 314 4/12/2021
0.2.9 734 4/12/2021
0.2.9-beta.1 355 4/12/2021
0.2.8 896 4/9/2021
0.2.8-beta.5 340 4/6/2021
0.2.8-beta.2 296 4/6/2021
0.2.7 899 3/23/2021
0.2.7-beta.6 346 3/23/2021
0.2.7-beta.3 382 3/23/2021
0.2.7-beta.1 347 3/23/2021
0.2.6 839 3/23/2021
0.2.6-beta.6 404 3/23/2021
0.2.6-beta.3 357 3/19/2021
0.2.6-beta.1 203 3/10/2021
0.2.5 362 3/9/2021
0.2.5-beta.1 183 3/9/2021
0.2.4 365 3/9/2021
0.2.4-beta.14 199 3/9/2021
0.2.4-beta.9 182 3/9/2021
0.2.4-beta.8 186 3/9/2021
0.2.4-beta.5 168 3/8/2021