By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,981 Members | 1,098 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,981 IT Pros & Developers. It's quick & easy.

Weird problem using SerialPort

P: n/a
I create a System.IO.Ports.SerialPort object and start communicating with a
device (a pocket pc in my case). Everything works perfectly if I don't call
"Write" successively.

For example the following code:

//it doesn't matter if \r\n is used or not,
//the problem is the same

If I'm debugging the application and I step through each line, all sequences
are sent and properly displayed on my receiving device. If I run the
application, only the first string "01" is sent.

Is it possible that the problem is in the receiver device?

Except for comport and baudrate, all properties are default.


Mar 28 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Is it possible that the problem is in the receiver device?

Not only it is possible but that's what actually happened. I've installed a
decent serial terminal program on my pocket and my application is working
Unless you have any hints on the receiver side (I created the pocket pc app
using compactframework), please disregard this post.


Mar 28 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.