[zb4osgi-changeset] [scm] ZigBee 4 OSGi repository change: r516 - /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
Thu Oct 18 10:11:29 CEST 2012


Author: stefano.lenzi
Date: Thu Oct 18 10:11:28 2012
New Revision: 516

Log:
Set attributes as writeable ( fixes #129 )

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 Thu Oct 18 10:11:28 2012
@@ -111,7 +111,7 @@
 	.setReportable(false)
 	.setType(String.class)
 	.setZigBeeType(ZigBeeType.CharacterString)
-	.setWritable(false);
+	.setWritable(true);
 	
 	final static public   AttributeDescriptor PHISICAL_ENVIROMENT = new AbstractAttribute()
 	.setId(0x0011)
@@ -119,7 +119,7 @@
 	.setReportable(false)
 	.setType(Byte.class)
 	.setZigBeeType(ZigBeeType.Enumeration8bit)
-	.setWritable(false);
+	.setWritable(true);
 	
 	final static public   AttributeDescriptor DEVICE_ENABLED = new AbstractAttribute()
 	.setId(0x0012)
@@ -127,7 +127,7 @@
 	.setReportable(false)
 	.setType(Byte.class)
 	.setZigBeeType(ZigBeeType.Boolean)
-	.setWritable(false);
+	.setWritable(true);
 	
 	final static public   AttributeDescriptor ALARM_MASK = new AbstractAttribute()
 	.setId(0x0013)
@@ -135,7 +135,7 @@
 	.setReportable(false)
 	.setType(ZigBeeType.Bitmap8bit.getJavaClass())
 	.setZigBeeType(ZigBeeType.Bitmap8bit)
-	.setWritable(false);
+	.setWritable(true);
 	
 	final static public   AttributeDescriptor IDENTIFY_TIME = new AbstractAttribute()
 	.setId(0x0000)




More information about the Commit mailing list