|
-
Aug 17th, 2007, 06:10 AM
#1
Thread Starter
New Member
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??
-
Aug 17th, 2007, 09:53 AM
#2
Hyperactive Member
Re: how to control remote modem
ATZ is a soft reset
[edit]
scratch that idea, it won't work.
-
Aug 21st, 2007, 11:19 AM
#3
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.)
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|