On Wed, 22 Sep 1999, Rudy Moore wrote:

> I'd like to be able to look at the data transmitted between a 
> program running under linux (vmware) and the object it's talking
> to (a garmin GPS).  Ideally, I'd like to snoop the TX and RX lines
> and save it to a file to look at later.  Any suggestions on how
> I can do this?

This is an application problem and requires an application solution.

That is, modify your application program to write the information to a 
file(s) as it is sent to the driver and as it is received.

In block format:
   read( gps, &ch1, 1 );
   write( log, &ch1, 1 );
   send( ch1 ) to gps software.

   get( ch2 ) from gps software.
   write( log, &ch2, 1 );
   write( gps, &ch2, 1 );

vern

-- 
Vernon C. Hoxie                                     [EMAIL PROTECTED]
3975 W. 29th Ave.                                        uucp: 303-455-2670
Denver, Colo., 80212                                    voice: 303-477-1780
            You can delegate authority, but not responsibility.

-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]

Reply via email to