bacure.serial-connection

connection-opened?

(connection-opened? com-port)

ensure-connection-closed!

(ensure-connection-closed! com-port)
serial/close! returns nil. NOTE: You must terminate any MS/TP nodes that
reference this connection first!

get-input-stream

(get-input-stream connection)

get-opened-serial-connection!

(get-opened-serial-connection! {:keys [com-port], :as config})
Creates a new connection if this one hasn't been created yet.

get-output-stream

(get-output-stream connection)