[zb4osgi-changeset] [scm] ZigBee 4 OSGi repository change: r1086 - /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
Tue Nov 4 12:15:05 CET 2014


Author: stefano.lenzi
Date: Tue Nov  4 12:15:05 2014
New Revision: 1086

Log:
Improved log messages ( 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	Tue Nov  4 12:15:05 2014
@@ -541,11 +541,13 @@
          *  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");
+        	logger.debug("AF_INCOMING_MSG arrived but NETWORK ADDRESS does not match so IGNORING it: "
+        			+ "recieved {} but expecting {} ", msg.getSrcAddr() & 0xFFFF, node.getNetworkAddress());
             return;
         }
         if (msg.getSrcEndpoint() != endPointAddress) {
-        	logger.debug("AF_INCOMING_MSG arrived ENDPOINT does not match so IGNORING it");
+        	logger.debug("AF_INCOMING_MSG arrived ENDPOINT does not match so IGNORING it: "
+        			+ "received {} but expecting {}", msg.getSrcEndpoint(), endPointAddress);
 			return;
 		}
         




More information about the Commit mailing list