Frage

I have a device connected using a serial port to GC-100-12. I want to connect to it remotely and pass commands to that device and retrieve replies from that device. I am capable of communicating if the device is connected straight to my laptop but I would like to allow for the device to not be physically connected as well.

I am using javax.comm to communicate with the serial device when connected locally.

EDIT:

It appears that the GC-100-12 I am using is an appropriate hardware solution as outlined by David. I simply opened a socket connection along with the port for the RS232 port and passed in commands as an array of bytes and voila!

War es hilfreich?

Lösung

You must use hardware solution. Something like this.

Given it's quite expensive, you may consider looking at Rasperry PI or even Arduino-based solution.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top