4 /** Zigbee Message Zcl Report Attributes.
6 * @author Ali Younis <ayounis @ uci.edu>
10 public class IoTZigbeeMessageZclReportAttributes extends IoTZigbeeMessage {
12 static public class Attribute {
15 private int attributeId;
22 public Attribute(int _attributeId, int _dataType, byte[] _data) {
23 attributeId = _attributeId;
29 * getAttributeId() method that returns attribute id
33 public int getAttributeId() {
39 * getDataType() method that returns attribute data type
43 public int getDataType() {
49 * getData() method that returns attribute data
53 public byte[] getData() {
60 private int clusterId;
61 private int profileId;
62 private List <Attribute> attributes;
67 public IoTZigbeeMessageZclReportAttributes(int _packetId, int _clusterId, int _profileId, List <Attribute> _attributes) {
70 clusterId = _clusterId;
71 profileId = _profileId;
72 attributes = _attributes;
76 * getClusterId() method that returns the cluster id
80 public int getClusterId() {
85 * getProfileId() method that returns the profile id
89 public int getProfileId() {
94 * getAttributes() method that returns all attributes data
96 * @return List <Attribute>
98 public List <Attribute> getAttributes() {