Date: Sun, 12 Aug 2001 12:16:03 -0400 From: Chris Ruffin <c.ruffin@ieee.org> To: freebsd-hackers@freebsd.org Subject: serial port programming problems Message-ID: <20010812121603.D838@surge>
index | next in thread | raw e-mail
[-- Attachment #1 --] I'm having serious frustrating problems when programming the serial ports under FreeBSD. Here's what I do: - open the port - stty -f /dev/cuaa2 -echo -echoe raw - write "ATZ" - wait - read 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. Any ideas on what could be happening here? Is this the way it is supposed to work?!? -- Chris Ruffin <c.ruffin@ieee.org> [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7dqvDmvFPwtjbK5sRAntQAJ0awvhtjMr6S8EIfEJl6+pRobxl4gCgiE0+ pfbTUzMAax8w3Bci15dwOzU= =C6SQ -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010812121603.D838>
