Bluetooth Low Energy (BLE) API for C# .NET - Desktop application Windows 10

Yabbie picture Yabbie · Jan 31, 2017 · Viewed 8.8k times · Source

I'm trying to write a desktop application to access a Bluetooth Low Energy (BLE) device.

My target platform in Windows 10, I'm using Visual Studio Community 2015, .NET 4.6.1.

There doesn't seem to be API included for Accessing BLE devices. I found 32feet, but that only supports regular Bluetooth.

I've seen a couple of posts about using the windows UWP libraries and/or WinRT libraries, but that seems like a bit of a hack.

Surely by now, there is a 'nice' way to interact with BLE devices?

As always TIA.

Answer

Frank Anderson picture Frank Anderson · Jul 12, 2019

This is an old thread, but I still come across people that need a well-thought-out library that provides both Bluetooth Classic and full Bluetooth Low Energy functionality.
I have been using the libraries from BTFramework for years. They are reliable, full-featured, and the team there has painfully worked around all the shortcomings of Microsoft's normally partial and not-always-fully-tested API sets. We code in C# dot NET, mainly in desktop apps. I spent months working with Microsoft's UWP approach, then went back to the BTFramework solution. Much easier.