Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

serial-autodetect attempts at auto detecting RS232 device settings and makes a connection. This will run through the list of rates/settings and apply a user test until it succeeds.

Note: It is safer and more efficient to specify the connection settings using (serial-try devname baudrate databits parity stopbits testproc) if you know them!

Parameter Description
dev devicename to try. If #f it tries /dev/ttyUSB0, /dev/ttyU0, and /dev/ttyS0
testproc Function to be used to test for successful connection. Most often #f

Example

No example provided at the moment

Clone this wiki locally