Re: bluetooth problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Umar Ali (umunif_at_yahoo.com.au)
Date: 05/24/04


Date: Mon, 24 May 2004 12:39:37 GMT

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}

"mulham haffar via .NET 247" <anonymous@dotnet247.com> wrote in message
news:OeSzVzCQEHA.2468@tk2msftngp13.phx.gbl...
> (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/)
>
> <Id>lhQ5JJi1B0eKDMpjZIWDdA==</Id>



Relevant Pages

  • Re: how do I move java ME app to phone
    ... How do I move app to phone? ... (be careful, some phones "support Bluetooth", but only for the ... bluetooth and provisionning servers to send ... J2ME apps to cellphones. ...
    (comp.lang.java.programmer)
  • Bluetooth Pairing Code
    ... I've got an app that is relying on a serial communication stream. ... problem occurs when we swap out a bluetooth device for the direct connection. ... the user is constantly having to reconnect and enter the pairing code. ...
    (microsoft.public.dotnet.framework)
  • Event handling
    ... I am currently writing an app for a mobile phone. ... this, I have for example, a class that talks to the bluetooth device. ... private void CollectDataHandler ... sender and e are not valid here. ...
    (microsoft.public.dotnet.framework)
  • Menu Bar corruption
    ... This app is ... written in Access 2000 and uses menu bars. ... (CommandBars and CommandBar ... Problem is that I am seeing errors occur with machines with bluetooth ...
    (comp.databases.ms-access)
  • Re: Bluetooth Wireless Keyboards
    ... bluetooth device can increase the range from ~10m to ~200m fairly ... So -- how to capture? ... to/from the bluetooth device. ... The 2nd way, the way you were hinting at, is to sniff the traffic over ...
    (Pen-Test)