Accessing Bluetooth virtual COM port on Windows without manual pairing
Posted
by oo_olo_oo
on Stack Overflow
See other posts from Stack Overflow
or by oo_olo_oo
Published on 2009-05-25T11:55:21Z
Indexed on
2010/03/20
20:41 UTC
Read the original article
Hit count: 477
bluetooth
|virtual-com-port
I need to connect to a Bluetooth device through virtual COM port created in Windows. It's easy when the port has been already created during manual pairing procedure. But I would like my application to relieve an user from the manual pairing of a device. I would like to present all devices in the range, allow user to chose one, and then create virtual COM port connected with the selected device. I'm not trying to avoid the pairing procedure itself, but rather I would like to invoke it by my application.
I started getting familiar with Microsoft Bluetooth API. And then some doubts arose. I've been wondering what happen if some user would use different (than Microsoft's) Bluetooth stack? Is the Microsoft's API the real Bluetooth API, which have to be implemented by any other Bluetooth stack provider? Or rather each provider has its own API, and the Microsoft's is only one of many other?
© Stack Overflow or respective owner