Bluetooth APIs in Windows/.Net?

One problem with Bluetooth on the PC is that there are several BT stacks in use and you can never quite know which one is available on a given machine. The most common ones are Widcomm (now Broadcom) and Microsoft (appeared in XP, maybe one of the service packs). However, some BT hardware vendors package BlueSoleil and some use Toshiba. Most dongles will work with the MS stack so the .NET libs I’ve seen tend to use that.

Each of the stacks has a totally different way of doing the discovery part where you browse for nearby devices and inquire their services.

If I had to pick one approach today I’d probably do the discovery in C++ and add an interface for .NET.

The 32feet.net stuff worked pretty well when I tried it but didn’t support the Widcomm stack.

Leave a Comment