serial communication help - Programmers Heaven

Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

serial communication help

babibabi Posts: 4Member
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.

TIA
Sign In or Register to comment.