Advertisement
Guest User

Untitled

a guest
Apr 4th, 2020
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 6.20 KB | None | 0 0
  1. // General Clusters
  2. #define ZCL_CLUSTER_ID_GEN_BASIC                             0x0000
  3. #define ZCL_CLUSTER_ID_GEN_POWER_CFG                         0x0001
  4. #define ZCL_CLUSTER_ID_GEN_DEVICE_TEMP_CONFIG                0x0002
  5. #define ZCL_CLUSTER_ID_GEN_IDENTIFY                          0x0003
  6. #define ZCL_CLUSTER_ID_GEN_GROUPS                            0x0004
  7. #define ZCL_CLUSTER_ID_GEN_SCENES                            0x0005
  8. #define ZCL_CLUSTER_ID_GEN_ON_OFF                            0x0006
  9. #define ZCL_CLUSTER_ID_GEN_ON_OFF_SWITCH_CONFIG              0x0007
  10. #define ZCL_CLUSTER_ID_GEN_LEVEL_CONTROL                     0x0008
  11. #define ZCL_CLUSTER_ID_GEN_ALARMS                            0x0009
  12. #define ZCL_CLUSTER_ID_GEN_TIME                              0x000A
  13. #define ZCL_CLUSTER_ID_GEN_LOCATION                          0x000B
  14. #define ZCL_CLUSTER_ID_GEN_ANALOG_INPUT_BASIC                0x000C
  15. #define ZCL_CLUSTER_ID_GEN_ANALOG_OUTPUT_BASIC               0x000D
  16. #define ZCL_CLUSTER_ID_GEN_ANALOG_VALUE_BASIC                0x000E
  17. #define ZCL_CLUSTER_ID_GEN_BINARY_INPUT_BASIC                0x000F
  18. #define ZCL_CLUSTER_ID_GEN_BINARY_OUTPUT_BASIC               0x0010
  19. #define ZCL_CLUSTER_ID_GEN_BINARY_VALUE_BASIC                0x0011
  20. #define ZCL_CLUSTER_ID_GEN_MULTISTATE_INPUT_BASIC            0x0012
  21. #define ZCL_CLUSTER_ID_GEN_MULTISTATE_OUTPUT_BASIC           0x0013
  22. #define ZCL_CLUSTER_ID_GEN_MULTISTATE_VALUE_BASIC            0x0014
  23. #define ZCL_CLUSTER_ID_GEN_COMMISSIONING                     0x0015
  24. #define ZCL_CLUSTER_ID_GEN_PARTITION                         0x0016
  25.  
  26. #define ZCL_CLUSTER_ID_OTA                                   0x0019
  27.  
  28. #define ZCL_CLUSTER_ID_GEN_POWER_PROFILE                     0x001A
  29. #define ZCL_CLUSTER_ID_GEN_APPLIANCE_CONTROL                 0x001B
  30.  
  31. #define ZCL_CLUSTER_ID_GEN_POLL_CONTROL                      0x0020
  32.  
  33. #define ZCL_CLUSTER_ID_GREEN_POWER_PROXY                     0x0021
  34.  
  35. // Closures Clusters
  36. #define ZCL_CLUSTER_ID_CLOSURES_SHADE_CONFIG                 0x0100
  37. #define ZCL_CLUSTER_ID_CLOSURES_DOOR_LOCK                    0x0101
  38. #define ZCL_CLUSTER_ID_CLOSURES_WINDOW_COVERING              0x0102
  39.  
  40. // HVAC Clusters
  41. #define ZCL_CLUSTER_ID_HVAC_PUMP_CONFIG_CONTROL              0x0200
  42. #define ZCL_CLUSTER_ID_HVAC_THERMOSTAT                       0x0201
  43. #define ZCL_CLUSTER_ID_HVAC_FAN_CONTROL                      0x0202
  44. #define ZCL_CLUSTER_ID_HVAC_DIHUMIDIFICATION_CONTROL         0x0203
  45. #define ZCL_CLUSTER_ID_HVAC_USER_INTERFACE_CONFIG            0x0204
  46.  
  47. // Lighting Clusters
  48. #define ZCL_CLUSTER_ID_LIGHTING_COLOR_CONTROL                0x0300
  49. #define ZCL_CLUSTER_ID_LIGHTING_BALLAST_CONFIG               0x0301
  50.  
  51. // Measurement and Sensing Clusters
  52. #define ZCL_CLUSTER_ID_MS_ILLUMINANCE_MEASUREMENT            0x0400
  53. #define ZCL_CLUSTER_ID_MS_ILLUMINANCE_LEVEL_SENSING_CONFIG   0x0401
  54. #define ZCL_CLUSTER_ID_MS_TEMPERATURE_MEASUREMENT            0x0402
  55. #define ZCL_CLUSTER_ID_MS_PRESSURE_MEASUREMENT               0x0403
  56. #define ZCL_CLUSTER_ID_MS_FLOW_MEASUREMENT                   0x0404
  57. #define ZCL_CLUSTER_ID_MS_RELATIVE_HUMIDITY                  0x0405
  58. #define ZCL_CLUSTER_ID_MS_OCCUPANCY_SENSING                  0x0406
  59.  
  60. // Security and Safety (SS) Clusters
  61. #define ZCL_CLUSTER_ID_SS_IAS_ZONE                           0x0500
  62. #define ZCL_CLUSTER_ID_SS_IAS_ACE                            0x0501
  63. #define ZCL_CLUSTER_ID_SS_IAS_WD                             0x0502
  64.  
  65. // Protocol Interfaces
  66. #define ZCL_CLUSTER_ID_PI_GENERIC_TUNNEL                     0x0600
  67. #define ZCL_CLUSTER_ID_PI_BACNET_PROTOCOL_TUNNEL             0x0601
  68. #define ZCL_CLUSTER_ID_PI_ANALOG_INPUT_BACNET_REG            0x0602
  69. #define ZCL_CLUSTER_ID_PI_ANALOG_INPUT_BACNET_EXT            0x0603
  70. #define ZCL_CLUSTER_ID_PI_ANALOG_OUTPUT_BACNET_REG           0x0604
  71. #define ZCL_CLUSTER_ID_PI_ANALOG_OUTPUT_BACNET_EXT           0x0605
  72. #define ZCL_CLUSTER_ID_PI_ANALOG_VALUE_BACNET_REG            0x0606
  73. #define ZCL_CLUSTER_ID_PI_ANALOG_VALUE_BACNET_EXT            0x0607
  74. #define ZCL_CLUSTER_ID_PI_BINARY_INPUT_BACNET_REG            0x0608
  75. #define ZCL_CLUSTER_ID_PI_BINARY_INPUT_BACNET_EXT            0x0609
  76. #define ZCL_CLUSTER_ID_PI_BINARY_OUTPUT_BACNET_REG           0x060A
  77. #define ZCL_CLUSTER_ID_PI_BINARY_OUTPUT_BACNET_EXT           0x060B
  78. #define ZCL_CLUSTER_ID_PI_BINARY_VALUE_BACNET_REG            0x060C
  79. #define ZCL_CLUSTER_ID_PI_BINARY_VALUE_BACNET_EXT            0x060D
  80. #define ZCL_CLUSTER_ID_PI_MULTISTATE_INPUT_BACNET_REG        0x060E
  81. #define ZCL_CLUSTER_ID_PI_MULTISTATE_INPUT_BACNET_EXT        0x060F
  82. #define ZCL_CLUSTER_ID_PI_MULTISTATE_OUTPUT_BACNET_REG       0x0610
  83. #define ZCL_CLUSTER_ID_PI_MULTISTATE_OUTPUT_BACNET_EXT       0x0611
  84. #define ZCL_CLUSTER_ID_PI_MULTISTATE_VALUE_BACNET_REG        0x0612
  85. #define ZCL_CLUSTER_ID_PI_MULTISTATE_VALUE_BACNET_EXT        0x0613
  86. #define ZCL_CLUSTER_ID_PI_11073_PROTOCOL_TUNNEL              0x0614
  87.  
  88. // Advanced Metering Initiative (SE) Clusters
  89. #define ZCL_CLUSTER_ID_SE_PRICING                            0x0700
  90. #define ZCL_CLUSTER_ID_SE_LOAD_CONTROL                       0x0701
  91. #define ZCL_CLUSTER_ID_SE_SIMPLE_METERING                    0x0702
  92. #define ZCL_CLUSTER_ID_SE_MESSAGE                            0x0703
  93. #define ZCL_CLUSTER_ID_SE_SE_TUNNELING                       0x0704
  94. #define ZCL_CLUSTER_ID_SE_PREPAYMENT                         0x0705
  95. #define ZCL_CLUSTER_ID_SE_ENERGY_MGMT                        0x0706
  96. #define ZCL_CLUSTER_ID_SE_TOU_CALENDAR                       0x0707
  97. #define ZCL_CLUSTER_ID_SE_DEVICE_MGMT                        0x0708
  98. #define ZCL_CLUSTER_ID_SE_EVENTS                             0x0709
  99. #define ZCL_CLUSTER_ID_SE_MDU_PAIRING                        0x070A
  100.  
  101. #define ZCL_CLUSTER_ID_GEN_KEY_ESTABLISHMENT                 0x0800
  102.  
  103. #define ZCL_CLUSTER_ID_HA_APPLIANCE_IDENTIFICATION           0x0B00
  104. #define ZCL_CLUSTER_ID_HA_METER_IDENTIFICATION               0x0B01
  105. #define ZCL_CLUSTER_ID_HA_APPLIANCE_EVENTS_ALERTS            0x0B02
  106. #define ZCL_CLUSTER_ID_HA_APPLIANCE_STATISTICS               0x0B03
  107. #define ZCL_CLUSTER_ID_HA_ELECTRICAL_MEASUREMENT             0x0B04
  108. #define ZCL_CLUSTER_ID_HA_DIAGNOSTIC                         0x0B05
  109.  
  110. // Light Link cluster
  111. #define ZCL_CLUSTER_ID_LIGHT_LINK                           0x1000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement