MvvmCross.Plugin.BLE
3.3.0-beta.2
dotnet add package MvvmCross.Plugin.BLE --version 3.3.0-beta.2
NuGet\Install-Package MvvmCross.Plugin.BLE -Version 3.3.0-beta.2
<PackageReference Include="MvvmCross.Plugin.BLE" Version="3.3.0-beta.2" />
<PackageVersion Include="MvvmCross.Plugin.BLE" Version="3.3.0-beta.2" />
<PackageReference Include="MvvmCross.Plugin.BLE" />
paket add MvvmCross.Plugin.BLE --version 3.3.0-beta.2
#r "nuget: MvvmCross.Plugin.BLE, 3.3.0-beta.2"
#:package MvvmCross.Plugin.BLE@3.3.0-beta.2
#addin nuget:?package=MvvmCross.Plugin.BLE&version=3.3.0-beta.2&prerelease
#tool nuget:?package=MvvmCross.Plugin.BLE&version=3.3.0-beta.2&prerelease
<img src="icon_small.png" width="71" height="71"/> Bluetooth LE plugin for Xamarin & MAUI
Xamarin, MAUI and MvvMCross plugin for accessing the bluetooth functionality. The plugin is loosely based on the BLE implementation of Monkey Robotics.
Important Note: With the term "vanilla" we mean the non-MvvmCross version, i.e. the pure Xamarin or MAUI plugin. You can use it without MvvmCross, if you download the vanilla package.
Support & Limitations
| Platform | Version | Limitations |
|---|---|---|
| Xamarin.Android | 4.3 | |
| Xamarin.iOS | 7.0 | |
| Xamarin.Mac | 10.9 (Mavericks) | >= 2.1.0 |
| Xamarin.UWP | 1709 - 10.0.16299 | >= 2.2.0 |
| MAUI (Android, iOS, Mac, WinUI) | >= 3.0.0 |
Nuget Packages
| package | stable | beta | downloads |
|---|---|---|---|
| Plugin.BLE | |||
| MvvmCross.Plugin.BLE |
Usage
Sample app
We provide a sample Xamarin.Forms app, that is a basic bluetooth LE scanner. With this app, it's possible to
- check the BLE status
- discover devices
- connect/disconnect
- discover the services
- discover the characteristics
- see characteristic details
- read/write and register for notifications of a characteristic
Have a look at the code and use it as starting point to learn about the plugin and play around with it.
How to build the nuget package
Build
Open a console, change to the folder "dotnet-bluetooth-le/.build" and run
cake.pack the nuget
nuget pack ../Source/Plugin.BLE/Plugin.BLE.csprojnuget pack ../Source/MvvmCross.Plugins.BLE/MvvmCross.Plugins.BLE.csproj
Useful Links
- Bluetooth Core Specification v5.4 (2024)
- Bluetooth Core Specification v6.2 (2025)
- Bluetooth Assigned Numbers
- Android Bluetooth LE guideline
- iOS CoreBluetooth Best Practices
- iOS CoreBluetooth Background Modes
- Monkey Robotics
How to contribute
We usually do our development work on a branch with the name of the milestone. So please base your pull requests on the currently open development branch.
Licence
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0-android35.0 is compatible. net9.0-ios18.0 is compatible. net9.0-maccatalyst18.0 is compatible. net9.0-windows10.0.19041 is compatible. net10.0-android was computed. net10.0-android36.0 is compatible. net10.0-ios was computed. net10.0-ios26.0 is compatible. net10.0-maccatalyst was computed. net10.0-maccatalyst26.0 is compatible. net10.0-windows was computed. net10.0-windows10.0.19041 is compatible. |
-
net10.0-android36.0
- Microsoft.Extensions.Logging.Debug (>= 10.0.2)
- MvvmCross (>= 10.1.2)
- Plugin.BLE (>= 3.3.0-beta.2)
-
net10.0-ios26.0
- Microsoft.Extensions.Logging.Debug (>= 10.0.2)
- MvvmCross (>= 10.1.2)
- Plugin.BLE (>= 3.3.0-beta.2)
-
net10.0-maccatalyst26.0
- Microsoft.Extensions.Logging.Debug (>= 10.0.2)
- MvvmCross (>= 10.1.2)
- Plugin.BLE (>= 3.3.0-beta.2)
-
net10.0-windows10.0.19041
- Microsoft.Extensions.Logging.Debug (>= 10.0.2)
- MvvmCross (>= 10.1.2)
- Plugin.BLE (>= 3.3.0-beta.2)
-
net9.0-android35.0
- Microsoft.Extensions.Logging.Debug (>= 10.0.2)
- MvvmCross (>= 10.1.2)
- Plugin.BLE (>= 3.3.0-beta.2)
-
net9.0-ios18.0
- Microsoft.Extensions.Logging.Debug (>= 10.0.2)
- MvvmCross (>= 10.1.2)
- Plugin.BLE (>= 3.3.0-beta.2)
-
net9.0-maccatalyst18.0
- Microsoft.Extensions.Logging.Debug (>= 10.0.2)
- MvvmCross (>= 10.1.2)
- Plugin.BLE (>= 3.3.0-beta.2)
-
net9.0-windows10.0.19041
- Microsoft.Extensions.Logging.Debug (>= 10.0.2)
- MvvmCross (>= 10.1.2)
- Plugin.BLE (>= 3.3.0-beta.2)
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 |
|---|---|---|
| 3.3.0-beta.2 | 37 | 5/11/2026 |
| 3.3.0-beta.1 | 74 | 1/27/2026 |
| 3.2.0 | 523 | 10/26/2025 |
| 3.2.0-beta.2 | 151 | 10/12/2025 |
| 3.2.0-beta.1 | 236 | 3/30/2025 |
| 3.1.0 | 3,065 | 5/20/2024 |
| 3.1.0-rc.1 | 160 | 5/3/2024 |
| 3.1.0-beta.3 | 158 | 3/25/2024 |
| 3.1.0-beta.2 | 139 | 2/12/2024 |
| 3.1.0-beta.1 | 10,345 | 11/17/2023 |
| 3.0.0 | 1,148 | 10/8/2023 |
| 3.0.0-rc.1 | 233 | 9/21/2023 |
| 3.0.0-beta.6 | 244 | 9/5/2023 |
| 3.0.0-beta.5 | 317 | 8/5/2023 |
| 3.0.0-beta.4 | 285 | 5/21/2023 |
| 3.0.0-beta.3 | 1,248 | 4/17/2023 |
| 3.0.0-beta.2 | 2,439 | 11/24/2022 |
| 3.0.0-beta.1 | 272 | 11/17/2022 |
| 2.2.0-pre5 | 845 | 7/11/2022 |
| 2.2.0-pre4 | 360 | 6/1/2022 |