Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Modem communication:

Status
Not open for further replies.

vgonepudi

Programmer
Nov 17, 2006
2
US
Hi,

Requirement: I want to send numeric message to pager.

For that I have developed an application in VC++. My application takes pager number as input and dials that number through my local modem. After establishing the connection I am getting a message like “Enter numeric message after beep”.

1) How can I find whether connection is established or not?
2) Is there any way that I can determine if the remote modem picked up the phone call?
Is there anyway that I can determine if the remote modem simply picked up the phone call ?
I tried to read “CONNECT” message but I am not getting that message.

3) After establishing the connection how can I send numeric message?

I know after establishing the connection mode will goes to command mode and we can send any data. But I don’t know how to send data in C++.

I used ATDT and number for dialing modem.

If any body knows about how to fix this one please let me know.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top