Module controllino_constants

Source
Expand description

Contains constants for communication with Controllino

Constantsยง

COMMAND_GET_DIGITAL_OUT_STATUS
command for getting digital IO status
COMMAND_GET_RELAY_STATUS
command for getting relay status
COMMAND_HEARTBEAT
command for sending a heart beat from control application to Controllino
COMMAND_PULSE_RELAY
command for pulsing a relay
COMMAND_SET_DIGITAL_OUT
command for setting a digital output
COMMAND_SET_RELAY
command for setting a single relay
COMMAND_UNSET_DIGITAL_OUT
command for unsetting a digital output
COMMAND_UNSET_RELAY
command for unsetting a single relay
MESSAGE_SIZE
the size of ControllinoMessage is deliberately set here because checksums are added to the content of struct
SLEEP_AFTER_CLEAR_BUFFER_MILLIS
initial wait period after clearing buffer
SLEEP_AFTER_DTR_RESET_MILLIS
initial wait period after resetting DTR