Liking cljdoc? Tell your friends :D

dvlopt.mbus.wired

Wired meter-bus through the serial port or TCP/IP.

All functions are specified by clojure.spec and might throw in case of IO failure.

When a timeout in milliseconds is given, IO operations will only block for that amount of time when waiting an answer / confirmation from a slave.

Wired meter-bus through the serial port or TCP/IP.

All functions are specified by clojure.spec and might throw in case of IO failure.

When a timeout in milliseconds is given, IO operations will only block for that amount of time
when waiting an answer / confirmation from a slave.
raw docstring

closeclj

(close connection)

Closes the given connection.

Closes the given connection.
sourceraw docstring

req-ud2clj

(req-ud2 connection)
(req-ud2 connection primary-address)

Requests user data from the slave and waits for a variable data structure.

Returns nil if a timeout was set and is up.

Requests user data from the slave and waits for a variable data structure.

Returns nil if a timeout was set and is up.
sourceraw docstring

reset-applicationclj

(reset-application connection)
(reset-application connection primary-address)

Sends an application reset to the requested slave.

Returns false if a timeout was set and is up, true if everything went well.

Sends an application reset to the requested slave.

Returns false if a timeout was set and is up, true if everything went well.
sourceraw docstring

send-udclj

(send-ud connection ba)
(send-ud connection ba primary-address)

Sends user data to a slave.

Returns false if a timeout was set and is up, true if everything went well.

Sends user data to a slave.

Returns false if a timeout was set and is up, true if everything went well.
sourceraw docstring

serial-connectionclj

(serial-connection path)
(serial-connection path serial-options)

Establishes a Meter-Bus connection on the given serial port.

Establishes a Meter-Bus connection on the given serial port.
sourceraw docstring

snd-nkeclj

(snd-nke connection)
(snd-nke connection primary-address)

Sends a SND_NKE message to reset the FCB (frame counter bit).

Returns false if a timeout was set and is up, true if everything went well.

Sends a SND_NKE message to reset the FCB (frame counter bit).

Returns false if a timeout was set and is up, true if everything went well.
sourceraw docstring

tcp-connectionclj

(tcp-connection host port)
(tcp-connection host port tcp-options)

Establishes a Meter-Bus connection via TCP/IP.

<!> Experimental.

Establishes a Meter-Bus connection via TCP/IP.

<!> Experimental.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close