LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Remote serial port server (https://www.linuxquestions.org/questions/linux-server-73/remote-serial-port-server-522622/)

estratos 01-25-2007 03:14 AM

Remote serial port server
 
Hi,

I'm looking for a GPL solution that let me convert an embedded module with Ethernet and RS232 ports, running uClinux, into a remote (TCP) serial port. This module would be mainly used to connect a remote device to a Windows XP machine (via virtual com port). Thus, I need a GPL driver for Windows too.

Does anyone know of a similar solution?

Thanks in advance,

Daniel.

estratos 01-25-2007 01:54 PM

mdmpoold + npcomm
 
All right, I've found a possible solution:

On the server side (device with the serial port to share) -> mdmpoold
On the client side (Windows machine using the remote serial port) -> npcomm

Has anyone tried this? I can't get the client to work on a Win XP PC.

Thanks,

Daniel.

tovis 01-26-2007 04:54 AM

Be carefull! Is this real time? I've experienced many problems around communication through a lot of internal buffers! (not related to this realization, but using Lantronix, and several other industrial equipoment)

estratos 01-27-2007 02:06 AM

Hi Tovis,

No, it's not for real-time applications. It's for our opn-232 (www.opnode.org), a home automation controller.

Thanks,

Daniel.

tovis 01-28-2007 02:50 AM

Sorry, I can not retrieve www.opnode.org ?!
Problems could arise not only in realtime context but, for example if you have not a real duplex communication, but half duplex. I meet situation when controlled equipment was half duplex, and when you send something at that time when it trying to send something it simple die! We putting reasonably large timouts bettween packets but because of the asynchronizm caused by buffers it is still dieing at least once a week. There are a lot of solutions for these kind of situation, but it was a third party equipment we can not change this behavior!

estratos 01-29-2007 04:56 AM

Hi Tovis,

The Ethernet port is full-duplex.

Daniel.

tovis 01-30-2007 03:00 AM

I talk about serial port communication, not about ethernet! I'm try to describe that you can not fully control the communication flow, between PC-ethernet and serail driven automation equipment. It needs a special, well build protocoll, that's all.


All times are GMT -5. The time now is 11:20 PM.