Shop OBEX P1 Docs P2 Docs Learn Events
Help my modem is saying — Parallax Forums

Help my modem is saying

ArchiverArchiver Posts: 46,084
edited 2002-10-11 18:28 in General Discussion
Hello fellow basic stamp friends,

I have contected a BS2 to a external modem but, my terminal program( Hyper
terminal Private Edition)
Keeps saying "RING","RING","RING" after connection with the remote (in this
case the BS2).
I can send data over and over but the terminal program keeps saying
"RING","RING","RING".

How can I stop this? ? ?

Thanks in advance.


Emile Tempelaars.
Netherlands

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-10-09 21:57
    RING is what the modem says when a caller ID is detected. Theres
    different ways of turning off the caller ID function depending on
    the modem. I do this with the command AT#CID=0

    --- In basicstamps@y..., "Emile Tempelaars" <e.tempelaars@p...>
    wrote:
    > Hello fellow basic stamp friends,
    >
    > I have contected a BS2 to a external modem but, my terminal program
    ( Hyper
    > terminal Private Edition)
    > Keeps saying "RING","RING","RING" after connection with the remote
    (in this
    > case the BS2).
    > I can send data over and over but the terminal program keeps saying
    > "RING","RING","RING".
    >
    > How can I stop this? ? ?
    >
    > Thanks in advance.
    >
    >
    > Emile Tempelaars.
    > Netherlands
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-09 22:30
    "RING" has nothing to do with callerid. It is the response all modems
    give when it detects a ring voltage on the line to indicate an incoming
    call. It can be verbose in this case or a number if verbose is turned
    off. Check your manual. This is elementary for ALL modems.

    gtdesrosi wrote:
    >
    > RING is what the modem says when a caller ID is detected. Theres
    > different ways of turning off the caller ID function depending on
    > the modem. I do this with the command AT#CID=0
    >
    > --- In basicstamps@y..., "Emile Tempelaars" <e.tempelaars@p...>
    > wrote:
    > > Hello fellow basic stamp friends,
    > >
    > > I have contected a BS2 to a external modem but, my terminal program
    > ( Hyper
    > > terminal Private Edition)
    > > Keeps saying "RING","RING","RING" after connection with the remote
    > (in this
    > > case the BS2).
    > > I can send data over and over but the terminal program keeps saying
    > > "RING","RING","RING".
    > >
    > > How can I stop this? ? ?
    > >
    > > Thanks in advance.
    > >
    > >
    > > Emile Tempelaars.
    > > Netherlands
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and Body
    of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-09 23:44
    after you get RING RING and the stamp sees it, you must send ATA to the
    modem, then wait for the modem to send CONNECT to the stamp, then you can
    send your data, theres more to it though, you gotta hang up, check for no
    carrier etc etc.

    Chris

    Original Message
    From: "Emile Tempelaars" <e.tempelaars@p...>
    To: <basicstamps@yahoogroups.com>
    Sent: Thursday, October 10, 2002 3:03 AM
    Subject: [noparse][[/noparse]basicstamps] Help my modem is saying "RING"


    > Hello fellow basic stamp friends,
    >
    > I have contected a BS2 to a external modem but, my terminal program( Hyper
    > terminal Private Edition)
    > Keeps saying "RING","RING","RING" after connection with the remote (in
    this
    > case the BS2).
    > I can send data over and over but the terminal program keeps saying
    > "RING","RING","RING".
    >
    > How can I stop this? ? ?
    >
    > Thanks in advance.
    >
    >
    > Emile Tempelaars.
    > Netherlands
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-09 23:55
    Hello from Gregg C Levine
    I seem to recall seeing an article on the subject of having a Stamp send
    data into a modem. The whole thing was on the website for an Australian
    based firm which sold Basic Stamps, and a few other micros. And they
    even sold parts to US customers, which is why I know about them. I
    haven't bought anything from them, but there's always a first time.
    You'd have to hit the Parallax site for it, but I think it was
    www.dontronix.com but I could be wrong.
    Gregg C Levine hansolofalcon@w...
    "The Force will be with you...Always." Obi-Wan Kenobi
    "Use the Force, Luke."· Obi-Wan Kenobi
    (This company dedicates this E-Mail to General Obi-Wan Kenobi )
    (This company dedicates this E-Mail to Master Yoda )



    >
    Original Message
    > From: Chris Anderson [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=BQxPKiaQ3jXVaf8qPZldijQNSGmDDm7_qoLvCeabdmMGB_erPAdag2DyswW80fubtzqeniZ7-sJPd5sY]fuel@b...[/url
    > Sent: Wednesday, October 09, 2002 6:45 PM
    > To: basicstamps@yahoogroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] Help my modem is saying "RING"
    >
    > after you get RING RING and the stamp sees it, you must send ATA to
    the
    > modem, then wait for the modem to send CONNECT to the stamp, then you
    can
    > send your data, theres more to it though, you gotta hang up, check for
    no
    > carrier etc etc.
    >
    > Chris
    >
    >
    Original Message
    > From: "Emile Tempelaars" <e.tempelaars@p...>
    > To: <basicstamps@yahoogroups.com>
    > Sent: Thursday, October 10, 2002 3:03 AM
    > Subject: [noparse][[/noparse]basicstamps] Help my modem is saying "RING"
    >
    >
    > > Hello fellow basic stamp friends,
    > >
    > > I have contected a BS2 to a external modem but, my terminal program(
    Hyper
    > > terminal Private Edition)
    > > Keeps saying "RING","RING","RING" after connection with the remote
    (in
    > this
    > > case the BS2).
    > > I can send data over and over but the terminal program keeps saying
    > > "RING","RING","RING".
    > >
    > > How can I stop this? ? ?
    > >
    > > Thanks in advance.
    > >
    > >
    > > Emile Tempelaars.
    > > Netherlands
    > >
    > >
    > > To UNSUBSCRIBE, just send mail to:
    > > basicstamps-unsubscribe@yahoogroups.com
    > > from the same email address that you subscribed. Text in the
    Subject and
    > Body of the message will be ignored.
    > >
    > >
    > > Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
    > >
    > >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject
    and Body of
    > the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/>
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-10 00:05
    You have to issue an ATA command to get the modem to pick up the line when a
    call comes in. One of the S registers (I forget which one) sets the number
    of rings before it answers.

    Original Message

    > "RING" has nothing to do with callerid. It is the response all modems
    > give when it detects a ring voltage on the line to indicate an incoming
    > call. It can be verbose in this case or a number if verbose is turned
    > off. Check your manual. This is elementary for ALL modems.

    > > RING is what the modem says when a caller ID is detected. Theres
    > > different ways of turning off the caller ID function depending on
    > > the modem. I do this with the command AT#CID=0

    > > > I have contected a BS2 to a external modem but, my terminal program
    > > ( Hyper
    > > > terminal Private Edition)
    > > > Keeps saying "RING","RING","RING" after connection with the remote
    > > (in this
    > > > case the BS2).
    > > > I can send data over and over but the terminal program keeps saying
    > > > "RING","RING","RING".
    > > >
    > > > How can I stop this? ? ?
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-10 00:43
    At 18:44 10/09/02, Chris Anderson wrote:

    >after you get RING RING and the stamp sees it, you must send ATA to the
    >modem, then wait for the modem to send CONNECT to the stamp, then you can
    >send your data, theres more to it though, you gotta hang up, check for no
    >carrier etc etc.

    There should be no "RING RING" seen by the Stamp. I can see checking the
    CD (carrier detect) line to determine if the modem is connected, but all
    that other stuff should be handled transparently by the modems if they're
    configured properly. I'd set the modems so they do NOT give progress
    messages or codes and just check the status of the CD line to know it was
    OK to send data, or that anything incoming is useful data vs unnecessary
    progress messages. You can do it either way, but why load down the Stamp
    with handling what the modem should do transparently?

    Jim H
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-10 00:54
    At 19:05 10/09/02, Rodent wrote:
    >You have to issue an ATA command to get the modem to pick up the line when a
    >call comes in. One of the S registers (I forget which one) sets the number
    >of rings before it answers.

    It would be a very old and very dumb modem that requires an ATA command to
    answer, but anything is possible.

    On anything but a really dumb, old modem, you can set S0=2 to set the modem
    to answer automatically on the second ring - which allows any other devices
    that might be on the line (or the modem itself if it's that smart) to
    capture Caller-ID info that comes at the tail of the first ring.

    I guess what we really need here is to know what sort of modem this guy
    has. It has to be really (really, really) old if it's so dumb that it
    needs manual commands like ATA to answer a call. It's important to know
    because I'd sure not want to unnecessarily burden the Stamp with chores the
    modem can do itself, with the Stamp just watching the CD line to know
    whether the modem is connected or not.


    Jim H
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-10 01:42
    >You have to issue an ATA command to get the modem to pick up the line when a
    >call comes in. One of the S registers (I forget which one) sets the number
    >of rings before it answers.
    >

    That is S0. S0=0 turns off autoanswer. S0=1 makes it answer after
    one ring, and so on.

    ATH1 puts the modem offhook. ATH0 or ATH puts it on hook (hangs up).



    At 9:03 PM +0200 10/9/02, Emile Tempelaars wrote:
    >I have contected a BS2 to a external modem but, my terminal program( Hyper
    >terminal Private Edition)
    >Keeps saying "RING","RING","RING" after connection with the remote (in this
    >case the BS2).
    >I can send data over and over but the terminal program keeps saying
    >"RING","RING","RING".
    >
    >How can I stop this? ? ?

    What is connected to what? This is the scenario I imagine:

    phone line
    Hyperterminal<--->local modem<
    >remote modem<--->BS2

    Or, could it be?

    phone line
    Hyperterminal<--->Stamp<--->local modem<
    >remote modem<--->???

    It helps to supply more information!

    Is this "RING" message appearing on your hyperterminal screen? Most
    likely, as others have suggested, something is not configured for
    autoanswer. Another remote possibility is that you are seeing
    "reverberation" of the ring message, if the modem happens to be
    connected to Stamp port P16.

    -- Tracy
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-10 12:15
    Hey Jim...
    I agree, even after my previous answer saying to issue an ATA to answer. The
    reason I am stuck with watching the strings the modem sends is that I am out
    of io lines. Now I simply set it to auto answer and wait for "CONNECT" to
    then send data. I havent played with modems for a while, but hell they are
    getting messy to deal with.
    I have purchased a netcom modem today, which does not recognisee the ATA
    command anyway, but they still set the auto answer to off as default. I'm
    starting to think that really understanding modems is becoming a whole trade
    in itself.

    Regards,
    Chris


    Original Message
    From: "Jim Higgins" <HigginsJ@s...>
    To: <basicstamps@yahoogroups.com>
    Sent: Thursday, October 10, 2002 7:54 AM
    Subject: Re: [noparse][[/noparse]basicstamps] Re: Help my modem is saying "RING"


    > At 19:05 10/09/02, Rodent wrote:
    > >You have to issue an ATA command to get the modem to pick up the line
    when a
    > >call comes in. One of the S registers (I forget which one) sets the
    number
    > >of rings before it answers.
    >
    > It would be a very old and very dumb modem that requires an ATA command to
    > answer, but anything is possible.
    >
    > On anything but a really dumb, old modem, you can set S0=2 to set the
    modem
    > to answer automatically on the second ring - which allows any other
    devices
    > that might be on the line (or the modem itself if it's that smart) to
    > capture Caller-ID info that comes at the tail of the first ring.
    >
    > I guess what we really need here is to know what sort of modem this guy
    > has. It has to be really (really, really) old if it's so dumb that it
    > needs manual commands like ATA to answer a call. It's important to know
    > because I'd sure not want to unnecessarily burden the Stamp with chores
    the
    > modem can do itself, with the Stamp just watching the CD line to know
    > whether the modem is connected or not.
    >
    >
    > Jim H
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-10 22:59
    Ats0=X. And you only have to send ata if ats0=0.

    On Wed, 9 Oct 2002, Rodent wrote:

    > You have to issue an ATA command to get the modem to pick up the line when a
    > call comes in. One of the S registers (I forget which one) sets the number
    > of rings before it answers.
    >
    >
    Original Message
    >
    > > "RING" has nothing to do with callerid. It is the response all modems
    > > give when it detects a ring voltage on the line to indicate an incoming
    > > call. It can be verbose in this case or a number if verbose is turned
    > > off. Check your manual. This is elementary for ALL modems.
    >
    > > > RING is what the modem says when a caller ID is detected. Theres
    > > > different ways of turning off the caller ID function depending on
    > > > the modem. I do this with the command AT#CID=0
    >
    > > > > I have contected a BS2 to a external modem but, my terminal program
    > > > ( Hyper
    > > > > terminal Private Edition)
    > > > > Keeps saying "RING","RING","RING" after connection with the remote
    > > > (in this
    > > > > case the BS2).
    > > > > I can send data over and over but the terminal program keeps saying
    > > > > "RING","RING","RING".
    > > > >
    > > > > How can I stop this? ? ?
    >
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and Body
    of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >

    Sean T. Lamont, CTO / Chief NetNerd, Abstract Software, Inc. (ServNet)
    Seattle - Bellingham - Vancouver - Portland - Everett - Tacoma - Bremerton
    email: lamont@a... WWW: http://www.serv.net
    "Do not fear mistakes, There Are None" - Miles Davis
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-10 23:01
    I think this is toggled by atq0 / atq1, in standard configs.


    On Wed, 9 Oct 2002, Jim Higgins wrote:

    > At 18:44 10/09/02, Chris Anderson wrote:
    >
    > >after you get RING RING and the stamp sees it, you must send ATA to the
    > >modem, then wait for the modem to send CONNECT to the stamp, then you can
    > >send your data, theres more to it though, you gotta hang up, check for no
    > >carrier etc etc.
    >
    > There should be no "RING RING" seen by the Stamp. I can see checking the
    > CD (carrier detect) line to determine if the modem is connected, but all
    > that other stuff should be handled transparently by the modems if they're
    > configured properly. I'd set the modems so they do NOT give progress
    > messages or codes and just check the status of the CD line to know it was
    > OK to send data, or that anything incoming is useful data vs unnecessary
    > progress messages. You can do it either way, but why load down the Stamp
    > with handling what the modem should do transparently?
    >
    > Jim H
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and Body
    of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >

    Sean T. Lamont, CTO / Chief NetNerd, Abstract Software, Inc. (ServNet)
    Seattle - Bellingham - Vancouver - Portland - Everett - Tacoma - Bremerton
    email: lamont@a... WWW: http://www.serv.net
    "Do not fear mistakes, There Are None" - Miles Davis
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-10 23:38
    Thats the ticket -- its been too long since I had to mess with a modem. ATA
    manually picks up the line and ATS0=x sets it to auto answer if x > 0. In
    any case if you wanted to monitor the modem for caller ID data and whatnot
    and let the software decide if / when to pick up the line, ATA would work.

    Somewhere I have some stuff on caller ID data and the various things that
    are sent and what they mean. If I run across it I'll post it.

    Original Message

    > Ats0=X. And you only have to send ata if ats0=0.

    > > You have to issue an ATA command to get the modem to pick up the line
    when a
    > > call comes in. One of the S registers (I forget which one) sets the
    number
    > > of rings before it answers.
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-10 23:44
    Once you've optioned a couple hundred couriers, it ends up being burned in
    your brain. [noparse]:)[/noparse]

    On Thu, 10 Oct 2002, Rodent wrote:

    > Thats the ticket -- its been too long since I had to mess with a modem. ATA
    > manually picks up the line and ATS0=x sets it to auto answer if x > 0. In
    > any case if you wanted to monitor the modem for caller ID data and whatnot
    > and let the software decide if / when to pick up the line, ATA would work.
    >
    > Somewhere I have some stuff on caller ID data and the various things that
    > are sent and what they mean. If I run across it I'll post it.
    >
    >
    Original Message
    >
    > > Ats0=X. And you only have to send ata if ats0=0.
    >
    > > > You have to issue an ATA command to get the modem to pick up the line
    > when a
    > > > call comes in. One of the S registers (I forget which one) sets the
    > number
    > > > of rings before it answers.
    >
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and Body
    of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >

    Sean T. Lamont, CTO / Chief NetNerd, Abstract Software, Inc. (ServNet)
    Seattle - Bellingham - Vancouver - Portland - Everett - Tacoma - Bremerton
    email: lamont@a... WWW: http://www.serv.net
    "Do not fear mistakes, There Are None" - Miles Davis
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-10 23:48
    At 07:15 10/10/02, Chris Anderson wrote:
    >Hey Jim...
    >I agree, even after my previous answer saying to issue an ATA to answer. The
    >reason I am stuck with watching the strings the modem sends is that I am out
    >of io lines. Now I simply set it to auto answer and wait for "CONNECT" to
    >then send data. I havent played with modems for a while, but hell they are
    >getting messy to deal with.
    > I have purchased a netcom modem today, which does not recognisee the ATA
    >command anyway, but they still set the auto answer to off as default. I'm
    >starting to think that really understanding modems is becoming a whole trade
    >in itself.

    Yeah, once modems got really fast and fancy a few years back they added
    features right and left and many mfgrs didn't always use the same
    AT-strings to set the parameters. With most modems you can hook the modem
    up to your PC via Hyperterminal and, using the modem manual, set the values
    you want and then store those values so they'll remain set even after power
    is switched off and back on. Some even store the number to dial. That
    would remove any requirement for the Stamp to set up the modem, but without
    a spare pin to monitor the CD line you're still stuck with your present
    approach to detecting a completed connection. You could set a delay after
    initiating a connection and then assume you were connected, simplifying
    things a bit, but you could easily find the Stamp sending data to a
    connection that failed. All in all it looks to me like you're already
    making the best of your situation. Continued good luck with it.

    BTW, did you ever mention your application? If not I'm interested in
    hearing and probably others also.


    Jim H
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-11 02:43
    Jim..
    I use the stamp for measuring fluid delivered, then store in separate
    Eeprom. Then connect to stamp with vb6 application to download the data into
    a spreadsheet. I have a few systems out there using GSM (digital) mobile
    phone modems and they work very well, but this new netcomm modem is giving
    me the %&$##. I also use dallas memory keys for downloading data, we have
    around 100 systems out there using memory keys for data transfer when the
    office is close to the fluid measurement system. Have just completed
    multiple measurement systems using rs485 network, it goes well and can
    monitor up to 8 systems simultaneously.
    I am having all sorts of fun with this netcom modem, as I now have it
    connecting ok and downloading data, but for some reason it adds / corrupts
    data at the same points in each download. I must have some sort of
    compression or error checking on or something.. I'll get there soon.

    Regards.
    Chris Anderson


    Original Message
    From: "Jim Higgins" <HigginsJ@s...>
    To: <basicstamps@yahoogroups.com>
    Sent: Friday, October 11, 2002 6:48 AM
    Subject: Re: [noparse][[/noparse]basicstamps] Re: Help my modem is saying "RING"


    > At 07:15 10/10/02, Chris Anderson wrote:
    > >Hey Jim...
    > >I agree, even after my previous answer saying to issue an ATA to answer.
    The
    > >reason I am stuck with watching the strings the modem sends is that I am
    out
    > >of io lines. Now I simply set it to auto answer and wait for "CONNECT" to
    > >then send data. I havent played with modems for a while, but hell they
    are
    > >getting messy to deal with.
    > > I have purchased a netcom modem today, which does not recognisee the
    ATA
    > >command anyway, but they still set the auto answer to off as default. I'm
    > >starting to think that really understanding modems is becoming a whole
    trade
    > >in itself.
    >
    > Yeah, once modems got really fast and fancy a few years back they added
    > features right and left and many mfgrs didn't always use the same
    > AT-strings to set the parameters. With most modems you can hook the modem
    > up to your PC via Hyperterminal and, using the modem manual, set the
    values
    > you want and then store those values so they'll remain set even after
    power
    > is switched off and back on. Some even store the number to dial. That
    > would remove any requirement for the Stamp to set up the modem, but
    without
    > a spare pin to monitor the CD line you're still stuck with your present
    > approach to detecting a completed connection. You could set a delay after
    > initiating a connection and then assume you were connected, simplifying
    > things a bit, but you could easily find the Stamp sending data to a
    > connection that failed. All in all it looks to me like you're already
    > making the best of your situation. Continued good luck with it.
    >
    > BTW, did you ever mention your application? If not I'm interested in
    > hearing and probably others also.
    >
    >
    > Jim H
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-11 03:36
    At 18:01 10/10/02, Sean T. Lamont .lost. wrote:

    >I think this is toggled by atq0 / atq1, in standard configs.

    That turns off/on the result codes like "RING" and "CONNECT." I have no
    idea why the modem keeps saying "RING" after it's connected, but it strikes
    me he may needs to deal with the cause, because if he just turns off result
    codes to hide it he won't know when he's connected unless he has a spare
    Stamp pin to monitor the state of the modem's CD line. But it's worth trying.

    I got email from him - Emile Tempelaars, The Netherlands,
    <e.tempelaars@p...>.

    He has a new V.92 capable TRUST 56K fax/data/modem. His Hyperterminal
    screen says "CONNECT 115200" and after that it shows RING RING RING. He
    can send data to the Stamp, but can't read anything back because all he
    sees is RING RING RING. Maybe that added info will allow someone to help
    him better. I'm afraid I don't have a clue why this is happening and my
    remarks below were a result of misunderstanding his problem earlier.

    Jim Higgins


    >On Wed, 9 Oct 2002, Jim Higgins wrote:
    >
    > > At 18:44 10/09/02, Chris Anderson wrote:
    > >
    > > >after you get RING RING and the stamp sees it, you must send ATA to the
    > > >modem, then wait for the modem to send CONNECT to the stamp, then you can
    > > >send your data, theres more to it though, you gotta hang up, check for no
    > > >carrier etc etc.
    > >
    > > There should be no "RING RING" seen by the Stamp. I can see checking the
    > > CD (carrier detect) line to determine if the modem is connected, but all
    > > that other stuff should be handled transparently by the modems if they're
    > > configured properly. I'd set the modems so they do NOT give progress
    > > messages or codes and just check the status of the CD line to know it was
    > > OK to send data, or that anything incoming is useful data vs unnecessary
    > > progress messages. You can do it either way, but why load down the Stamp
    > > with handling what the modem should do transparently?
    > >
    > > Jim H
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-11 18:28
    Hi Chris,

    The string for disabling MNP compression and error checking is usually,
    AT \N0 %C0 ^M

    The difficulty in my experience turns up when two modems are
    negotiating a connection--A vintage modem will fail to connect at all
    with an MNP modem. Or if they do connect, all you will see is
    garbage, or nothing at all.

    -- Tracy



    >Jim..
    >I use the stamp for measuring fluid delivered, then store in separate
    >Eeprom. Then connect to stamp with vb6 application to download the data into
    >a spreadsheet. I have a few systems out there using GSM (digital) mobile
    >phone modems and they work very well, but this new netcomm modem is giving
    >me the %&$##. I also use dallas memory keys for downloading data, we have
    >around 100 systems out there using memory keys for data transfer when the
    >office is close to the fluid measurement system. Have just completed
    >multiple measurement systems using rs485 network, it goes well and can
    >monitor up to 8 systems simultaneously.
    >I am having all sorts of fun with this netcom modem, as I now have it
    >connecting ok and downloading data, but for some reason it adds / corrupts
    >data at the same points in each download. I must have some sort of
    >compression or error checking on or something.. I'll get there soon.
    >
    >Regards.
    >Chris Anderson
    >
    >
    >
    Original Message
    >From: "Jim Higgins" <HigginsJ@s...>
    >To: <basicstamps@yahoogroups.com>
    >Sent: Friday, October 11, 2002 6:48 AM
    >Subject: Re: [noparse][[/noparse]basicstamps] Re: Help my modem is saying "RING"
    >
    >
    >> At 07:15 10/10/02, Chris Anderson wrote:
    >> >Hey Jim...
    >> >I agree, even after my previous answer saying to issue an ATA to answer.
    >The
    >> >reason I am stuck with watching the strings the modem sends is that I am
    >out
    >> >of io lines. Now I simply set it to auto answer and wait for "CONNECT" to
    >> >then send data. I havent played with modems for a while, but hell they
    >are
    >> >getting messy to deal with.
    >> > I have purchased a netcom modem today, which does not recognisee the
    >ATA
    >> >command anyway, but they still set the auto answer to off as default. I'm
    >> >starting to think that really understanding modems is becoming a whole
    >trade
    >> >in itself.
    >>
    >> Yeah, once modems got really fast and fancy a few years back they added
    >> features right and left and many mfgrs didn't always use the same
    >> AT-strings to set the parameters. With most modems you can hook the modem
    >> up to your PC via Hyperterminal and, using the modem manual, set the
    >values
    >> you want and then store those values so they'll remain set even after
    >power
    >> is switched off and back on. Some even store the number to dial. That
    >> would remove any requirement for the Stamp to set up the modem, but
    >without
    >> a spare pin to monitor the CD line you're still stuck with your present
    >> approach to detecting a completed connection. You could set a delay after
    >> initiating a connection and then assume you were connected, simplifying
    >> things a bit, but you could easily find the Stamp sending data to a
    >> connection that failed. All in all it looks to me like you're already
    >> making the best of your situation. Continued good luck with it.
    >>
    >> BTW, did you ever mention your application? If not I'm interested in
    >> hearing and probably others also.
    >>
    >>
    >> Jim H
    >>
    >>
    >> To UNSUBSCRIBE, just send mail to:
    >> basicstamps-unsubscribe@yahoogroups.com
    >> from the same email address that you subscribed. Text in the Subject and
    >Body of the message will be ignored.
    >>
    >>
    >> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >>
    >>
    >
    >
    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the
    >Subject and Body of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Sign In or Register to comment.