Laerdal.Dfu 1.27.77

dotnet add package Laerdal.Dfu --version 1.27.77
NuGet\Install-Package Laerdal.Dfu -Version 1.27.77
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.77" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Laerdal.Dfu --version 1.27.77
#r "nuget: Laerdal.Dfu, 1.27.77"
#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.77

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

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 net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-android33.0 is compatible.  net7.0-ios was computed.  net7.0-ios16.1 is compatible.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.77 48 5/22/2024
1.27.76 96 5/16/2024
1.27.74 70 5/16/2024
1.27.73 102 5/15/2024
1.27.63 119 5/7/2024
1.27.62 86 5/7/2024
1.27.60 98 4/15/2024
1.27.56 85 4/12/2024
1.27.52 81 4/11/2024
1.27.51 70 4/11/2024
1.27.44 72 4/11/2024
1.27.43 72 4/11/2024
1.27.41 70 4/11/2024
1.27.12 102 3/25/2024
1.27.8 467 9/5/2023
1.27.7 133 9/1/2023
1.27.5 313 8/21/2023
1.27.2-xamarin-9.44805 151 9/12/2023
1.27.2-xamarin-7.44558 63 9/5/2023
1.27.2-xamarin-6.44535 73 9/1/2023
1.27.2-xamarin-4.43863 75 8/21/2023
1.27.2-xamarin-10.45630 80 10/3/2023
1.25.3-framinosona-phy-opti... 408 4/11/2023
1.25.3-framinosona-phy-opti... 107 3/31/2023
1.25.3-framinosona-phy-opti... 125 3/29/2023
1.25.3-framinosona-phy-opti... 102 3/28/2023
1.25.2 5,575 11/15/2022
1.20.17 337 11/7/2022
1.20.15 664 8/9/2022
0.7.0 14,408 1/24/2022
0.6.0 2,609 8/26/2021
0.5.0 328 8/26/2021
0.4.0 339 8/25/2021
0.3.1-beta0008 191 8/18/2021
0.3.1-beta0004 232 8/4/2021
0.3.1-beta0001 220 8/4/2021
0.3.0 438 8/3/2021
0.2.18-beta0008 187 8/3/2021
0.2.18-beta0004 222 8/3/2021
0.2.18-beta0001 205 8/2/2021
0.2.17 1,347 7/20/2021
0.2.16-beta0021 1,130 6/10/2021
0.2.16-beta0012 1,415 5/10/2021
0.2.16-beta0004 411 5/1/2021
0.2.16-beta0003 427 5/1/2021
0.2.16-beta0001 431 4/27/2021
0.2.16-beta.31 178 7/20/2021
0.2.15 1,255 4/27/2021
0.2.15-beta0001 300 4/27/2021
0.2.14 861 4/23/2021
0.2.14-beta0003 318 4/23/2021
0.2.14-beta0001 458 4/20/2021
0.2.13 727 4/19/2021
0.2.13-beta 427 4/19/2021
0.2.10 629 4/12/2021
0.2.10-beta.1 266 4/12/2021
0.2.9 562 4/12/2021
0.2.9-beta.1 305 4/12/2021
0.2.8 697 4/9/2021
0.2.8-beta.5 310 4/6/2021
0.2.8-beta.2 265 4/6/2021
0.2.7 736 3/23/2021
0.2.7-beta.6 314 3/23/2021
0.2.7-beta.3 330 3/23/2021
0.2.7-beta.1 314 3/23/2021
0.2.6 648 3/23/2021
0.2.6-beta.6 352 3/23/2021
0.2.6-beta.3 325 3/19/2021
0.2.6-beta.1 185 3/10/2021
0.2.5 325 3/9/2021
0.2.5-beta.1 167 3/9/2021
0.2.4 331 3/9/2021
0.2.4-beta.14 181 3/9/2021
0.2.4-beta.9 165 3/9/2021
0.2.4-beta.8 169 3/9/2021
0.2.4-beta.5 149 3/8/2021