This driver is intended to work with the RepRap 3rd Generation Electronics and Firmware.
Driver Configuration
<portname> Element (optional)
This element specifies the serial port to use. In windows, provide COMXX where XX is the port number. In Mac / Linux, provide the path to the port (ie: /dev/tty.USB0)
If this element is omitted, it will default to the first serial port found.
<rate> Element (optional)
This element specifies the serial communication speed in baud. If it is omitted, it will default to 19200 baud.
<partity> Element (optional)
This element specifies the parity of the serial port. If it is omitted, it will default to 8.
<databits> Element (optional)
This element specifies the databits of the serial port. If it is omitted, it will default to 1.
<stopbits> Element (optional)
This element specifies the stopbits of the serial port. If it is omitted, it will default to N.
Example Configurations
Extremely simple:
<driver name="serialpassthrough"></driver>
Port name only:
<driver name="serialpassthrough"> <portname>/dev/tty.USB1</portname> </driver>
Port + Speed:
<driver name="serialpassthrough"> <portname>/dev/tty.USB2</portname> <rate>19200</rate> </driver>
Full configuration:
<driver name="serialpassthrough"> <portname>COM1</portname> <rate>19200</rate> <parity>8</parity> <databits>1</databits> <stopbits>N</stopbits> </driver>