Writes a string to a serial port.
write-serial-port-string string serial-port &optional timeout-error-p &key start end => nwritten
A serial-port object.
Bounding index designators for string.
The string string or
write-serial-port-string writes characters from the subsequence of string bounded by start and end to the serial port associated with serial-port.
The default values of start and end are 0 and
nil (interpreted as the length of string) respectively.
If the characters are successfully written then string is returned.
A timeout will occur if the characters cannot be written before the write timeout (as specified by values given when the serial port was opened by open-serial-port).
When a timeout occurs, if timeout-error-p is non-nil, then an error of type
serial-port-timeout is signaled, otherwise
nil is returned. The default value of timeout-error-p is
LispWorks User Guide and Reference Manual - 13 Feb 2015