21#ifndef PLUGINS_SHOWNET_SHOWNETPACKETS_H_
22#define PLUGINS_SHOWNET_SHOWNETPACKETS_H_
38enum { SHOWNET_MAC_LENGTH = ola::network::MACAddress::LENGTH };
39enum { SHOWNET_NAME_LENGTH = 9 };
40enum { SHOWNET_SPARE_LENGTH = 22 };
45enum { SHOWNET_COMPRESSED_DATA_LENGTH = 1269 };
47enum ShowNetPacketType {
49 COMPRESSED_DMX_PACKET = 0x808f,
63 uint16_t spare[SHOWNET_SPARE_LENGTH];
64 uint8_t dmx_data[SHOWNET_DMX_DATA_LENGTH];
67typedef struct shownet_dmx_s shownet_dmx;
72struct shownet_compressed_dmx_s {
75 uint16_t indexBlock[5];
81 char name[SHOWNET_NAME_LENGTH];
82 uint8_t data[SHOWNET_COMPRESSED_DATA_LENGTH];
85typedef struct shownet_compressed_dmx_s shownet_compressed_dmx;
90 uint8_t ip[ola::network::IPV4Address::LENGTH];
93 shownet_compressed_dmx compressed_dmx;
Constants used throughout OLA.
Represents an IPv4 Address.
Represents a MAC Address.
#define PACK(__Declaration__)
Pack structures.
Definition Macro.h:171
The namespace containing all OLA symbols.
Definition Credentials.cpp:44
@ DMX_UNIVERSE_SIZE
Definition Constants.h:36
Definition ShowNetPackets.h:88