?
Solved

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

Posted on 2003-03-14
15
Medium Priority
?
2,076 Views
Last Modified: 2013-12-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
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
Comment
Question by:guy_b
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 3
  • +2
15 Comments
 
LVL 2

Expert Comment

by:GAZZA
ID: 8256481
I think you are taking the worngroute with this. WIDCOMM does provide a SDK for C++ that can be purchased to do this...
0
 

Author Comment

by:guy_b
ID: 8258143
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
 
LVL 2

Accepted Solution

by:
GAZZA earned 300 total points
ID: 8258195
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
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 

Author Comment

by:guy_b
ID: 8266051
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
 
LVL 2

Expert Comment

by:GAZZA
ID: 8269871
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
 

Author Comment

by:guy_b
ID: 8272862
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
 

Expert Comment

by:WillGonz
ID: 9581229
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
 

Expert Comment

by:hansw77041
ID: 11352356
Has anyone found a solution to this for Windows XP or Windows 2000 ?
0
 

Expert Comment

by:WillGonz
ID: 11353574
No one has given any clue.
0
 
LVL 2

Expert Comment

by:thor918
ID: 13281235
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
 
LVL 2

Expert Comment

by:thor918
ID: 13281286
@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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

MAC Filtering: MAC filtering is like handing a list of names to a doorman. If someone comes to the door and mentions a name, this name is checked by the doorman on his list and granted or denied access by this. This means that if someone menti…
Need WiFi? Often, there are perfectly good networks that don't have WiFi capability - and there's a need to add it.  - Perhaps you have an Ethernet port into a network but no WiFi nearby. - Perhaps you have a powerline extender and no WiFi at the…
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question