Modem Auto Answer-Hanging for 1 min...


Results 1 to 22 of 22

Threaded View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132

    Default Modem Auto Answer-Hanging for 1 min...

    Trying to set up a modem, found that PIC 16F877 hangs for a minute or so when the program executes the Hserout ["ATS0=3",13,10] command. Monitoring the serial port I get:

    ATS0=

    and then the program freezes for a minute. After that, a string <00> follows!

    ATX3
    AT&K0
    ATS0=<00>

    Here is a snippet of the program:

    hserout ["ATX3",13,10]
    pause 500
    hserout ["AT&K0",13,10] 'No Dial tone, no Flow Control
    Pause 800
    Hserout ["ATS0=3",13,10] 'Auto Answer in 3 rings
    pause 500

    If anyone has any idea what's going on here, please help!

    Ioannis

    P.S. I tried to send the commands as one like ATs=0x3&K0 and seems to work. I am just concerned about timing....
    Last edited by Ioannis; - 13th August 2005 at 22:30.

Similar Threads

  1. No Modem response
    By jimboho in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 11th November 2004, 05:58

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts