Solved

BlueTooth Device Discovery - Using C#

Posted on 2004-04-02
9
5,664 Views
Last Modified: 2013-12-14
I'm attempting to perform device discovery using C#. I've found many valuable references on how to do this on the web and in books. The problem is, all of them are written  assuming the programmer is using C++. While Java, VB and CSharp and not an issue for me, translating the code from the pointer heavy world of C++ to CSharp is taking more time than it's worth.

Does anyone know of any good examples of Bluetooth programming using c#. Anything specific to device discovery would be most appreciated.

Thanks!
Tom
0
Comment
Question by:tdenniso
9 Comments
 
LVL 19

Expert Comment

by:Desp
ID: 10740255
0
 

Author Comment

by:tdenniso
ID: 10740323
Hi Desp

I've been looking at the article on DevX and it's been helpful for the actual comm port communications, however, it does not go into the device discovery steps. It assumes you know the device you want to connect with and connect to it via the Bluetooth control panel.

On the other, I think that's written in C++ as well, and it seems to be only a sinippet at that.

Thanks!
Tom
0
 

Expert Comment

by:daverussell
ID: 10744867
Tom:
I just started down the same path, could you do a quick post of what you've found so far?  Which books and examples are the best?
Thanks
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 19

Expert Comment

by:Desp
ID: 10747115
sorry, could not help that much..
0
 

Author Comment

by:tdenniso
ID: 10756271
All:

I was able to finally find something that was pretty helpful. I am still working through some of the details, but this code is in C#:

http://www.opennetcf.org/sourcebrowse/browse.aspx?f=d:/sites/OpenNETCF/InetPub/wwwroot/Source/OpenNETCF.Net

Tom
0
 

Author Comment

by:tdenniso
ID: 10765165
The above code is pretty much what I need. However, there are some CONSTANT definitins that are missing. For example, for the WSAQUERYSET struct, I need to know what the contant value is for NS_BTH. I have found definitions for other NS_X constants, but not the one for Bluetooth. Anyone have any idea where this could be located?
0
 

Expert Comment

by:amitgaur51
ID: 10806725
tom,
were you able to obtain the values for the  constants and get the code from opennetcf.org working?
Also what books and other links have you used for WinCE development using C#
Thanks
Amit
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 11165796
PAQed, with points refunded (500)

GhostMod
Community Support Moderator
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Today sees the launch of a new case study, focusing on BYOD technologies we have been working with for some time now.  But with the advent of 802.11ac wireless technologies and the story behind our landmark developments, we would like to share this …
For Sennheiser, comfort, quality and security are high priority areas. This paper addresses the security of Bluetooth technology and the supplementary security that Sennheiser’s Contact Center and Office (CC&O) headsets provide.  
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…

773 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