bacure.state

assoc-in-local-device!

(assoc-in-local-device! device-id ks v)
Set the value

assoc-local-device!

(assoc-local-device! device-id local-device)
Assoc a local device with the given key

assoc-serial-connection!

clear-local-devices!

(clear-local-devices!)
Remove all traces of local devices in the local cache.
WARNING: Doesn't clean up; ports might still be bound to the removed
devices.

dissoc-local-device!

(dissoc-local-device! device-id)
Dissoc the local device associated with the given key, if any.

get-in-local-device

(get-in-local-device device-id ks & [default])
Return the value

get-local-device

(get-local-device device-id)
Return the local device

get-serial-connection-property

local-devices

request-response

serial-connections

set-request-response!