29 #ifndef INCLUDE_OLA_RDM_RDMENUMS_H_
30 #define INCLUDE_OLA_RDM_RDMENUMS_H_
37 static const uint16_t ROOT_RDM_DEVICE = 0;
38 static const uint16_t ALL_RDM_SUBDEVICES = 0xffff;
39 static const uint16_t MAX_SUBDEVICE_NUMBER = 0x0200;
40 static const uint8_t MAX_RDM_STRING_LENGTH = 32;
41 static const uint16_t ZERO_FOOTPRINT_DMX_ADDRESS = 0xffff;
42 static const uint8_t MAX_QUEUED_MESSAGE_COUNT = 255;
45 static const uint8_t ACK_OVERFLOW = 3;
48 RDM_VERSION_1_0 = 0x100,
49 } rdm_protocol_version;
53 PID_DISC_UNIQUE_BRANCH = 0x0001,
54 PID_DISC_MUTE = 0x0002,
55 PID_DISC_UN_MUTE = 0x0003,
57 PID_PROXIED_DEVICES = 0x0010,
58 PID_PROXIED_DEVICE_COUNT = 0x0011,
59 PID_COMMS_STATUS = 0x0015,
61 PID_QUEUED_MESSAGE = 0x0020,
62 PID_STATUS_MESSAGES = 0x0030,
63 PID_STATUS_ID_DESCRIPTION = 0x0031,
64 PID_CLEAR_STATUS_ID = 0x0032,
65 PID_SUB_DEVICE_STATUS_REPORT_THRESHOLD = 0x0033,
67 PID_SUPPORTED_PARAMETERS = 0x0050,
68 PID_PARAMETER_DESCRIPTION = 0x0051,
70 PID_DEVICE_INFO = 0x0060,
71 PID_PRODUCT_DETAIL_ID_LIST = 0x0070,
72 PID_DEVICE_MODEL_DESCRIPTION = 0x0080,
73 PID_MANUFACTURER_LABEL = 0x0081,
74 PID_DEVICE_LABEL = 0x0082,
75 PID_FACTORY_DEFAULTS = 0x0090,
76 PID_LANGUAGE_CAPABILITIES = 0x00A0,
77 PID_LANGUAGE = 0x00B0,
78 PID_SOFTWARE_VERSION_LABEL = 0x00C0,
79 PID_BOOT_SOFTWARE_VERSION_ID = 0x00C1,
80 PID_BOOT_SOFTWARE_VERSION_LABEL = 0x00C2,
82 PID_DMX_PERSONALITY = 0x00E0,
83 PID_DMX_PERSONALITY_DESCRIPTION = 0x00E1,
84 PID_DMX_START_ADDRESS = 0x00F0,
85 PID_SLOT_INFO = 0x0120,
86 PID_SLOT_DESCRIPTION = 0x0121,
87 PID_DEFAULT_SLOT_VALUE = 0x0122,
89 PID_SENSOR_DEFINITION = 0x0200,
90 PID_SENSOR_VALUE = 0x0201,
91 PID_RECORD_SENSORS = 0x0202,
93 PID_DEVICE_HOURS = 0x0400,
94 PID_LAMP_HOURS = 0x0401,
95 PID_LAMP_STRIKES = 0x0402,
96 PID_LAMP_STATE = 0x0403,
97 PID_LAMP_ON_MODE = 0x0404,
98 PID_DEVICE_POWER_CYCLES = 0x0405,
100 PID_DISPLAY_INVERT = 0x0500,
101 PID_DISPLAY_LEVEL = 0x0501,
103 PID_PAN_INVERT = 0x0600,
104 PID_TILT_INVERT = 0x0601,
105 PID_PAN_TILT_SWAP = 0x0602,
106 PID_REAL_TIME_CLOCK = 0x0603,
108 PID_IDENTIFY_DEVICE = 0x1000,
109 PID_RESET_DEVICE = 0x1001,
110 PID_POWER_STATE = 0x1010,
111 PID_PERFORM_SELFTEST = 0x1020,
112 PID_SELF_TEST_DESCRIPTION = 0x1021,
113 PID_CAPTURE_PRESET = 0x1030,
114 PID_PRESET_PLAYBACK = 0x1031,
118 PID_DMX_BLOCK_ADDRESS = 0x0140,
119 PID_DMX_FAIL_MODE = 0x0141,
120 PID_DMX_STARTUP_MODE = 0x0142,
123 PID_DIMMER_INFO = 0x0340,
124 PID_MINIMUM_LEVEL = 0x0341,
125 PID_MAXIMUM_LEVEL = 0x0342,
127 PID_CURVE_DESCRIPTION = 0x0344,
130 PID_OUTPUT_RESPONSE_TIME = 0x0345,
131 PID_OUTPUT_RESPONSE_TIME_DESCRIPTION = 0x0346,
132 PID_MODULATION_FREQUENCY = 0x0347,
133 PID_MODULATION_FREQUENCY_DESCRIPTION = 0x0348,
136 PID_BURN_IN = 0x0440,
139 PID_LOCK_PIN = 0x0640,
140 PID_LOCK_STATE = 0x0641,
141 PID_LOCK_STATE_DESCRIPTION = 0x0642,
142 PID_IDENTIFY_MODE = 0x1040,
143 PID_PRESET_INFO = 0x1041,
144 PID_PRESET_STATUS = 0x1042,
145 PID_PRESET_MERGEMODE = 0x1043,
146 PID_POWER_ON_SELF_TEST = 0x1044,
149 PID_ENDPOINT_LIST = 0x7FE0,
150 PID_ENDPOINT_TO_UNIVERSE = 0x7FE1,
151 PID_RDM_TRAFFIC_ENABLE = 0x7FE2,
152 PID_ENDPOINT_MODE = 0x7FE3,
153 PID_ENDPOINT_LABEL = 0x7FE4,
154 PID_DISCOVERY_STATE = 0x7FE5,
155 PID_ENDPOINT_TIMING = 0x7FE6,
156 PID_ENDPOINT_TIMING_DESCRIPTION = 0x7FE7,
157 PID_BINDING_CONTROL_FIELDS = 0x7FE8,
158 PID_ENDPOINT_IDENTIFY = 0x7FE9,
159 PID_BACKGROUND_DISCOVERY = 0x7FEA,
160 PID_ENDPOINT_DEVICE_LIST_CHANGE = 0x7FEB,
161 PID_ENDPOINT_DEVICES = 0x7FEC,
162 PID_TCP_COMMS_STATUS = 0x7FED,
163 PID_ENDPOINT_LIST_CHANGE = 0x7FEE,
164 PID_BACKGROUND_QUEUED_STATUS_POLICY = 0x7FD0,
165 PID_BACKGROUND_QUEUED_STATUS_POLICY_DESCRIPTION = 0x7FD1,
166 PID_BACKGROUND_STATUS_TYPE = 0x7FD2,
167 PID_QUEUED_STATUS_ENDPOINT_COLLECTION = 0x7FD3,
168 PID_QUEUED_STATUS_UID_COLLECTION = 0x7FD4,
171 PID_LIST_INTERFACES = 0x0700,
172 PID_INTERFACE_LABEL = 0x0701,
173 PID_INTERFACE_HARDWARE_ADDRESS_TYPE1 = 0x0702,
174 PID_IPV4_DHCP_MODE = 0x0703,
175 PID_IPV4_ZEROCONF_MODE = 0x0704,
176 PID_IPV4_CURRENT_ADDRESS = 0x0705,
177 PID_IPV4_STATIC_ADDRESS = 0x0706,
178 PID_INTERFACE_RENEW_DHCP = 0x0707,
179 PID_INTERFACE_RELEASE_DHCP = 0x0708,
180 PID_INTERFACE_APPLY_CONFIGURATION = 0x0709,
181 PID_IPV4_DEFAULT_ROUTE = 0x070A,
182 PID_DNS_NAME_SERVER = 0x070B,
183 PID_DNS_HOSTNAME = 0x070C,
184 PID_DNS_DOMAIN_NAME = 0x070D,
190 STATUS_GET_LAST_MESSAGE = 0x1,
191 STATUS_ADVISORY = 0x2,
192 STATUS_WARNING = 0x3,
194 STATUS_ADVISORY_CLEARED = 0x12,
195 STATUS_WARNING_CLEARED = 0x13,
196 STATUS_ERROR_CLEARED = 0x14,
201 SENSOR_TEMPERATURE = 0x00,
202 SENSOR_VOLTAGE = 0x01,
203 SENSOR_CURRENT = 0x02,
204 SENSOR_FREQUENCY = 0x03,
205 SENSOR_RESISTANCE = 0x04,
208 SENSOR_LENGTH = 0x07,
210 SENSOR_VOLUME = 0x09,
211 SENSOR_DENSITY = 0x0A,
212 SENSOR_VELOCITY = 0x0B,
213 SENSOR_ACCELERATION = 0x0C,
215 SENSOR_ENERGY = 0x0E,
216 SENSOR_PRESSURE = 0x0F,
219 SENSOR_POSITION_X = 0x12,
220 SENSOR_POSITION_Y = 0x13,
221 SENSOR_POSITION_Z = 0x14,
222 SENSOR_ANGULAR_VELOCITY = 0x15,
223 SENSOR_LUMINOUS_INTENSITY = 0x16,
224 SENSOR_LUMINOUS_FLUX = 0x17,
225 SENSOR_ILLUMINANCE = 0x18,
226 SENSOR_CHROMINANCE_RED = 0x19,
227 SENSOR_CHROMINANCE_GREEN = 0x1A,
228 SENSOR_CHROMINANCE_BLUE = 0x1B,
229 SENSOR_CONTACTS = 0x1C,
230 SENSOR_MEMORY = 0x1D,
232 SENSOR_HUMIDITY = 0x1F,
233 SENSOR_COUNTER_16BIT = 0x20,
239 UNITS_CENTIGRADE = 0x01,
240 UNITS_VOLTS_DC = 0x02,
241 UNITS_VOLTS_AC_PEAK = 0x03,
242 UNITS_VOLTS_AC_RMS = 0x04,
243 UNITS_AMPERE_DC = 0x05,
244 UNITS_AMPERE_AC_PEAK = 0x06,
245 UNITS_AMPERE_AC_RMS = 0x07,
249 UNITS_KILOGRAM = 0x0B,
251 UNITS_METERS_SQUARED = 0x0D,
252 UNITS_METERS_CUBED = 0x0E,
253 UNITS_KILOGRAMMES_PER_METER_CUBED = 0x0F,
254 UNITS_METERS_PER_SECOND = 0x10,
255 UNITS_METERS_PER_SECOND_SQUARED = 0x11,
261 UNITS_STERADIAN = 0x17,
262 UNITS_CANDELA = 0x18,
278 PREFIX_FEMPTO = 0x07,
303 DS_NOT_DEFINED = 0x0,
306 DS_UNSIGNED_BYTE = 0x03,
307 DS_SIGNED_BYTE = 0x04,
308 DS_UNSIGNED_WORD = 0x05,
309 DS_SIGNED_WORD = 0x06,
310 DS_UNSIGNED_DWORD = 0x07,
311 DS_SIGNED_DWORD = 0x08,
316 NR_UNKNOWN_PID = 0x0000,
317 NR_FORMAT_ERROR = 0x0001,
318 NR_HARDWARE_FAULT = 0x0002,
319 NR_PROXY_REJECT = 0x0003,
320 NR_WRITE_PROTECT = 0x0004,
321 NR_UNSUPPORTED_COMMAND_CLASS = 0x0005,
322 NR_DATA_OUT_OF_RANGE = 0x0006,
323 NR_BUFFER_FULL = 0x0007,
324 NR_PACKET_SIZE_UNSUPPORTED = 0x0008,
325 NR_SUB_DEVICE_OUT_OF_RANGE = 0x0009,
326 NR_PROXY_BUFFER_FULL = 0x000A,
327 NR_ACTION_NOT_SUPPORTED = 0x000B,
328 NR_ENDPOINT_NUMBER_INVALID = 0x0011
333 PRODUCT_CATEGORY_NOT_DECLARED = 0x0000,
334 PRODUCT_CATEGORY_FIXTURE = 0x0100,
335 PRODUCT_CATEGORY_FIXTURE_FIXED = 0x0101,
336 PRODUCT_CATEGORY_FIXTURE_MOVING_YOKE = 0x0102,
337 PRODUCT_CATEGORY_FIXTURE_MOVING_MIRROR = 0x0103,
338 PRODUCT_CATEGORY_FIXTURE_OTHER = 0x01FF,
339 PRODUCT_CATEGORY_FIXTURE_ACCESSORY = 0x0200,
340 PRODUCT_CATEGORY_FIXTURE_ACCESSORY_COLOR = 0x0201,
341 PRODUCT_CATEGORY_FIXTURE_ACCESSORY_YOKE = 0x0202,
342 PRODUCT_CATEGORY_FIXTURE_ACCESSORY_MIRROR = 0x0203,
343 PRODUCT_CATEGORY_FIXTURE_ACCESSORY_EFFECT = 0x0204,
344 PRODUCT_CATEGORY_FIXTURE_ACCESSORY_BEAM = 0x0205,
345 PRODUCT_CATEGORY_FIXTURE_ACCESSORY_OTHER = 0x02FF,
346 PRODUCT_CATEGORY_PROJECTOR = 0x0300,
347 PRODUCT_CATEGORY_PROJECTOR_FIXED = 0x0301,
348 PRODUCT_CATEGORY_PROJECTOR_MOVING_YOKE = 0x0302,
349 PRODUCT_CATEGORY_PROJECTOR_MOVING_MIRROR = 0x0303,
350 PRODUCT_CATEGORY_PROJECTOR_OTHER = 0x03FF,
351 PRODUCT_CATEGORY_ATMOSPHERIC = 0x0400,
352 PRODUCT_CATEGORY_ATMOSPHERIC_EFFECT = 0x0401,
353 PRODUCT_CATEGORY_ATMOSPHERIC_PYRO = 0x0402,
354 PRODUCT_CATEGORY_ATMOSPHERIC_OTHER = 0x04FF,
355 PRODUCT_CATEGORY_DIMMER = 0x0500,
356 PRODUCT_CATEGORY_DIMMER_AC_INCANDESCENT = 0x0501,
357 PRODUCT_CATEGORY_DIMMER_AC_FLUORESCENT = 0x0502,
358 PRODUCT_CATEGORY_DIMMER_AC_COLDCATHODE = 0x0503,
359 PRODUCT_CATEGORY_DIMMER_AC_NONDIM = 0x0504,
360 PRODUCT_CATEGORY_DIMMER_AC_ELV = 0x0505,
361 PRODUCT_CATEGORY_DIMMER_AC_OTHER = 0x0506,
362 PRODUCT_CATEGORY_DIMMER_DC_LEVEL = 0x0507,
363 PRODUCT_CATEGORY_DIMMER_DC_PWM = 0x0508,
364 PRODUCT_CATEGORY_DIMMER_CS_LED = 0x0509,
365 PRODUCT_CATEGORY_DIMMER_OTHER = 0x05FF,
366 PRODUCT_CATEGORY_POWER = 0x0600,
367 PRODUCT_CATEGORY_POWER_CONTROL = 0x0601,
368 PRODUCT_CATEGORY_POWER_SOURCE = 0x0602,
369 PRODUCT_CATEGORY_POWER_OTHER = 0x06FF,
370 PRODUCT_CATEGORY_SCENIC = 0x0700,
371 PRODUCT_CATEGORY_SCENIC_DRIVE = 0x0701,
372 PRODUCT_CATEGORY_SCENIC_OTHER = 0x07FF,
373 PRODUCT_CATEGORY_DATA = 0x0800,
374 PRODUCT_CATEGORY_DATA_DISTRIBUTION = 0x0801,
375 PRODUCT_CATEGORY_DATA_CONVERSION = 0x0802,
376 PRODUCT_CATEGORY_DATA_OTHER = 0x08FF,
377 PRODUCT_CATEGORY_AV = 0x0900,
378 PRODUCT_CATEGORY_AV_AUDIO = 0x0901,
379 PRODUCT_CATEGORY_AV_VIDEO = 0x0902,
380 PRODUCT_CATEGORY_AV_OTHER = 0x09FF,
381 PRODUCT_CATEGORY_MONITOR = 0x0A00,
382 PRODUCT_CATEGORY_MONITOR_ACLINEPOWER = 0x0A01,
383 PRODUCT_CATEGORY_MONITOR_DCPOWER = 0x0A02,
384 PRODUCT_CATEGORY_MONITOR_ENVIRONMENTAL = 0x0A03,
385 PRODUCT_CATEGORY_MONITOR_OTHER = 0x0AFF,
386 PRODUCT_CATEGORY_CONTROL = 0x7000,
387 PRODUCT_CATEGORY_CONTROL_CONTROLLER = 0x7001,
388 PRODUCT_CATEGORY_CONTROL_BACKUPDEVICE = 0x7002,
389 PRODUCT_CATEGORY_CONTROL_OTHER = 0x70FF,
390 PRODUCT_CATEGORY_TEST = 0x7100,
391 PRODUCT_CATEGORY_TEST_EQUIPMENT = 0x7101,
392 PRODUCT_CATEGORY_TEST_EQUIPMENT_OTHER = 0x71FF,
393 PRODUCT_CATEGORY_OTHER = 0x7FFF,
394 } rdm_product_category;
399 PRODUCT_DETAIL_NOT_DECLARED = 0x0000,
400 PRODUCT_DETAIL_ARC = 0x0001,
401 PRODUCT_DETAIL_METAL_HALIDE = 0x0002,
402 PRODUCT_DETAIL_INCANDESCENT = 0x0003,
403 PRODUCT_DETAIL_LED = 0x0004,
404 PRODUCT_DETAIL_FLUORESCENT = 0x0005,
405 PRODUCT_DETAIL_COLDCATHODE = 0x0006,
406 PRODUCT_DETAIL_ELECTROLUMINESCENT = 0x0007,
407 PRODUCT_DETAIL_LASER = 0x0008,
408 PRODUCT_DETAIL_FLASHTUBE = 0x0009,
409 PRODUCT_DETAIL_COLORSCROLLER = 0x0100,
410 PRODUCT_DETAIL_COLORWHEEL = 0x0101,
411 PRODUCT_DETAIL_COLORCHANGE = 0x0102,
412 PRODUCT_DETAIL_IRIS_DOUSER = 0x0103,
413 PRODUCT_DETAIL_DIMMING_SHUTTER = 0x0104,
414 PRODUCT_DETAIL_PROFILE_SHUTTER = 0x0105,
415 PRODUCT_DETAIL_BARNDOOR_SHUTTER = 0x0106,
416 PRODUCT_DETAIL_EFFECTS_DISC = 0x0107,
417 PRODUCT_DETAIL_GOBO_ROTATOR = 0x0108,
418 PRODUCT_DETAIL_VIDEO = 0x0200,
419 PRODUCT_DETAIL_SLIDE = 0x0201,
420 PRODUCT_DETAIL_FILM = 0x0202,
421 PRODUCT_DETAIL_OILWHEEL = 0x0203,
422 PRODUCT_DETAIL_LCDGATE = 0x0204,
423 PRODUCT_DETAIL_FOGGER_GLYCOL = 0x0300,
424 PRODUCT_DETAIL_FOGGER_MINERALOIL = 0x0301,
425 PRODUCT_DETAIL_FOGGER_WATER = 0x0302,
426 PRODUCT_DETAIL_CO2 = 0x0303,
427 PRODUCT_DETAIL_LN2 = 0x0304,
428 PRODUCT_DETAIL_BUBBLE = 0x0305,
429 PRODUCT_DETAIL_FLAME_PROPANE = 0x0306,
430 PRODUCT_DETAIL_FLAME_OTHER = 0x0307,
431 PRODUCT_DETAIL_OLEFACTORY_STIMULATOR = 0x0308,
432 PRODUCT_DETAIL_SNOW = 0x0309,
433 PRODUCT_DETAIL_WATER_JET = 0x030A,
434 PRODUCT_DETAIL_WIND = 0x030B,
435 PRODUCT_DETAIL_CONFETTI = 0x030C,
436 PRODUCT_DETAIL_HAZARD = 0x030D,
437 PRODUCT_DETAIL_PHASE_CONTROL = 0x0400,
438 PRODUCT_DETAIL_REVERSE_PHASE_CONTROL = 0x0401,
439 PRODUCT_DETAIL_SINE = 0x0402,
440 PRODUCT_DETAIL_PWM = 0x0403,
441 PRODUCT_DETAIL_DC = 0x0404,
442 PRODUCT_DETAIL_HFBALLAST = 0x0405,
443 PRODUCT_DETAIL_HFHV_NEONBALLAST = 0x0406,
444 PRODUCT_DETAIL_HFHV_EL = 0x0407,
445 PRODUCT_DETAIL_MHR_BALLAST = 0x0408,
446 PRODUCT_DETAIL_BITANGLE_MODULATION = 0x0409,
447 PRODUCT_DETAIL_FREQUENCY_MODULATION = 0x040A,
448 PRODUCT_DETAIL_HIGHFREQUENCY_12V = 0x040B,
449 PRODUCT_DETAIL_RELAY_MECHANICAL = 0x040C,
450 PRODUCT_DETAIL_RELAY_ELECTRONIC = 0x040D,
451 PRODUCT_DETAIL_SWITCH_ELECTRONIC = 0x040E,
452 PRODUCT_DETAIL_CONTACTOR = 0x040F,
453 PRODUCT_DETAIL_MIRRORBALL_ROTATOR = 0x0500,
454 PRODUCT_DETAIL_OTHER_ROTATOR = 0x0501,
455 PRODUCT_DETAIL_KABUKI_DROP = 0x0502,
456 PRODUCT_DETAIL_CURTAIN = 0x0503,
457 PRODUCT_DETAIL_LINESET = 0x0504,
458 PRODUCT_DETAIL_MOTOR_CONTROL = 0x0505,
459 PRODUCT_DETAIL_DAMPER_CONTROL = 0x0506,
460 PRODUCT_DETAIL_SPLITTER = 0x0600,
461 PRODUCT_DETAIL_ETHERNET_NODE = 0x0601,
462 PRODUCT_DETAIL_MERGE = 0x0602,
463 PRODUCT_DETAIL_DATAPATCH = 0x0603,
464 PRODUCT_DETAIL_WIRELESS_LINK = 0x0604,
465 PRODUCT_DETAIL_PROTOCOL_CONVERTOR = 0x0701,
466 PRODUCT_DETAIL_ANALOG_DEMULTIPLEX = 0x0702,
467 PRODUCT_DETAIL_ANALOG_MULTIPLEX = 0x0703,
468 PRODUCT_DETAIL_SWITCH_PANEL = 0x0704,
469 PRODUCT_DETAIL_ROUTER = 0x0800,
470 PRODUCT_DETAIL_FADER = 0x0801,
471 PRODUCT_DETAIL_MIXER = 0x0802,
472 PRODUCT_DETAIL_CHANGEOVER_MANUAL = 0x0900,
473 PRODUCT_DETAIL_CHANGEOVER_AUTO = 0x0901,
474 PRODUCT_DETAIL_TEST = 0x0902,
475 PRODUCT_DETAIL_GFI_RCD = 0x0A00,
476 PRODUCT_DETAIL_BATTERY = 0x0A01,
477 PRODUCT_DETAIL_CONTROLLABLE_BREAKER = 0x0A02,
478 PRODUCT_DETAIL_OTHER = 0x7FFF,
479 } rdm_product_detail;
488 ST_SEC_TIMING = 0x02,
490 ST_SEC_CONTROL = 0x04,
492 ST_SEC_ROTATION = 0x06,
493 ST_SEC_INDEX_ROTATE = 0x07,
494 ST_SEC_UNDEFINED = 0xFF,
502 SD_INTENSITY = 0x0001,
503 SD_INTENSITY_MASTER = 0x0002,
506 SD_COLOR_WHEEL = 0x0201,
507 SD_COLOR_SUB_CYAN = 0x0202,
508 SD_COLOR_SUB_YELLOW = 0x0203,
509 SD_COLOR_SUB_MAGENTA = 0x0204,
510 SD_COLOR_ADD_RED = 0x0205,
511 SD_COLOR_ADD_GREEN = 0x0206,
512 SD_COLOR_ADD_BLUE = 0x0207,
513 SD_COLOR_CORRECTION = 0x0208,
514 SD_COLOR_SCROLL = 0x0209,
515 SD_COLOR_SEMAPHORE = 0x0210,
516 SD_COLOR_ADD_AMBER = 0x0211,
517 SD_COLOR_ADD_WHITE = 0x0212,
518 SD_COLOR_ADD_WARM_WHITE = 0x0213,
519 SD_COLOR_ADD_COOL_WHITE = 0x0214,
520 SD_COLOR_SUB_UV = 0x0215,
521 SD_COLOR_HUE = 0x0216,
522 SD_COLOR_SATURATION = 0x0217,
523 SD_STATIC_GOBO_WHEEL = 0x0301,
524 SD_ROTO_GOBO_WHEEL = 0x0302,
525 SD_PRISM_WHEEL = 0x0303,
526 SD_EFFECTS_WHEEL = 0x0304,
527 SD_BEAM_SIZE_IRIS = 0x0401,
532 SD_FRAMING_SHUTTER = 0x0406,
533 SD_SHUTTER_ROTATE = 0x0407,
535 SD_BARN_DOOR = 0x0409,
536 SD_LAMP_CONTROL = 0x0501,
537 SD_FIXTURE_CONTROL = 0x0502,
538 SD_FIXTURE_SPEED = 0x0503,
540 SD_POWER_CONTROL = 0x0505,
541 SD_FAN_CONTROL = 0x0506,
542 SD_HEATER_CONTROL = 0x0507,
543 SD_FOUNTAIN_CONTROL = 0x0508,
544 SD_UNDEFINED = 0xFFFF,
549 STS_CAL_FAIL = 0x0001,
550 STS_SENS_NOT_FOUND = 0x0002,
551 STS_SENS_ALWAYS_ON = 0x0003,
552 STS_FEEDBACK_ERROR = 0x0004,
553 STS_INDEX_ERROR = 0x0005,
554 STS_LAMP_DOUSED = 0x0011,
555 STS_LAMP_STRIKE = 0x0012,
556 STS_LAMP_ACCESS_OPEN = 0x0013,
557 STS_LAMP_ALWAYS_ON = 0x0014,
558 STS_OVERTEMP = 0x0021,
559 STS_UNDERTEMP = 0x0022,
560 STS_SENS_OUT_RANGE = 0x0023,
561 STS_OVERVOLTAGE_PHASE = 0x0031,
562 STS_UNDERVOLTAGE_PHASE = 0x0032,
563 STS_OVERCURRENT = 0x0033,
564 STS_UNDERCURRENT = 0x0034,
566 STS_PHASE_ERROR = 0x0036,
569 STS_DIMSLOT_OCCUPIED = 0x0041,
570 STS_BREAKER_TRIP = 0x0042,
572 STS_DIM_FAILURE = 0x0044,
573 STS_DIM_PANIC = 0x0045,
574 STS_LOAD_FAILURE = 0x0046,
576 STS_NOT_READY = 0x0051,
577 STS_LOW_FLUID = 0x0052,
578 STS_EEPROM_ERROR = 0x0060,
579 STS_RAM_ERROR = 0x0061,
580 STS_FPGA_ERROR = 0x0062,
581 STS_PROXY_BROADCAST_DROPPED = 0x0070,
582 STS_ASC_RXOK = 0x0071,
583 STS_ASC_DROPPED = 0x0072,
584 STS_DMXNSCNONE = 0x0080,
585 STS_DMXNSCLOSS = 0x0081,
586 STS_DMXNSCERROR = 0x0082,
587 STS_DMXNSC_OK = 0x0083,
588 } rdm_status_message_id;
596 LAMP_NOT_PRESENT = 0x04,
601 LAMP_ON_MODE_OFF = 0x00,
602 LAMP_ON_MODE_DMX = 0x01,
603 LAMP_ON_MODE_ON = 0x02,
604 LAMP_ON_MODE_ON_AFTER_CAL = 0x03,
608 POWER_STATE_FULL_OFF = 0x00,
609 POWER_STATE_SHUTDOWN = 0x01,
610 POWER_STATE_STANDBY = 0x02,
611 POWER_STATE_NORMAL = 0xFF,
615 DISPLAY_INVERT_OFF = 0x00,
616 DISPLAY_INVERT_ON = 0x01,
617 DISPLAY_INVERT_AUTO = 0x02,
618 } rdm_display_invert;
622 IDENTIFY_MODE_QUIET = 0x00,
623 IDENTIFY_MODE_LOUD = 0xFF,
629 } rdm_reset_device_mode;
632 static const uint16_t PRESET_PLAYBACK_OFF = 0x0000;
633 static const uint16_t PRESET_PLAYBACK_ALL = 0xFFFF;
635 static const uint8_t ALL_SENSORS = 0xff;
638 static const uint8_t SENSOR_RECORDED_VALUE = 0x01;
639 static const uint8_t SENSOR_RECORDED_RANGE_VALUES = 0x02;
642 static const uint8_t SENSOR_RECORDED_UNSUPPORTED = 0x0000;
643 static const uint8_t SENSOR_RECORDED_RANGE_UNSUPPORTED = 0x0000;
646 static const int16_t SENSOR_DEFINITION_RANGE_MIN_UNDEFINED = -0x8000;
649 static const int16_t SENSOR_DEFINITION_RANGE_MAX_UNDEFINED = 0x7FFF;
652 static const int16_t SENSOR_DEFINITION_NORMAL_MIN_UNDEFINED = -0x8000;
655 static const int16_t SENSOR_DEFINITION_NORMAL_MAX_UNDEFINED = 0x7FFF;
658 static const uint16_t MAX_LOCK_PIN = 9999;
662 PRESET_NOT_PROGRAMMED = 0x00,
663 PRESET_PROGRAMMED = 0x01,
664 PRESET_PROGRAMMED_READ_ONLY = 0x02,
665 } rdm_preset_programmed_mode;
669 MERGEMODE_DEFAULT = 0x00,
670 MERGEMODE_HTP = 0x01,
671 MERGEMODE_LTP = 0x02,
672 MERGEMODE_DMX_ONLY = 0x03,
673 MERGEMODE_OTHER = 0xFF,
674 } rdm_preset_mergemode;
677 static const uint16_t IPV4_UNCONFIGURED = 0x00000000;
678 static const uint16_t NO_DEFAULT_ROUTE = 0x00000000;
681 DHCP_STATUS_INACTIVE = 0x00,
682 DHCP_STATUS_ACTIVE = 0x01,
683 DHCP_STATUS_UNKNOWN = 0x02,
687 static const uint8_t MAX_RDM_HOSTNAME_LENGTH = 63;
688 static const uint8_t MAX_RDM_DOMAIN_NAME_LENGTH = 231;
690 static const uint8_t DNS_NAME_SERVER_MAX_INDEX = 2;
693 #endif // INCLUDE_OLA_RDM_RDMENUMS_H_