SerialPort & Visual C# 2005 Express

  • Thread starter Thread starter Richie Carey
  • Start date Start date
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?
 
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.
 
Back
Top