[zb4osgi-changeset] [scm] ZigBee 4 OSGi repository change: r605 - /projects/zb4osgi/trunk/zigbee.zcl.library/src/main/java/it/cnr/isti/zigbee/zcl/library/impl/attribute/Attributes.java

scm-notify at zb4osgi.aaloa.org scm-notify at zb4osgi.aaloa.org
Sat Jan 26 13:54:48 CET 2013


Author: stefano.lenzi
Date: Sat Jan 26 13:54:48 2013
New Revision: 605

Log:
Attribute set readonly instead of read/write by error ( fixes #172 )

Modified:
    projects/zb4osgi/trunk/zigbee.zcl.library/src/main/java/it/cnr/isti/zigbee/zcl/library/impl/attribute/Attributes.java

Modified: projects/zb4osgi/trunk/zigbee.zcl.library/src/main/java/it/cnr/isti/zigbee/zcl/library/impl/attribute/Attributes.java
==============================================================================
--- projects/zb4osgi/trunk/zigbee.zcl.library/src/main/java/it/cnr/isti/zigbee/zcl/library/impl/attribute/Attributes.java (original)
+++ projects/zb4osgi/trunk/zigbee.zcl.library/src/main/java/it/cnr/isti/zigbee/zcl/library/impl/attribute/Attributes.java Sat Jan 26 13:54:48 2013
@@ -110,7 +110,7 @@
 	.setReportable(false)
 	.setType(String.class)
 	.setZigBeeType(ZigBeeType.CharacterString)
-	.setWritable(false);
+	.setWritable(true);
 
 	final static public   AttributeDescriptor PHISICAL_ENVIROMENT = new AbstractAttribute()
 	.setId(0x0011)
@@ -118,7 +118,7 @@
 	.setReportable(false)
 	.setType(Byte.class)
 	.setZigBeeType(ZigBeeType.Enumeration8bit)
-	.setWritable(false);
+	.setWritable(true);
 
 	final static public   AttributeDescriptor DEVICE_ENABLED = new AbstractAttribute()
 	.setId(0x0012)
@@ -126,7 +126,7 @@
 	.setReportable(false)
 	.setType(Byte.class)
 	.setZigBeeType(ZigBeeType.Boolean)
-	.setWritable(false);
+	.setWritable(true);
 
 	final static public   AttributeDescriptor ALARM_MASK = new AbstractAttribute()
 	.setId(0x0013)
@@ -134,7 +134,7 @@
 	.setReportable(false)
 	.setType(Byte.class)
 	.setZigBeeType(ZigBeeType.Bitmap8bit)
-	.setWritable(false);
+	.setWritable(true);
 
 	final static public   AttributeDescriptor IDENTIFY_TIME = new AbstractAttribute()
 	.setId(0x0000)
@@ -935,4 +935,4 @@
 	.setType(Integer.class)
 	.setZigBeeType(ZigBeeType.UnsignedInteger16bit)
 	.setWritable(true);
-}
+}




More information about the Commit mailing list