virtual-serial-port

Virtual Serial Port for Linux

I need to test a serial port application on Linux, however, my test machine only has one serial port. Is there a way to add a virtual serial port to Linux and test my application by emulating a device through a shell or script? Note: I cannot remap the port, it hard coded on ttys2 and I need to test the application as it is written. ...

Faking an RS232 Serial Port

I'm developing a project that has a number of hardware sensors connecting to the deployment machine through RS232 serial ports. But ... I'm developing on a machine without an physical RS232 serial ports, but I would like to make fake serial ports that I can connect to and output data from with the aim of faking input from hardware senso...

Looking for virtual USB HID driver

We designed a special communication tool for use on a wheelchair to control lights etc. We use Z-wave. We have app for control of these devices via PC. Unfortunately, the app expects a USB stick. Our design does not allow a USB connected stick. Instead we use serial interface module that links to the pc via Bluetooth and a virtual compo...

Specifying non-standard baud rate for FTDI virtual serial port under Linux

I have a USB device I'm trying to communicate with over a virtual serial port provided by the ftdi_sio kernel module. However, I'm having some trouble setting the baud rate of the port to 14400: termios.h doesn't specify a constant for 14400, so I can't use cfsetispeed and cfsetospeed. In the source for the ftdi_sio kernel module, baud...

RXTX virtual serial port read problem

Background: Windows Server 2003 R2,Wire Service virtual serial port created with RealPort software, Serial Port configured as COM5, 9600 baud,8 data bits, no parity bits, 1 stop bit, no flow control, Using RXTX 2.1-7. The port COM5 is found, the serial port is created using the portId.open method and port parameters and flow control ar...

Problems getting a device driver to load at startup - WM6.1

Hi, Our embedded systems programmer has developed the shell of a virtual serial port driver for our mobile hardware, and I have been filling in the methods to get it to work. The driver does work as expected, it simulates a COM port for a USB device that is spewing out NMEA strings (GPS data). I type WM6 for short, but the OS is WM6.1 ...