Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2001 10:28:51 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Pradesh Chanderpaul <pradeshc@myrealbox.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Programming modem: how to stop echo
Message-ID:  <20011016102851.T2865@k7.mavetju.org>
In-Reply-To: <1003189940.697e9ff7pradeshc@myrealbox.com>; from pradeshc@myrealbox.com on Mon, Oct 15, 2001 at 11:52:20PM %2B0000
References:  <1003189940.697e9ff7pradeshc@myrealbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 15, 2001 at 11:52:20PM +0000, Pradesh Chanderpaul wrote:
> Hi All
> 
> I am accessing a modem via a serial port using a program that I'm writing.
> 
> When I send an AT command to the modem, subsequent reads read
> back the command I've just written. For example:-

That's standard behaviour of modems when they're in command mode.

> I don't need to read line 1 of the output again. How do I do it.

You can do two things:
- Live with it, that's the easiest. It's how modems default behave.
- send an ATE0 and an AT&W and you will never see it again.

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011016102851.T2865>