Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Modem communications

This topic is 6202 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!