Module actuate_controllino

Source
Expand description

Contains the trait implementation for the communication with real hardware

Modulesยง

controllino_constants
Contains constants for communication with Controllino

Structsยง

ActuateControllino
Contains relay configuration and trait implementation for actuation using Controllino hardware

Enumsยง

ActuateControllinoError
Contains error definitions for ActuateControllino

Constantsยง

CONTROLLINO_MAX_RELAY_ID ๐Ÿ”’
CONTROLLINO_MIN_RELAY_ID ๐Ÿ”’

Functionsยง

check_controllino_checksums ๐Ÿ”’
Calculates and validates the checksums of a byte sequence received from the Controllino.
controllino_open_serial_port ๐Ÿ”’
Opens and initializes a serial port connection to the Controllino device.
create_command_message ๐Ÿ”’
Creates the message to be sent to Controllino based on an internal command.
create_heartbeat_message ๐Ÿ”’
Creates a heartbeat message to be sent to the Controllino.
get_relay_command
Creates a Controllino-specific message from a high-level internal command.