# Functions
Create from the byte structure, if possible.
Helper function to create a new Message.
Convert a message according to the 'Received DMX Change of State Packet' structure.
Convert a message according to the 'Received DMX Packet' structure.
# Constants
Biggest possible label-index to identify the message type.
The Widget sends this message to the PC in response to the Get Widget Parameters request.
This message requests the Widget configuration.
This message requests the Widget to periodically send a DMX packet out of the Widget DMX port at the configured DMX output rate.
The Widget sends this message to the PC on completion of the Program Flash Page request.
This message programs one Flash page of the Widget firmware.
This message requests the Widget send a DMX packet to the PC only when the DMX values change on the
input port.
The Widget sends one or more instances of this message to the PC unsolicited, whenever the Widget receives a changed DMX packet from the DMX port, and the Receive DMX on Change mode is 'Send on data change only'.
The Widget sends this message to the PC unsolicited, whenever the Widget receives a DMX or RDM packet from the DMX port, and the Receive DMX on Change mode is 'Send always'.
This message requests the Widget firmware to run the Widget bootstrap to enable reprogramming of the Widget firmware.
This message requests the Widget to send an RDM Discovery Request packet out of the Widget DMX port, and then receive an RDM Discovery Response (see Received DMX Packet).
This message requests the Widget to send an RDM packet out of the Widget DMX port, and then change the DMX port direction to input, so that RDM or DMX packets can be received.
This message sets the Widget configuration.
The Widget sends this message to the PC in response to the Get Widget Serial Number request.
This message requests the Widget serial number, which should be the same as that printed on the Widget case.
Maximum data length.
Maximum number of bytes for a valid message.
Position of 'data length LSB' in the byte array.
Position of 'data length MSB' in the byte array.
"End of Message" delimiter.
"Start of Message" delimiter.
Position of 'MSG_DELIM_START' in the byte array.
Position of 'label' in the byte array.
Combined number of bytes AFTER payload.
Combined number of bytes BEFORE payload.
Number of bytes that are not payload.
Smallest possible label-index to identify the message type.
# Structs
Message as used by Enttec USB DMX Pro Widget.