DCP Header

All DCP Messages have the following heading that is used for all messages.

Note that messages sent over Ethernet have additional header information.

=Ethernet Header Contents=

Fields:
 * Gateway MAC: The MAC address of the Gateway sending the message
 * Payload Length: The length in bytes of the message
 * Cluster: The message type
 * Future: 4B are reserved
 * Zigbee Header - See below

After the header is the message contents.

=Zigbee Header Contents=

Fields:
 * Sequence: this increments by one each message; used to keep messages in order
 * Protocol Version: used in the event that this protocol changes
 * Flags: indicate whether a server level ACK is requested, etc.
 * Zigbee MAC: The MAC Address of the Zigbee Device
 * Payload: Actual message payload
 * Zigbee Header - See below

After the header is the message payload.