DSoft.System.BluetoothLe
2.0.2110.291
dotnet add package DSoft.System.BluetoothLe --version 2.0.2110.291
NuGet\Install-Package DSoft.System.BluetoothLe -Version 2.0.2110.291
<PackageReference Include="DSoft.System.BluetoothLe" Version="2.0.2110.291" />
paket add DSoft.System.BluetoothLe --version 2.0.2110.291
#r "nuget: DSoft.System.BluetoothLe, 2.0.2110.291"
// Install DSoft.System.BluetoothLe as a Cake Addin #addin nuget:?package=DSoft.System.BluetoothLe&version=2.0.2110.291 // Install DSoft.System.BluetoothLe as a Cake Tool #tool nuget:?package=DSoft.System.BluetoothLe&version=2.0.2110.291
DSoft.System.BluetoothLe
Cross-platform Bluetooth Low Energy library, based on Plugin.BLE , for Xamarin.iOS, Xamarin.Android, Xamarin.Mac, UWP(Preview), WPF for.Net Core 3.x and .Net Framework 4.6.1+(Preview - Windows 10 only), TVOS(Preview) and WatchOS(Preview), Tizen(coming soon)
.Net Core 3.x support
We have had added .Net Core and .Net Framework 4.6.1+ support for Windows using the Windows RT API using Microsoft.Windows.SDK.Contracts
. The UWP,.Net Core and .Net Framework implementations are essentially the same as they use the same APIs. We have duplicated ObservableBluetoothLeDevice
from Windows Community Toolkit as it doesn't work with Microsoft.Windows.SDK.Contracts
, .Net Core or .Net Framework. ObservableBluetoothLeDevice
has been modified to use the WPF Application dispatcher on .Net Core and .Net framework.
Note: .Net Core and .Net Framework support requires Windows 10 - version 1803 and above
Plugin.BLE
As of 1st of June 2020 this is essentially Plugin.BLE repackaged in a single Multi-target project with additional preview support for TVOS, WatchOS and .Net Core 3.x and .Net Framework 4.6.1+. Mac support is fixed(there is a Plugin.BLE issue with Assembly names when using Xamarin.Forms and Xamarin.Mac), based on the UWP branch.
Divergence
I have migrated the source code to single Multi-target library and added support for TVOS, .Net Core and WatchOS(untested). Additionally, I have moved away from Base classes (DeviceBase
, AdapterBase
etc) and are using multi-targeted partial classes instead.
I have changed the namespaces from Plugin.BLE
to System.BluetoothLe
and the main class from CrossBluetoothLe
to BluetoothLe
This allows for seperation of the projects but also a fair amount of drop-in-ability for anyone using Plugin.BLE
The docs on Plugin.BLE should still be acurrate, with the changes noted above taken into consideration.
Preview
Xamarin.iOS, Xamarin.Android and Xamarin.Mac should be considered stable, as they are in Plugin.BLE.
All other platforms are in preview and essentially untested and compile without issue only.
This is a work in progress and although its based on a stable library, this will change and no guarenteee is made about the API at this stage or the stability of the library.
RoadMap
The first step is to stabilize the API and supported platforms and then extend to other platforms (Tizen, UWP, WPF/Net Core).
New docs and samples
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net5.0-windows10.0.17763 is compatible. 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-ios was computed. 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. monoandroid90 is compatible. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 is compatible. tizen60 was computed. |
Universal Windows Platform | uap10.0.17763 is compatible. |
Xamarin.iOS | xamarinios was computed. xamarinios10 is compatible. |
Xamarin.Mac | xamarinmac was computed. xamarinmac20 is compatible. |
Xamarin.TVOS | xamarintvos was computed. xamarintvos10 is compatible. |
Xamarin.WatchOS | xamarinwatchos was computed. xamarinwatchos10 is compatible. |
-
.NETCoreApp 3.1
- Microsoft.Windows.SDK.Contracts (>= 10.0.17763.1000)
-
.NETFramework 4.6.1
- Microsoft.Windows.SDK.Contracts (>= 10.0.17763.1000)
-
.NETStandard 2.0
- No dependencies.
-
MonoAndroid 9.0
- No dependencies.
-
net5.0-windows10.0.17763
- No dependencies.
-
Tizen 4.0
- Tizen.NET (>= 8.0.0.15631)
-
UAP 10.0.17763
- No dependencies.
-
Xamarin.iOS 1.0
- No dependencies.
-
Xamarin.Mac 2.0
- No dependencies.
-
Xamarin.TVOS 1.0
- No dependencies.
-
Xamarin.WatchOS 1.0
- No dependencies.
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 |
---|---|---|
2.0.2110.291 | 2,379 | 10/30/2021 |
2.0.2109.301 | 382 | 9/30/2021 |
2.0.2108.171 | 370 | 8/17/2021 |
2.0.2107.141 | 430 | 7/14/2021 |
2.0.2107.132 | 384 | 7/13/2021 |
2.0.2107.131 | 371 | 7/13/2021 |
2.0.2106.104 | 461 | 6/15/2021 |
2.0.2010.51-prerelease | 391 | 10/5/2020 |
2.0.2010.21-prerelease | 355 | 10/2/2020 |
2.0.2009.301-prerelease | 299 | 9/30/2020 |
2.0.2006.222-prerelease | 350 | 6/22/2020 |
2.0.2006.191-prerelease | 383 | 6/19/2020 |
2.0.2006.181-prerelease | 368 | 6/18/2020 |
2.0.2006.152-prerelease | 378 | 6/15/2020 |
1.0.2006.52 | 601 | 6/5/2020 |
- Ported changes from PluginBle
- Added NET 5.x support
- Updated .NetCore to 3.1
- Update windows apis to 10.0.17763.1000