[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

C# (Compact Framework on Pocket PC 2003): Detect if BlueTooth hardware is present in device.

Posted on 2006-05-10
4
Medium Priority
?
607 Views
Last Modified: 2012-08-13
Good day everyone,

I have a need to identify whether or not a Pocket PC 2003 device has BlueTooth hardware installed. I would like to do so in C# rather than eVC++ as my application is written in C#. I've compared devices w/ and w/o BlueTooth and did not find differences in the registry which is not to say they are not there and I simply overlooked them, although I was pretty detailed.

If you can tell me a simple way to detect whether or not a device features BlueTooth hardware, the points are yours. I'm giving 500 pts as the matter is urgent to me.

Thank you very much for your help in advance!
0
Comment
Question by:BigMacD86
3 Comments
 

Expert Comment

by:meetmandeep
ID: 16654065
Bluetooth functionality is more controllable — The BthGetMode and BthSetMode functions, declared in bthutil.h, provide the ability to query the current state of the Bluetooth control panel, as well as modify its state (Bluetooth Power Off, Connectable, Discoverable and so on.)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/winmob03.asp

Here's a .Net library you could probably use; again, this is for microsoft bluetooth stack only.
http://www.peterfoot.net/Bluetoothv14.aspx

0
 

Author Comment

by:BigMacD86
ID: 16658229
Meetmandeep,

Thanks very much for your quick reply. I think I figured out how I can do it. I am already using the OpenNETCF; however, it is an older version that does not include the properties and methods that I want to use, so I'll have to look into either a new assembly or simply ripping out source of the CF and compile it into my app.

http://www.opennetcf.org/library/OpenNETCF.Net.Bluetooth.BluetoothRadio.AllRadios.html
http://www.opennetcf.org/library/OpenNETCF.Net.Bluetooth.BluetoothRadio.html
http://www.opennetcf.org/library/OpenNETCF.Net.Bluetooth.BluetoothRadioMembers.html
0
 

Accepted Solution

by:
GranMod earned 0 total points
ID: 16869010
PAQed with points refunded (500)

GranMod
Community Support Moderator
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

831 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