0

I have a python script(UBUNTU) reading and writing info from local serial port. It works fine!

What if instead of using the local serial port, I want to use another machine serial port, remotely?

how would you implement this:

  • between 2 ubuntu machines?

  • between 1 ubuntu and one windows machine?

It's not so simple to explain so i made this little diagram

enter image description here

kasperd
  • 30,455
  • 17
  • 76
  • 124
user70247
  • 125
  • 2
  • 5

2 Answers2

0

between 2 ubuntu machines

Serial Over IP

between 1 ubuntu and one windows machine

Ubuntu ser2net, Windows HW VSP3

ooshro
  • 11,134
  • 1
  • 32
  • 31
0

the most generic way I can think of is by reading the local serial console, and redirecting it to a netcat port. then on the receiving side, a netcat listener, or python itself, can pick up the datastream

dyasny
  • 18,802
  • 6
  • 49
  • 64