lolo
lolo

Reputation: 83

Stack independent c/c++ bluetooth api?


I wanted to know if there is any stack independent C/C++ bluetooth api for windows (XP, Vista, 7, x86 and x64).

My target is to create a connection and send/receive some time critical data over bluetooth.

My researches gave me the following options and there disadvantage for this task:

I know that there is also a commercial sdk from btframework.com which supports most (or all) bluetooth stacks, but I need a freeware option.

Please tell me if there are any other options for this task.
If there aren't any, could you tell me which options you would prefer and why?
Is it okay to use Windows Sockets and ignore the other bluetooth stacks?

Thanks for your help :)

Upvotes: 8

Views: 8346

Answers (2)

Jet
Jet

Reputation: 31

I've been successfully using this library it is called WCL but it is not free. With this you can connect through SPP without requiring to create a virtual COM port.

While their documentation is not very good, they provide some good demo code that you may want to try.

It supports the Microsoft, Toshiba, Widcomm and Bluesoleil stacks and there is a native C++ implementation (as well as a .NET one).

Upvotes: 3

alanjmcf
alanjmcf

Reputation: 3440

I guess one option would be to use C++/CLI to interface with my managed Bluetooth library 32feet.NET which supports most of the stacks on Windows. http://32feet.codeplex.com/

Upvotes: 4

Related Questions