serial cache clear - part-cw/lambdanative GitHub Wiki

(serial-cache-clear dev)

serial-cache-clear clears the RS232 device serial port cache

Parameter Description
dev Serial device obtained from rs232-try

Example

Example 1: Behaviour when an error in a communication protocol is encountered

(begin (rs232-flush dev) (rs232-cache-clear dev) 0))