[zb4osgi-changeset] [scm] ZigBee 4 OSGi repository change: r474 - /projects/zb4osgi/sandbox/manlio.bacco/org.aaloa.zb4osgi.zigbee.ha.driver/src/main/java/it/cnr/isti/zigbee/ha/device/api/hvac/TemperatureSensor.java

scm-notify at zb4osgi.aaloa.org scm-notify at zb4osgi.aaloa.org
Mon Sep 24 17:47:50 CEST 2012


Author: manlio.bacco
Date: Mon Sep 24 17:47:50 2012
New Revision: 474

Log:
new device

Modified:
    projects/zb4osgi/sandbox/manlio.bacco/org.aaloa.zb4osgi.zigbee.ha.driver/src/main/java/it/cnr/isti/zigbee/ha/device/api/hvac/TemperatureSensor.java

Modified: projects/zb4osgi/sandbox/manlio.bacco/org.aaloa.zb4osgi.zigbee.ha.driver/src/main/java/it/cnr/isti/zigbee/ha/device/api/hvac/TemperatureSensor.java
==============================================================================
--- projects/zb4osgi/sandbox/manlio.bacco/org.aaloa.zb4osgi.zigbee.ha.driver/src/main/java/it/cnr/isti/zigbee/ha/device/api/hvac/TemperatureSensor.java (original)
+++ projects/zb4osgi/sandbox/manlio.bacco/org.aaloa.zb4osgi.zigbee.ha.driver/src/main/java/it/cnr/isti/zigbee/ha/device/api/hvac/TemperatureSensor.java Mon Sep 24 17:47:50 2012
@@ -18,10 +18,11 @@
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-*/
+ */
 
 package it.cnr.isti.zigbee.ha.device.api.hvac;
 
+import it.cnr.isti.zigbee.ha.cluster.glue.general.Groups;
 import it.cnr.isti.zigbee.ha.cluster.glue.measureament_sensing.TemperatureMeasurement;
 import it.cnr.isti.zigbee.ha.driver.ArraysUtil;
 import it.cnr.isti.zigbee.ha.driver.core.HADevice;
@@ -42,17 +43,18 @@
 
 	public static final int DEVICE_ID = 0x0302;
 	public static final String NAME = "Temperature Sensor";
-	
+
 	public static final int[] MANDATORY = ArraysUtil.append(HADevice.MANDATORY, new int[]{
-		HAProfile.TEMPERATURE_MEASUREMENT
+			HAProfile.TEMPERATURE_MEASUREMENT
 	});
-	
+
 	public static final int[] OPTIONAL = ArraysUtil.append(HADevice.OPTIONAL, new int[]{
+			HAProfile.GROUPS
 	});
-	
+
 	public static final int[] STANDARD = ArraysUtil.append(MANDATORY, OPTIONAL);
 	public static final int[] CUSTOM = {};
-	
+
 	/**
 	 * Access method for the <b>Mandatory</b> cluster: {@link TemperatureMeasurement} 
 	 *  
@@ -60,4 +62,5 @@
 	 */
 	public TemperatureMeasurement getTemperatureMeasurement();
 
-}
+	public Groups getGroups();
+}




More information about the Commit mailing list