Results 1 to 3 of 3

Thread: how to control remote modem

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2007
    Posts
    2

    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??

  2. #2
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: how to control remote modem

    ATZ is a soft reset

    [edit]

    scratch that idea, it won't work.

  3. #3
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    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
  •  



Click Here to Expand Forum to Full Width