Plugin.BLE 2.1.2

Xamarin plugin to access Bluetooth Low Energy functionality on Android and iOS.
     Read the full documentation on the projects page.

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package Plugin.BLE -Version 2.1.2
dotnet add package Plugin.BLE --version 2.1.2
<PackageReference Include="Plugin.BLE" Version="2.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Plugin.BLE --version 2.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Plugin.BLE, 2.1.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Plugin.BLE as a Cake Addin
#addin nuget:?package=Plugin.BLE&version=2.1.2

// Install Plugin.BLE as a Cake Tool
#tool nuget:?package=Plugin.BLE&version=2.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

[2.1.2]
     - Correctly close a gatt when a connection attempt is cancelled (fixes #484)
     - Use NSBluetoothAlwaysUsageDescription in iOS and macOS samples (fixes #455, #498)
     - Android: enable BT5 advertising extensions (fixes #495)
     - Fixed cake build and updated build instructions (fixes #492)
     - Added locking to DeviceBase.KnownServices (fixes #406)
     - Updated Mac project to output the same filename as the other platforms (fixes #430, #491)
     - Added iOS/Mac support for 32-bit and 16-bit Service UUIDs (fixes #445)
     [2.1.1]
     - iOS #373, #377 Fixed trace ouptut that caused NRE.
     [2.1.0]
     - Use IReadOnlyLists for Services/ Charactersitics/ Descriptors and concurrent collections for DiscoveredDevices/ConnectedDevices
Should prevent crashes like: #320
     - #54 MacOS support
     [2.1.0-pre1]
     - #54 macOS support
     [2.0.1]
     - Fix #367
     [2.0.0]
     - .NETStandard 2.0
     - Merge PR #365 (NRE), #358, #359, #341, #314, #332, #331, #329, #307
     - Update to package references/ update sample apps/ update libraries
     [2.0.0-pre1]
     - NETStandard 1.0
     - Merge PR #298, #289, #290, #263
     [1.3.0] (stable)
     - Stable release including all the 1.3.0-beta.x previous releases.
     - Merge pull request #229 and #224 which fixed #227 set descriptor for android characteristic stop notify.
     [1.3.0-beta.3]
     - Merge pull request #200. Possibility to change ConnectionPriority/ ConnectionInterval for Android
     [1.3.0-beta.2]
     - #198 Android. Clear cached services, characteristics etc on signal loss
     [1.3.0-beta.1]
     - Merge PR #195 Request MTU
     [1.3.0-alpha.1]
     - GATT callback refactoring
     [1.2.3]
     - #183: Android fixed UpdateRssiAsync
     [1.2.2]
     - #136: Added support for scan modes
     [1.2.1]
     - Merge PR #157 iOS add support for NSString descriptor values
     - Merge PR #148 Added a boolean (forceBleTransport) to force the use of transport parameter to BLE in connectGatt method in Android
     - Breaking changes: ConnectDeviceAsync optional parameters are now encapsulated in a ConnectParameter class
     [1.2.0]
     - #150 iOS: No disconnect when the connect CancelationToken is cancelled after a successful connect.

     for older releases: https://github.com/xabre/xamarin-bluetooth-le/blob/master/doc/changelog.md

  • .NETStandard 2.0

    • No dependencies.
  • MonoAndroid 0.0

    • No dependencies.
  • Xamarin.iOS 1.0

    • No dependencies.
  • Xamarin.Mac 2.0

    • No dependencies.

NuGet packages (11)

Showing the top 5 NuGet packages that depend on Plugin.BLE:

Package Downloads
MvvmCross.Plugin.BLE
This package contains a Bluetooth Low Energy plugin for MvvmCross. It allows access to Bluetooth Low Energy functionality on Android, iOS, macOS and UWP. Read the full documentation on the projects page.
Buttplug.Server.Managers.XamarinBluetoothManager
Xamarin Bluetooth LE (Android/iOS) device support for Buttplug Servers, using Plugin.BLE. (.Net Standard 2.0)
ActiveBand.Comms.Bluetooth.Mobile
Cross platform iOS and Android implementation.
EarablesBLE
Package Description
XBeeLibrary.Xamarin
C# library for Xamarin to interact with Digi International's XBee radio frequency modules from mobile devices.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Plugin.BLE:

Repository Stars
xabre/xamarin-bluetooth-le
Bluetooth LE plugin for Xamarin

Version History

Version Downloads Last updated
2.2.0-pre2 15,959 9/17/2019
2.2.0-pre1 751 8/11/2019
2.1.2 18,366 4/22/2021
2.1.1 168,733 8/28/2019
2.1.0 3,998 8/11/2019
2.1.0-pre1 370 8/4/2019
2.0.1 1,658 8/4/2019
2.0.0 1,666 8/3/2019
2.0.0-pre1 15,815 5/21/2018
1.3.0 129,250 7/23/2017
1.3.0-beta3 899 5/4/2017
1.3.0-beta2 567 4/27/2017
1.3.0-beta1 552 4/26/2017
1.3.0-alpha1 688 3/10/2017
1.2.3 7,803 4/18/2017
1.2.2 1,518 4/4/2017
1.2.1 2,638 3/8/2017
1.2.0 1,489 2/17/2017
1.2.0-beta4 867 12/23/2016
1.2.0-beta3 651 12/17/2016
1.2.0-beta2 817 11/27/2016
1.2.0-beta1 637 11/19/2016
1.1.0 2,892 10/21/2016
1.1.0-beta5 937 10/7/2016
1.1.0-beta4 838 10/2/2016
1.1.0-beta3 808 9/30/2016
1.1.0-beta2 843 9/21/2016
1.1.0-beta1 974 8/15/2016
1.0.0 3,155 8/7/2016