1 package iotruntime.zigbee;
5 /** Zigbee Message Zcl Report Attributes.
7 * @author Ali Younis <ayounis @ uci.edu>
11 public final class IoTZigbeeMessageZclReportAttributes extends IoTZigbeeMessage {
13 static public class Attribute {
16 private int attributeId;
23 public Attribute(int _attributeId, int _dataType, byte[] _data) {
24 attributeId = _attributeId;
30 * getAttributeId() method that returns attribute id
34 public int getAttributeId() {
40 * getDataType() method that returns attribute data type
44 public int getDataType() {
50 * getData() method that returns attribute data
54 public byte[] getData() {
61 private int clusterId;
62 private int profileId;
63 private List <Attribute> attributes;
68 public IoTZigbeeMessageZclReportAttributes(int _packetId, int _clusterId, int _profileId, List <Attribute> _attributes) {
71 clusterId = _clusterId;
72 profileId = _profileId;
73 attributes = _attributes;
77 * getClusterId() method that returns the cluster id
81 public int getClusterId() {
86 * getProfileId() method that returns the profile id
90 public int getProfileId() {
95 * getAttributes() method that returns all attributes data
97 * @return List <Attribute>
99 public List <Attribute> getAttributes() {