Register | Login 
Forum  
SearchForum Home
     
  Discussions  Development Topics  Bluetooth and S...
 Bluetooth and Serial communication
 
 3/27/2006 8:47:39 PM
Grendel
2 posts


Bluetooth and Serial communication
 Modified By Grendel  on 3/27/2006 7:53:17 PM)

Hello Everyone,

I'm using VS 2005's serial port class, in an attempt to read and write to serial ports.  My ultimate goal is to be able to use this to communicate between two bluetooth ports (pc and pocket pc).

I'm currently using VB.Net, although a C# solution would work as well.  Does anyone know of any workable vs 2005 code that can either monitor and communicate with serial ports OR with bluetooth devices?

I've checked around the Internet, but maybe you have some sources I don't or can't find.

Here is the question I posted on Experts Exchange (not much help so far, however): http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_21785695.html

Thanks! :)

 3/27/2006 11:58:26 PM
alexdresko
42 posts


Re: Bluetooth and Serial communication
I can tell you I've done some limited searching already in the past couple of months with no good results. I had a pea brained idea to make a simple chat program between my two PPC 6700's..  or more interestingly, porting a two player game to work over bluetooth.

I found a couple of open source .NET games to start with but I don't want to get started until I figure out the bluetooth stuff..

I wish I had time to look for it right now, but it's been a long day. I'll try to look again in the next couple of days.
 3/28/2006 12:25:17 AM
jwalling
32 posts


Re: Bluetooth and Serial communication

Here's 3 articles.  Maybe one of them will be useful.

http://www.codeproject.com/csharp/serialcommunication.asp

http://www.codeproject.com/dotnet/DotNetComPorts.asp

http://www.codeproject.com/smartclient/MobPhoneFileTransfer.asp

 


Joe Walling http://www.wallingis.com
 3/28/2006 1:00:22 AM
alexdresko
42 posts


Re: Bluetooth and Serial communication
There were some interesting comments in that first link Joe posted. Looks like bluetooth is nothing more than a virtual com port or something. Still, I don't know how to initiate partnership between two devices. Again, I didn't have much time to look at those articles.      
 3/28/2006 12:38:51 PM
Grendel
2 posts


Re: Bluetooth and Serial communication

Thanks for the quick responses.  I last worked on this issue on Friday, and left it alone for the weekend.  I picked it up last night and BAM! I got several things to work.  Looks like I just needed to relax the brain :)

I had an issue with the sending program not sending the data it should have been.  Also, the receive event tries to set the textbox contents, but that generates a warning because it's in a seperate task.  It was easily fixable :)

Thanks for the quick responses and the links :)  That 3rd link is the best OBEX article I've seen.

  Discussions  Development Topics  Bluetooth and S...

Copyright (c) 2008 GSP Developers
Walling Info Systems | Terms Of Use | Privacy Statement