Reads a string from a serial port.
read-serial-port-string string serial-port &optional timeout-error-p &key start end => nread
A serial-port object.
Bounding index designators for string.
read-serial-port-string reads characters from the serial port associated with serial-port and places them in string, bounded by start and end.
The default values of start and end are 0 and
nil (interpreted as the length of string) respectively. The number of characters requested is the difference between end and start.
If the number of characters actually read, nread, is less than the number requested, then if timeout-error-p is non-nil an error of type
serial-port-timeout is signaled.
If nread is the number of characters requested, or if timeout-error-p is
nil, nread is returned.
The default value of timeout-error-p is
LispWorks User Guide and Reference Manual - 20 Sep 2017