serial communication help

I created a small program just to communicate with my modem, just to send the standard AT command, ATX etc.
The problem is that the modem gives no response whatsoever (the readfile only reads back what is written by the writefile) when I execute readfile after writefile, I believe that the writefile command does not reach the modem.
The program is very simple, just createfile then read command and write command to get response. The com port is successfully opened, can anyone tell me what is wrong, how to set the dcb maybe?
I suspect the problem is in dcb.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!