PC Review


Reply
Thread Tools Rate Thread

Bluetooth comms using virtual com port

 
 
=?Utf-8?B?U3RldmUgU3BlbmNlcg==?=
Guest
Posts: n/a
 
      24th Nov 2004
Hello,

I am using a Dell Axim to communicate with a Bluetooth device that simulates
an RS232 port. My code opens a virtual comport on the PDA. My code follows
the example in http://www.devx.com/wireless/Article/11511/1763/

This example says that one port is used for outgoing and a different port
for incoming. On my Axim port 7 is configured as outgoing and port 8 as
incoming. However when I write the software to listen on port 8 and transmit
on port 7 I never receive any data on port 8. If I change to use port 7 for
both sending and receiving, I send and receive data OK. Is this the correct
way to work or does it depend upon the version of BT stack that is being
used?

I have modified my software to listne on both ports 7 and 8 and I never
receive any data on port 8, only on 7.

I also note that when I run my test software which sends a 3 byte status
message and waits for an 82 byte response, my tests are successful for 80
tests and then BT communication is lost. Has anyone seen anything similar to
this?

Thanks

Steve
 
Reply With Quote
 
 
 
 
Dick Grier
Guest
Posts: n/a
 
      24th Nov 2004
Hi,

>>

This example says that one port is used for outgoing and a different port
for incoming. On my Axim port 7 is configured as outgoing and port 8 as
incoming. However when I write the software to listen on port 8 and transmit
on port 7 I never receive any data on port 8. If I change to use port 7 for
both sending and receiving, I send and receive data OK. Is this the correct
way to work or does it depend upon the version of BT stack that is being
used?
<<

It depends on the driver.

>>

I also note that when I run my test software which sends a 3 byte status
message and waits for an 82 byte response, my tests are successful for 80
tests and then BT communication is lost. Has anyone seen anything similar to
this?
<<

This sounds like a driver issue. I'd suspect that the driver is turning off
the radio to save power. This is not playing nice, but... This just a
guess, though. I don't have your hardware.

BTW, the correct newsgroup for this sort of thing is
dotnet.framework.compactframework.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reassigning bluetooth virtual COM port LADA54 Windows Vista Installation 1 10th Apr 2008 04:29 AM
Bluetooth - Virtual Com Port Ben G Microsoft Dot NET Compact Framework 6 23rd Mar 2007 06:12 PM
Virtual Bluetooth printer port =?Utf-8?B?U2lnZ3k=?= Windows XP Print / Fax 1 25th Feb 2005 10:58 PM
Create virtual port serie and map bluetooth device to this port Jérôme MATHIEU Windows XP Drivers 0 11th Oct 2004 12:13 PM
bluetooth virtual com port Yan Windows XP Hardware 1 3rd Jan 2004 10:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:04 PM.