Date: Mon, 15 Oct 2001 23:52:20 +0000 From: Pradesh Chanderpaul <pradeshc@myrealbox.com> To: freebsd-questions@freebsd.org, Subject: Programming modem: how to stop echo Message-ID: <1003189940.697e9ff7pradeshc@myrealbox.com>
next in thread | raw e-mail | index | archive | help
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 comm= and I've just written. For example:- AT <-- I Write AT (1) -|__ I read back OK (2) -| I don't need to read line 1 of the output again. How do I do it. I've tried sleep()ing for a while, even after a tcflush(), to no avail. Any recommendations will be welcome. Regards Pradesh Chanderpaul 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?1003189940.697e9ff7pradeshc>