This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: question about redirecting serial output to a buffer
- From: "Jones, Tracy" <TJones at opnext dot com>
- To: "ecos-discuss at ecos dot sourceware dot org" <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 19 Feb 2009 19:43:52 -0800
- Subject: [ECOS] RE: question about redirecting serial output to a buffer
Hi - I have successfully redirected console output to my own routines by using diag_init_putc. I was wondering if there is a similar thing for the serial output (i.e. STDOUT and STDERR output). I am trying to capture the output of the serial port into a buffer and ship it out to an external system. Thanks
Tracy
Important : This message is intended only for the recipient(s) identified above by the originator or forwarder of this message and may contain information that is confidential, proprietary and/or legally privileged. If you have any reason to believe or suspect that this message may have come to you in error, please notify the originator of this message of your receipt of it, refrain from sharing this message with anyone else, delete it from each computer or server on which it is stored (without copying it or printing it out) and take no other action based on its content. Thank you.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss