Hi,
I am looking for a way to programmatically change the Bluetooth
virtual com port between various devices on my Axim x51v (WM5). The
problem is twofold: 1) I need to query for a list of paired devices;
2) I then need to be able to delete and reassign COM ports to any of
these devices.
As background, my company has developed a series of Bluetooth
devices. It wasn't until the third device was developed that we
discovered the two port limitation. While we only need a max of two
ports running concurrently at any one time, there is occasionally the
need to swap in a third device. In other words, if device 1 is
assigned to COM7 and device 2 is assigned to COM8, I want the ability
to delete COM8 and assign device 3 to it instead. To date, this was
done manually but there was desire expressed to have this done
automatically.
I am using Visual Studio 2005 SP1 and am working in a native c++/MFC
framework. Many of the seemingly useful Bluetooth functions available
to me are located in a btdrt.lib file which does not come with any of
my SDKs. I've done extensive research the past several days but I'm
too much of a Bluetooth novice to piecemeal together a solution. Your
feedback would be greatly appreciated.
Regards,
George