Skip to main content
Version: legacy

M-Bus

api.mbusTransaction(msg, timeout, retry)

Transmit "msg" and wait given "timeout" milliseconds for the answer. The transmission is retried "retry" times.

Turn on MBus using mbusState first.

api.mbusSetup(baudrate, parity, stopBits, dataBits)

Configures the MBus communication interface. Configuration from GUI is used by default, but it can be overriden using this function.

Turn on M-Bus using mbusState after setting up M-Bus parameters using this function.

api.mbusState(state)

Turns on the M-Bus circuitry.

Must be used before function api.mbusTransaction().