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