all groups > dotnet academic > may 2004 >
You're in the

dotnet academic

group:

bluetooth problem


bluetooth problem mulham haffar via .NET 247
5/22/2004 11:44:36 AM
dotnet academic:
(I'm currently facing a problem with bluetooth, i'm a c# programmer and i need to access a bluetooth device in my application,i searched the net and the only thing i came up with is written for c++ programmers.
1) does the .net framework have any support for bluetooth. if yes , anybody knows how to access a device from within the framework
2)or do i have to use the API supplied by the bluetooth kit which is written in c++, ( wrapping all those functions can take a lot of time, and at the end it might not work)

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

Re: bluetooth problem Umar Ali
5/24/2004 12:39:37 PM
I'm currently doing some Bluetooth <stuff> as part of my undergrad thesis,
so please excuse any ignorance I display! I haven't actually finished
writing the comms app, so the links below represent sources of my
information. If and when I ever get the app running I'll post up something
more helpful.

Here's a sample app that uses the .Net compact framework, it's meant to run
on a PDA. VB is the language used, quick and dirty.
http://www.devx.com/wireless/Article/11511

If you're interested in using sockets:
ms-help://MS.MSDNQTR.2003FEB.1033/bluetooth/bluetooth/about_bluetooth.htm
or if you're using MSDN online
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bluetooth/bluetooth/bluetooth_start_page.asp

To further muddy the waters there is the Windows CE .Net Bluetooth docs and
samples:
ms-help://MS.MSDNQTR.2003FEB.1033/wceoak40/htm/ceconBluetoothOverview.htm
or
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcebluet/html/ceconbluetoothsamples.asp

The samples are written in C++ but since the programs use winsock, it
shouldn't be much of an issue coding it in C# yes? Or will it...

Good luck!

Umar
{ They say, best men are moulded out of faults,
And, for the most, become much more the better
For being a little bad. -William Shakespeare}



[quoted text, click to view]

AddThis Social Bookmark Button