how to control remote modem
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??
Re: how to control remote modem
ATZ is a soft reset
[edit]
scratch that idea, it won't work.
Re: how to control remote modem
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.)