| {{> header}} |
| |
| // Prevent multiple inclusion |
| #pragma once |
| |
| // Cluster masks modify how clusters are used by the framework |
| // |
| // Does this cluster have init function? |
| #define CLUSTER_MASK_INIT_FUNCTION (0x01) |
| // Does this cluster have attribute changed function? |
| #define CLUSTER_MASK_ATTRIBUTE_CHANGED_FUNCTION (0x02) |
| // Does this cluster have default response function? |
| #define CLUSTER_MASK_DEFAULT_RESPONSE_FUNCTION (0x04) |
| // Does this cluster have message sent function? |
| #define CLUSTER_MASK_MESSAGE_SENT_FUNCTION (0x08) |
| // Does this cluster have manufacturer specific attribute changed function? |
| #define CLUSTER_MASK_MANUFACTURER_SPECIFIC_ATTRIBUTE_CHANGED_FUNCTION (0x10) |
| // Does this cluster have pre-attribute changed function? |
| #define CLUSTER_MASK_PRE_ATTRIBUTE_CHANGED_FUNCTION (0x20) |
| // Cluster is a server |
| #define CLUSTER_MASK_SERVER (0x40) |
| // Cluster is a client |
| #define CLUSTER_MASK_CLIENT (0x80) |