diff --git a/NodeReportCodes.h b/NodeReportCodes.h new file mode 100644 index 0000000..f76a101 --- /dev/null +++ b/NodeReportCodes.h @@ -0,0 +1,23 @@ +// List of hex values and discriptions of Node Report Codes + +#ifndef NODEREPORTCODES_H +#define NODEREPORTCODES_H + +#define RcDebug 0x0000 // Booted in debug mode (Only used in development) +#define RcPowerOk 0x0001 // Power On Tests successful +#define RcPowerFail 0x0002 // Hardware tests failed at Power On +#define RcSocketWr1 0x0003 // Last UDP from Node failed due to truncated length, Most likely caused by a collision. +#define RcParseFail 0x0004 // Unable to identify last UDP transmission. Check OpCode and \packet length. +#define RcUdpFail 0x0005 // Unable to open Udp Socket in last transmission attempt +#define RcShNameOk 0x0006 // Confirms that Short Name programming via ArtAddress, was successful. +#define RcLoNameOk 0x0007 // Confirms that Long Name programming via ArtAddress, was successful. +#define RcDmxError 0x0008 // DMX512 receive errors detected. +#define RcDmxUdpFull 0x0009 // Ran out of internal DMX transmit buffers. +#define RcDmxRxFull 0x000a // Ran out of internal DMX Rx buffers. +#define RcSwitchErr 0x000b // Rx Universe switches conflict. +#define RcConfigErr 0x000c // Product configuration does not match firmware. +#define RcDmxShort 0x000d // DMX output short detected. See GoodOutput field. +#define RcFirmwareFail 0x000e // Last attempt to upload new firmware failed. +#define RcUserFail 0x000f // User changed switch settings when address locked by remote programming. User changes ignored. + +#endif \ No newline at end of file diff --git a/OpCodes.h b/OpCodes.h new file mode 100644 index 0000000..892d49a --- /dev/null +++ b/OpCodes.h @@ -0,0 +1,42 @@ +// List of hex values and discriptions of Opcodes + +#ifndef OPCODES_H +#define OPCODES_H + +#define OpPoll 0x2000 // This is an ArtPoll packet, no other data is contained in this UDP packet +#define OpPollReply 0x2100 // This is an ArtPollReply Packet. It contains device status information. +#define OpDiagData 0x2300 // Diagnostics and data logging packet. +#define OpCommand 0x2400 // Used to send text based parameter commands. +#define OpOutput 0x5000 // This is an ArtDmx data packet. It contains zero start code DMX512 information for a single Universe. +#define OpDmx 0x5000 // This is an ArtDmx data packet. It contains zero start code DMX512 information for a single Universe. +#define OpNzs 0x5100 // This is an ArtNzs data packet. It contains non-zero start code (except RDM) DMX512 information for a single Universe. +#define OpAddress 0x6000 // This is an ArtAddress packet. It contains remote programming information for a Node. +#define OpInput 0x7000 // This is an ArtInput packet. It contains enable – disable data for DMX inputs. +#define OpTodRequest 0x8000 // This is an ArtTodRequest packet. It is used to request a Table of Devices (ToD) for RDM discovery. +#define OpTodData 0x8100 // This is an ArtTodData packet. It is used to send a Table of Devices (ToD) for RDM discovery. +#define OpTodControl 0x8200 // This is an ArtTodControl packet. It is used to send RDM discovery control messages. +#define OpRdm 0x8300 // This is an ArtRdm packet. It is used to send all non discovery RDM messages. +#define OpRdmSub 0x8400 // This is an ArtRdmSub packet. It is used to send compressed, RDM Sub-Device data. +#define OpVideoSetup 0xa010 // This is an ArtVideoSetup packet. It contains video screen setup information for nodes that implement the extended video features. +#define OpVideoPalette 0xa020 // This is an ArtVideoPalette packet. It contains colour palette setup information for nodes that implement the extended video features. +#define OpVideoData 0xa040 // This is an ArtVideoData packet. It contains display data for nodes that implement the extended video features. +#define OpMacMaster 0xf000 // This is an ArtMacMaster packet. It is used to program the Node’s MAC address, Oem device type and ESTA manufacturer code. This is for factory initialisation of a Node. It is not to be used by applications. +#define OpMacSlave 0xf100 // This is an ArtMacSlave packet. It is returned by the node to acknowledge receipt of an ArtMacMaster packet. +#define OpFirmwareMaster 0xf200 // This is an ArtFirmwareMaster packet. It is used to upload new firmware or firmware extensions to the Node. +#define OpFirmwareReply 0xf300 // This is an ArtFirmwareReply packet. It is returned by the node to acknowledge receipt of an ArtFirmwareMaster packet or ArtFileTnMaster packet. +#define OpFileTnMaster 0xf400 // Uploads user file to node. +#define OpFileFnMaster 0xf500 // Downloads user file from node. +#define OpFileFnReply 0xf600 // Node acknowledge for downloads. +#define OpIpProg 0xf800 // This is an ArtIpProg packet. It is used to reprogramme the IP, Mask and Port address of the Node. +#define OpIpProgReply 0xf900 // This is an ArtIpProgReply packet. It is returned by the node to acknowledge receipt of an ArtIpProg packet. +#define OpMedia 0x9000 // This is an ArtMedia packet. It is Unicast by a Media Server and acted upon by a Controller. +#define OpMediaPatch 0x9100 // This is an ArtMediaPatch packet. It is Unicast by a Controller and acted upon by a Media Server. +#define OpMediaControl 0x9200 // This is an ArtMediaControl packet. It is Unicast by a Controller and acted upon by a Media Server. +#define OpMediaContrlReply 0x9300 // This is an ArtMediaControlReply packet. It is Unicast by a Media Server and acted upon by a Controller. +#define OpTimeCode 0x9700 // This is an ArtTimeCode packet. It is used to transport time code over the network. +#define OpTimeSync 0x9800 // Used to synchronise real time date and clock +#define OpTrigger 0x9900 // Used to send trigger macros +#define OpDirectory 0x9a00 // Requests a node's file list +#define OpDirectoryReply 0x9b00 // Replies to OpDirectory with file list + +#endif \ No newline at end of file diff --git a/PriorityCodes.h b/PriorityCodes.h new file mode 100644 index 0000000..2538ebe --- /dev/null +++ b/PriorityCodes.h @@ -0,0 +1,12 @@ +// List of hex values and discriptions of Priority Codes + +#ifndef PRIORITYCODES_H +#define PRIORITYCODES_H + +#define DpLow 0x10 // Low priority message. +#define DpMed 0x40 // Medium priority message. +#define DpHigh 0x80 // High priority message. +#define DpCritical 0xe0 // Critical priority message. +#define DpVolatile 0xf0 // Volatile message. Messages of this type are displayed on a single line in the DMX-Workshop diagnostics display. All other types are displayed in a list box + +#endif \ No newline at end of file diff --git a/StyleCodes.h b/StyleCodes.h new file mode 100644 index 0000000..0c88cca --- /dev/null +++ b/StyleCodes.h @@ -0,0 +1,14 @@ +// List of hex values and discriptions of Style Codes + +#ifndef STYLECODES_H +#define STYLECODES_H + +#define StNode 0x00 // A DMX to / from Art-Net device +#define StController 0x01 // A lighting console. +#define StMedia 0x02 // A Media Server. +#define StRoute 0x03 // A network routing device. +#define StBackup 0x04 // A backup device. +#define StConfig 0x05 // A configuration or diagnostic tool. +#define StVisual 0x06 // A visualiser. + +#endif \ No newline at end of file