Modem communications

Started by
-1 comments, last by dummybert 22 years, 4 months ago
Hi! As a first test I''m doing a program that sends chars over the serial com to manage a modem that is plugged to it (I want to control it directly with Hayes AT commands). I have studied the reference in the Microsoft manuals about ''Serial Communications'' and I''ve decided to use non-overlapped writting/reading and have two threads (one for writting, one for reading). The problem I have is that the modem doesn''t answer any char I send. I know that I''m sending characters ''cause I''ve connected two PC''s through serial port and I''ve checked that the chars are really sent, besides the modem RD light blows when I send something. I think that the problem lies on the "dcb" configuration of the serial port, or even in the flow control with the modem. I have tried disabling the flow control and setting de DTR line to 1, but it still doesn''t work. Do you have any idea of what can be wrong? Thanx in advance.

This topic is closed to new replies.

Advertisement