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()).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Property key for the optional attribute id of a ZigBee Event Listener.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the data type of this attribute.
    int
    Returns the ID of this attribute.
    int
    Returns the manufacturer code of this attribute.
    boolean
    Checks if the attribute is manufacturer specific.
  • Field Details

  • Method Details

    • 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).