[zb4osgi-changeset] [scm] ZigBee 4 OSGi repository change: r469 - /projects/zb4osgi/sandbox/manlio.bacco/org.aaloa.osgi.zigbee.basedriver/src/main/java/it/cnr/isti/zigbee/basedriver/discovery/NetworkBrowserThread.java
scm-notify at zb4osgi.aaloa.org
scm-notify at zb4osgi.aaloa.org
Mon Sep 24 17:44:01 CEST 2012
Author: manlio.bacco
Date: Mon Sep 24 17:44:01 2012
New Revision: 469
Log:
minor fixes
Modified:
projects/zb4osgi/sandbox/manlio.bacco/org.aaloa.osgi.zigbee.basedriver/src/main/java/it/cnr/isti/zigbee/basedriver/discovery/NetworkBrowserThread.java
Modified: projects/zb4osgi/sandbox/manlio.bacco/org.aaloa.osgi.zigbee.basedriver/src/main/java/it/cnr/isti/zigbee/basedriver/discovery/NetworkBrowserThread.java
==============================================================================
--- projects/zb4osgi/sandbox/manlio.bacco/org.aaloa.osgi.zigbee.basedriver/src/main/java/it/cnr/isti/zigbee/basedriver/discovery/NetworkBrowserThread.java (original)
+++ projects/zb4osgi/sandbox/manlio.bacco/org.aaloa.osgi.zigbee.basedriver/src/main/java/it/cnr/isti/zigbee/basedriver/discovery/NetworkBrowserThread.java Mon Sep 24 17:44:01 2012
@@ -150,9 +150,13 @@
connectedNodesFound.clear();
short nwk = node.address;
+ ZToolAddress16 nwk16 = new ZToolAddress16(
+ Integers.getByteAsInteger(node.address, 1),
+ Integers.getByteAsInteger(node.address, 0)
+ );
logger.debug("ZDO_MGMT_LQI_REQ to {} from index {}", node.address, index);
- ZDO_MGMT_LQI_RSP lqi_resp = driver.sendLQIRequest(new ZDO_MGMT_LQI_REQ(nwk, index));
+ ZDO_MGMT_LQI_RSP lqi_resp = driver.sendLQIRequest(new ZDO_MGMT_LQI_REQ(nwk16, index));
if( lqi_resp == null) {
logger.debug("No LQI answer from #{}", nwk);
More information about the Commit
mailing list