Coder Social home page Coder Social logo

spy's Introduction

Serial Spy

If you work with RS232 devices problems often encountered include:

  • is the wiring correct
  • setup
  • timing
  • termination character
  • undocumented stuff

What I often do is using some device manufacturer supplied software and listen in to its communication. They usually know their devices best and do all the things to set it up in the correct order.

What is needed is a means to spy on them... So I finally, after tens or hundredths of hours of spending to debug a connection, I came up with this very simple solution.

Before I used a lot different things like port forwarding or wireshark. All these need more work, more understanding, and especially if you do it not very often you will forget how to set these high tech solutions up. At least I do.

Hardware

The hardware uses a two port RS232-to-Ethernet box:

Hardware setup

It just listens in on the transmit and the receive data. It's kind of a T connector.

Software

And now we need to follow the two listening ports. One port listens to the "out" direction, one to the "in" direction.

And then we need a software that visualizes the traffic. It is in this repo.

Software run

You see the server's questions coming over the RS232 line in red, and the device's answers in green.

Happy sniffing ;)

spy's People

Contributors

finii avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.