• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2084
  • Last Modified:

How do I programatically Discover Bluetooth devices using PC and BT adaptor

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
BTStackServer.exe

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.
0
guy_b
Asked:
guy_b
  • 3
  • 3
  • 3
  • +2
1 Solution
 
GAZZACommented:
I think you are taking the worngroute with this. WIDCOMM does provide a SDK for C++ that can be purchased to do this...
0
 
guy_bAuthor Commented:
Thanks for your comments GAZZA - yes of course that would be the best and obvious solution. and it was my first line of enquiry but the cost of the SDK is utterly prohibitive (I burst out laughing when the agent told me)- They're 17,000 UK pounds - yes seventeen thousand. That's more than the cost of a new VW Golf! For software? I think not. It is obviously intended for hardware manufacturers includes lots of embedded stuff (which I have no interest in).

So I posted here hoping someone might be able to offer some guidance or even have access to the documentation for the mitsumi/widcomm com server that ships with the hardware.

I don't much mind if it's C++ or VB but VB6 is the company standard it would end up  with a vb front end on it.
0
 
GAZZACommented:
Humm....
That maybe for the Bluetooth Embedded Development Kit. This link takes you to the Bluetooth for Windows Development Kit, which is what I assume you are looking for.
http://www.widcomm.com/Products/software_devel_kit_btw.asp.

Which when I checked is approx $1500....  
0
Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

 
guy_bAuthor Commented:
Well that's a lot better than what I was quoted but still prohibitive - if we were writing a commercial product $1,500 could be justified but not our little utility its only intended for our internal use.

If it was a couple of hundred then yes I could probably find the cash. Sadly it's not - so I need someone familar with this technology who can offer a helping hand.

You seem to have more than a passing interest in this, are you familar with programming bluetooth ? Is it something that you would like to learn more about ? are you thinking of buying the kit ? If so will you help me or sell me a header file (as it's sdk I'm sure you can re-distribute the header files at least).

guy
0
 
GAZZACommented:
Actually I am employed by WIDCOMM and work with the SDK pretty much everyday. Unfortunately, I can't provide you .h files or header files.
0
 
guy_bAuthor Commented:
Gazza - that WAS totally unexpected (and it did make me laugh) !

I'm enjoying the thread and appreciate your interest but I am (now) very confused ...

Excuse my bluntness but why are you writing ? You must be forbidden to tell me anything (by your employer). So it's frustrating for me, knowing you could probably help but aren't allowed to.

From your point of view it must be equally frustrating as you are not allowed to contribute.

Unless this is this a sales activity, is it ? It could be considered a place to find prospects who need help/information/tools and offer them your software.

I don't actually think that's true - but I am curious.

Thanks for the giggle anyway :o)

Guy x


 

0
 
WillGonzCommented:
Would the SDK really have given him what he needed?
Is the SDK really worth the money that WIDCOMM is charging?
Lets see......lets do a search for Windows Software that uses bluetooth.....hmmm Not too many.  Only one at download.com.
WIDCOMM better open itself up to the low budget shareware community (people who program shareware and only make $400)
Because at this rate, Microsoft might comeout with it's own bluetooth software and bye bye WIDCOMM.

WillGonz
0
 
hansw77041Commented:
Has anyone found a solution to this for Windows XP or Windows 2000 ?
0
 
WillGonzCommented:
No one has given any clue.
0
 
thor918Commented:
this is exactly what I was tring to do now.
it seems for me pretty unbelivable that they charge 1500$ to that sdk!
It must be possible to do this witout buing that sdk!

The only method that I can see is to use the spylite and make that prog produce a logfile and then analyze this to find devices.I have seen some peopol doing this. but it's far from a effective method.
I too is looking in that library. I'm still looking.I have no clue ;(
0
 
thor918Commented:
@guy_b on
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).

Can you post the little code that you used to do this simple thing?
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 3
  • 3
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now