@@ -77,9 +77,15 @@ typedef enum {
7777 PID_STATUS_ID_DESCRIPTION = 0x0031 ,
7878 PID_CLEAR_STATUS_ID = 0x0032 ,
7979 PID_SUB_DEVICE_STATUS_REPORT_THRESHOLD = 0x0033 ,
80+ PID_QUEUED_MESSAGE_SENSOR_SUBSCRIBE = 0x0034 ,
8081 // RDM information
8182 PID_SUPPORTED_PARAMETERS = 0x0050 ,
8283 PID_PARAMETER_DESCRIPTION = 0x0051 ,
84+ PID_SUPPORTED_PARAMETERS_ENHANCED = 0x0055 ,
85+ PID_CONTROLLER_FLAG_SUPPORT = 0x0056 ,
86+ PID_NACK_DESCRIPTION = 0x0057 ,
87+ PID_PACKED_PID_SUB = 0x0058 ,
88+ PID_PACKED_PID_INDEX = 0x0059 ,
8389 // production information
8490 PID_DEVICE_INFO = 0x0060 ,
8591 PID_PRODUCT_DETAIL_ID_LIST = 0x0070 ,
@@ -250,6 +256,9 @@ typedef enum {
250256} rdm_status_type;
251257
252258
259+ // Remember to update the other places when adding new sensor types:
260+ // common/rdm/RDMHelper.cpp
261+ // python/ola/RDMConstants.py
253262typedef enum {
254263 SENSOR_TEMPERATURE = 0x00 ,
255264 SENSOR_VOLTAGE = 0x01 ,
@@ -284,9 +293,20 @@ typedef enum {
284293 SENSOR_ITEMS = 0x1E ,
285294 SENSOR_HUMIDITY = 0x1F ,
286295 SENSOR_COUNTER_16BIT = 0x20 ,
296+ SENSOR_CPU_LOAD = 0x21 ,
297+ SENSOR_BANDWIDTH = 0x22 ,
298+ SENSOR_CONCENTRATION = 0x23 ,
299+ SENSOR_SOUND_PRESSURE_LEVEL = 0x24 ,
300+ SENSOR_SOLID_ANGLE = 0x25 ,
301+ SENSOR_LOG_RATIO = 0x26 ,
302+ SENSOR_LOG_RATIO_VOLTS = 0x27 ,
303+ SENSOR_LOG_RATIO_WATTS = 0x28 ,
287304 SENSOR_OTHER = 0x7F ,
288305} rdm_sensor_type;
289306
307+ // Remember to update the other places when adding new sensor units:
308+ // common/rdm/RDMHelper.cpp
309+ // python/ola/RDMConstants.py
290310typedef enum {
291311 UNITS_NONE = 0x00 ,
292312 UNITS_CENTIGRADE = 0x01 ,
@@ -317,6 +337,14 @@ typedef enum {
317337 UNITS_LUX = 0x1A ,
318338 UNITS_IRE = 0x1B ,
319339 UNITS_BYTE = 0x1C ,
340+ UNITS_DECIBEL = 0x1D ,
341+ UNITS_DECIBEL_VOLT = 0x1E ,
342+ UNITS_DECIBEL_WATT = 0x1F ,
343+ UNITS_DECIBEL_METER = 0x20 ,
344+ UNITS_PERCENT = 0x21 ,
345+ UNITS_MOLES_PER_METER_CUBED = 0x22 ,
346+ UNITS_RPM = 0x23 ,
347+ UNITS_BYTE_PER_SECOND = 0x24 ,
320348} rdm_pid_unit;
321349
322350
@@ -362,6 +390,16 @@ typedef enum {
362390 DS_SIGNED_WORD = 0x06 ,
363391 DS_UNSIGNED_DWORD = 0x07 ,
364392 DS_SIGNED_DWORD = 0x08 ,
393+ DS_UINT64 = 0x09 ,
394+ DS_INT64 = 0x0a ,
395+ DS_GROUP = 0x0b ,
396+ DS_UID = 0x0c ,
397+ DS_BOOLEAN = 0x0d ,
398+ DS_URL = 0x0e ,
399+ DS_MAC = 0x0f ,
400+ DS_IPV4 = 0x10 ,
401+ DS_IPV6 = 0x11 ,
402+ DS_ENUMERATION = 0x12 ,
365403} rdm_data_type;
366404
367405
@@ -390,7 +428,14 @@ typedef enum {
390428 NR_INVALID_STATIC_CONFIG_TYPE = 0x0010 ,
391429 NR_INVALID_IPV4_ADDRESS = 0x0011 ,
392430 NR_INVALID_IPV6_ADDRESS = 0x0012 ,
393- NR_INVALID_PORT = 0x0013
431+ NR_INVALID_PORT = 0x0013 ,
432+ NR_DEVICE_ABSENT = 0x0014 ,
433+ NR_SENSOR_OUT_OF_RANGE = 0x0015 ,
434+ NR_SENSOR_FAULT = 0x0016 ,
435+ NR_PACKING_NOT_SUPPORTED = 0x0017 ,
436+ NR_ERROR_IN_PACKED_LIST_TRANSACTION = 0x0018 ,
437+ NR_PROXY_DROP = 0x0019 ,
438+ NR_ALL_CALL_SET_FAIL = 0x0020
394439} rdm_nack_reason;
395440
396441
@@ -460,6 +505,9 @@ typedef enum {
460505
461506
462507// product details
508+ // Remember to update the other places when adding new product detail:
509+ // common/rdm/RDMHelper.cpp
510+ // python/ola/RDMConstants.py
463511typedef enum {
464512 PRODUCT_DETAIL_NOT_DECLARED = 0x0000 ,
465513 PRODUCT_DETAIL_ARC = 0x0001 ,
@@ -540,6 +588,8 @@ typedef enum {
540588 PRODUCT_DETAIL_GFI_RCD = 0x0A00 ,
541589 PRODUCT_DETAIL_BATTERY = 0x0A01 ,
542590 PRODUCT_DETAIL_CONTROLLABLE_BREAKER = 0x0A02 ,
591+ PRODUCT_DETAIL_INPUT_DEVICE = 0x0B00 ,
592+ PRODUCT_DETAIL_SENSOR_INPUT = 0x0B01 ,
543593 PRODUCT_DETAIL_OTHER = 0x7FFF ,
544594} rdm_product_detail;
545595
@@ -560,6 +610,9 @@ typedef enum {
560610} rdm_slot_type;
561611
562612
613+ // Remember to update the other places when adding new slot definitions:
614+ // common/rdm/RDMHelper.cpp
615+ // python/ola/RDMConstants.py
563616/* *
564617 * @brief The RDM slot definitions, from table C-2 of the standard.
565618 */
@@ -577,6 +630,12 @@ typedef enum {
577630 SD_COLOR_ADD_BLUE = 0x0207 ,
578631 SD_COLOR_CORRECTION = 0x0208 ,
579632 SD_COLOR_SCROLL = 0x0209 ,
633+ SD_COLOR_ADD_LIME = 0x020A ,
634+ SD_COLOR_ADD_INDIGO = 0x020B ,
635+ SD_COLOR_ADD_CYAN = 0x020C ,
636+ SD_COLOR_ADD_DEEP_RED = 0x020D ,
637+ SD_COLOR_ADD_DEEP_BLUE = 0x020E ,
638+ SD_COLOR_ADD_NATURAL_WHITE = 0x020F ,
580639 SD_COLOR_SEMAPHORE = 0x0210 ,
581640 SD_COLOR_ADD_AMBER = 0x0211 ,
582641 SD_COLOR_ADD_WHITE = 0x0212 ,
@@ -585,6 +644,7 @@ typedef enum {
585644 SD_COLOR_SUB_UV = 0x0215 ,
586645 SD_COLOR_HUE = 0x0216 ,
587646 SD_COLOR_SATURATION = 0x0217 ,
647+ SD_COLOR_ADD_UV = 0x0218 ,
588648 SD_STATIC_GOBO_WHEEL = 0x0301 ,
589649 SD_ROTO_GOBO_WHEEL = 0x0302 ,
590650 SD_PRISM_WHEEL = 0x0303 ,
0 commit comments