Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Reverse Engineering

by £okì (Scribe)
on May 09, 2002 at 22:46 UTC ( [id://165551]=note: print w/replies, xml ) Need Help??


in reply to Reverse Engineering

I ran into something not more than a couple minutes ago that may be a big help not only to me but also anyone else out there. there's a freeware win32 program at http://www.hhdsoftware.com/sermon.html that will let you monitor what's going on on a single port. =) mmmmm time for me to port this software methinks. Again, thanks for the suggestions grep, I will be using them.

Replies are listed 'Best First'.
Re: Re: Reverse Engineering
by jepri (Parson) on May 10, 2002 at 02:02 UTC
    You generally only need such programs on 'doze due the ( you guessed it) fact that you are not granted knowledge of how windows works. Your post implies you are operating on something other than Windows. If this is the case, then you can just get in the middle between the program and the port.

    Under any Unix or BSD (and this should include OSX), just rename your serial port file and create a named pipe in it's place. Then create a small perl script to sit in between the two files, reading from one and writing to the other, and vice versa.

    Also, programs like ttysnoop are capable of getting in the middle like this.

    ____________________
    Jeremy
    I didn't believe in evil until I dated it.

Re: Re: Reverse Engineering
by graff (Chancellor) on May 10, 2002 at 02:04 UTC
    Hey thanks for that pointer -- nice resource to know about, if it really does what you hope it does. Short of that, the first approach I could think of involves having a 2nd computer with two serial ports (or a total of three ports on one box), and have a script that "intermediates" between the weather station and the sucky user app -- the script just needs to make sure that everything gets passed through in both directions, and also gets saved to a log file with suitable annotations.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://165551]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-29 07:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found