[zb4osgi-changeset] [scm] ZigBee 4 OSGi repository change: r1077 - /projects/zb4osgi/trunk/zigbee.basedriver/src/main/java/it/cnr/isti/zigbee/basedriver/api/impl/ZigBeeDeviceImpl.java
scm-notify at zb4osgi.aaloa.org
scm-notify at zb4osgi.aaloa.org
Mon Nov 3 10:24:04 CET 2014
Author: stefano.lenzi
Date: Mon Nov 3 10:24:03 2014
New Revision: 1077
Log:
Added some comments to the source code for changing the code if it does not match all the use cases ( refs #264 )
Modified:
projects/zb4osgi/trunk/zigbee.basedriver/src/main/java/it/cnr/isti/zigbee/basedriver/api/impl/ZigBeeDeviceImpl.java
Modified: projects/zb4osgi/trunk/zigbee.basedriver/src/main/java/it/cnr/isti/zigbee/basedriver/api/impl/ZigBeeDeviceImpl.java
==============================================================================
--- projects/zb4osgi/trunk/zigbee.basedriver/src/main/java/it/cnr/isti/zigbee/basedriver/api/impl/ZigBeeDeviceImpl.java (original)
+++ projects/zb4osgi/trunk/zigbee.basedriver/src/main/java/it/cnr/isti/zigbee/basedriver/api/impl/ZigBeeDeviceImpl.java Mon Nov 3 10:24:03 2014
@@ -551,6 +551,11 @@
logger.debug("AF_INCOMING_MSG arrived but it is an error packet so IGNORING it");
return;
}
+ /*
+ * //XXX BE AWARE:
+ * The following two check must be in case that we find a cluster that answer by means of
+ * broadcast or groupcast response to unicast request
+ */
if ( ( msg.getSrcAddr() & 0xFFFF ) != node.getNetworkAddress()) {
logger.debug("AF_INCOMING_MSG arrived but NETWORK ADDRESS does not match so IGNORING it");
return;
More information about the Commit
mailing list