public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Writing to tty01 (serial port) in simple straight forward way...?!?
@ 2014-10-12 12:08 meino.cramer
  2014-10-12 15:42 ` Kerin Millar
  0 siblings, 1 reply; 7+ messages in thread
From: meino.cramer @ 2014-10-12 12:08 UTC (permalink / raw
  To: Gentoo

Hi,

I want to send commands to ttyO1 (serial port on an embedded system).
The commands are one line each and terminated with CRL/LF (aka "DOS").

Since this will be done from a batch script, it should be possible 
via commandline tools and non-interactively. The serial port is
already setup up the right way.

I tried 

echo -n"blablabal\x0a\x0d"

, which was accepted (no error) but does not acchieve anything.
The command was cat'n'paste from the documentation of the manufacturer
of the chip (a GPS receiver module).

I tried different commands. All were directly send to /dev/null inside
the chip it seems...

Is there any other simple straight forward method of writing
successfully to a serial port (only RX/TX are connected) without
dealing with minicom or advanced serial port programming in C?

Thank you very much in advance for any help!

Best regards,
mcc






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-10-13 12:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-12 12:08 [gentoo-user] Writing to tty01 (serial port) in simple straight forward way...?!? meino.cramer
2014-10-12 15:42 ` Kerin Millar
2014-10-12 22:22   ` Paul Colquhoun
2014-10-13  1:36     ` Francisco Ares
2014-10-13  9:06       ` Neil Bothwick
2014-10-13  9:08         ` Christian Groessler
2014-10-13 13:32           ` thegeezer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox