All Manuals > LispWorks® User Guide and Reference Manual > 44 The SERIAL-PORT Package

set-serial-port-state Function

Summary

Changes various aspects of the state of a serial port.

Package

serial-port

Signature

set-serial-port-state serial-port &key dtr rts break

Arguments
serial-port
A serial-port object.
dtr
A boolean.
rts
A boolean.
break
A boolean.
Description

The function set-serial-port-state changes various aspects of the state of the serial port associated with serial-port.

dtr, if supplied, controls the DTR line. A true value means set and nil means clear. If dtr is not supplied, the state is unchanged.

rts controls the RTS line in the same way.

break controls the break state of the data line in the same way.


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:55