Interface ZCLAttributeInfo

  • All Known Subinterfaces:
    ZCLAttribute, ZCLAttributeDescription

    public interface ZCLAttributeInfo
    This interface provides information about the attribute, like its ZCL attribute ID, if it manufacturer specific and about its data type (see getDataType()).
    Author:
    $Id: 5e3bafbefdc73a0d46632743796c784449aca1dc $
    • Field Detail

      • ID

        static final java.lang.String ID
        Property key for the optional attribute id of a ZigBee Event Listener.
        See Also:
        Constant Field Values
    • Method Detail

      • isManufacturerSpecific

        boolean isManufacturerSpecific()
        Checks if the attribute is manufacturer specific.
        Returns:
        true if and only if this attribute is related to a manufacturer extension.
      • getManufacturerCode

        int getManufacturerCode()
        Returns the manufacturer code of this attribute.
        Returns:
        The manufacturer code that defined this attribute, if the attribute does not belong to any manufacture extension then it returns -1.
      • getId

        int getId()
        Returns the ID of this attribute.
        Returns:
        the attribute identifier (that is, the attribute's ID).
      • getDataType

        ZCLDataTypeDescription getDataType()
        Returns the data type of this attribute.
        Returns:
        The attribute data type. It may be null if the data type is not retrievable (issue with read attribute and discover attributes commands).