serial autodetect - part-cw/lambdanative GitHub Wiki
(serial-autodetect devname testproc)
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