Date: Sun, 12 Aug 2001 11:50:15 -0600 From: Warner Losh <imp@harmony.village.org> To: Chris Ruffin <c.ruffin@ieee.org> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: serial port programming problems Message-ID: <200108121750.f7CHoGW01818@harmony.village.org> In-Reply-To: Your message of "Sun, 12 Aug 2001 12:16:03 EDT." <20010812121603.D838@surge> References: <20010812121603.D838@surge>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010812121603.D838@surge> Chris Ruffin writes: : This gives me back "ATZ\r\nOK\r\n", which is completely : counter-intuitive to me. I have downloaded other code and tested them : with the same results, where it is clear in the code that the port is : not expecting to see the data that we wrote to it, only the response. : This code, however, did not mention being tested under FreeBSD. The modem has echo turned on, so it gives back to you what you give it (with <cr> expanded to <cr><lf>, like you are seeing). ATE0 will turn off the echo. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108121750.f7CHoGW01818>