PDA

Click to See Complete Forum and Search --> : how to control remote modem


muruganyuva
Aug 17th, 2007, 06:10 AM
hi,

in my project i'm sending the data from source to destination with the help of modem.
one modem at the source and other at the destination.

at first i'm initializing the source modem.

"AT E0 V1 X4 N1 &D0 &K0 S0=2"

Then i connects the modem and transfer the data.

while disconnecting i change the data mode of the modem to the command mode (+++ command) and then disconnects
the modem by ATH command.

When i again connects the modem and try to send data, its not connecting properly some times.
If we switch off the destination modem and then try means its connecting properly.

how to solve this problem?
Is there any way to reset the destination modem from the source??

superbovine
Aug 17th, 2007, 09:53 AM
ATZ is a soft reset

[edit]

scratch that idea, it won't work.

Al42
Aug 21st, 2007, 11:19 AM
The program at the far end should reset the modem on disconnect. (The old way is for the program to end on disconnect, with a circular batch file calling the program when it ends. It initializes the modem on startup.)