Which package should I utilize for Bluetooth Low Energy (BLE) integration in my .NET MAUI application while following the MVVM pattern?

Sowndarrajan Vijayaragavan 450 Reputation points
2024-01-30T06:37:20.8266667+00:00

"I need to establish a connection with a Bluetooth Low Energy device. I'm developing a .NET MAUI application first focus on Windows system then in future i will upgrade to Android & IOS, and I'm adhering to the MVVM pattern. I'm considering the following options for integrating Bluetooth functionality:

  1. Xamarin.Essentials
  2. Plugin.BLE
  3. MvvmCross.Plugin.BLE

Which of these options would be the best fit for my project?". Please suggest me if there is any better package?.

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-01-31T05:45:20.9866667+00:00

    Hello,

    You can use Plugin.BLE or MvvmCross.Plugin.BLE, it depends on your achievement.

    MvvmCross.Plugin.BLE is a cross-platform MVVM framework that also offers a BLE plugin. Like Plugin.BLE. You can see dependencies of MvvmCross.Plugin.BLE., MvvmCross.Plugin.BLE reference Plugin.BLE as well.

    If you develop .NET MAUI application, you can choose Plugin.BLE to do it.

    By the way, Xamarin.Essentials does not include built-in support for BLE and cannot be used in the MAUI project.

    Best Regards, Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.