SerialPort & Visual C# 2005 Express

R

Richie Carey

Here's my problem.

I'm using Visual C# 2005 Express for a small project that requires simple AT
modem commands to be sent to an external serial device. The device requires
2400 baud, no parity, 8 data bits, and 1 stop bit. Should be easy enough,
except that I cannot get the SerialPort component included with C# Express
to talk with this box.

I know the box itself is working correctly because a Visual Basic 6.0
application that I previously developed for this device (using MSComm) is
still working fine.

I've tried a variety of settings including different Baud rates, etc but no
luck. When working correctly, the device responds to standard AT modem
commands, but right now I'm only able to get the box to reset itself - it
acts like it's hearing 'ATZ' regardless of what is actually being sent.

C# Express is beta and SerialPort support in .NET is new (I believe) so I'm
starting to think I'm out of luck for the moment.any thoughts?
 
N

Nate.Thornton

If you download the VB.Net Resource Kit from microsoft's website, there is
a Sax.net component in there that is a serial communication component. It
works great. Download the resource kit and give it a try.

Nate Thornton
Software Developer
Flying J, Inc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top