How do I programatically Discover Bluetooth devices using PC and BT adaptor
Posted on 2003-03-14
I have Mitsumi USB Bluetooth adaptor which was bundled with Widcomm client software. Using the widcom software I can browse the Blue Neighbourhood and see the ID and friendly name of all nearby BT devices.
Using VB6 I need to do the same programatically, I don't need to communicate - simply see what devices are present.
I believe the functionality may reside in the: "Bluetooth Stack COM Server"
Class ID: BTSTACKSERVERLib.BTGAPApi
This contains a method GAPGetInquiredDevices(numb, maxx)
where numb seems to increment as more devices are switched on, but it won't decrease as they are switched off !! Only a reboot will lower the value again (to 1 if nothing else is present).
Any help or an example or even a clue would be very welcome.
The above is all trial and error with object browser and no documentation.