[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: Logging serial port data to file
From: Rob Landley <rob () landley ! net>
Date: 2010-03-30 2:35:15
Message-ID: 201003292135.16750.rob () landley ! net
[Download RAW message or body]
On Wednesday 24 March 2010 11:16:59 Michael Hagedorn wrote:
> Hi
> I am quite new to the busybox and need some help. I am trying to modify
> an embedded system on a NAS based on a STR8100 series hardware platform.
> I have the SDK. Busybox is installed on it and I can build it successfully.
>
> I want to log data arriving on the serial port (I am using a USB to
> serial device) to a file.
netcat -f /dev/ttyS0 > file.txt
> Ideally with time stamps.
netcat -f /dev/ttyS0 | while read i; do echo $(date +%s) "$i"; done > file.txt
Rob
--
Latency is more important than throughput. It's that simple. - Linus Torvalds
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic