[Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/wustl/apps/Agilla/components/ContextDiscovery
NeighborListM.nc, 1.31.2.1, 1.31.2.2
Chien-Liang Fok
chien-liang at users.sourceforge.net
Wed Nov 15 01:40:15 PST 2006
- Previous message: [Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/wustl/tools/java/edu/wustl/mobilab/agilla
AgentInjector.java, 1.22.2.1, 1.22.2.2 Makefile, 1.9,
1.9.2.1 PromiscuousListener.java, 1.5,
1.5.2.1 SNInterface.java, 1.12.2.1, 1.12.2.2
- Next message: [Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/wustl/apps/Agilla/components
LocationUtils.nc, 1.3.2.1, 1.3.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/components/ContextDiscovery
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv22015
Modified Files:
Tag: GroupComm
NeighborListM.nc
Log Message:
Debugged, got basic test to work.
Index: NeighborListM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/components/ContextDiscovery/NeighborListM.nc,v
retrieving revision 1.31.2.1
retrieving revision 1.31.2.2
diff -C2 -d -r1.31.2.1 -r1.31.2.2
*** NeighborListM.nc 15 Nov 2006 04:29:34 -0000 1.31.2.1
--- NeighborListM.nc 15 Nov 2006 09:40:13 -0000 1.31.2.2
***************
*** 231,235 ****
if (myBeacon != NULL)
{
! if (call LocationMgrI.isProxy()) {
AgillaBeaconMsg* bmsg = (AgillaBeaconMsg *)myBeacon->data;
uint16_t nbrToGW;
--- 231,235 ----
if (myBeacon != NULL)
{
! if (!call LocationMgrI.isProxy()) {
AgillaBeaconMsg* bmsg = (AgillaBeaconMsg *)myBeacon->data;
uint16_t nbrToGW;
***************
*** 374,377 ****
--- 374,378 ----
AgillaBeaconMsg* bmsg = (AgillaBeaconMsg *)m->data;
+
#if DEBUG_NEIGHBORLIST
dbg(DBG_USR1, "NeighborListM: processBeacon(): ID = %i, hopsToGW = %i\n", bmsg->id, bmsg->hopsToGW);
***************
*** 380,384 ****
#if ENABLE_NEIGHBOR_LIST_FILTER
// Reject beacons if it comes from a node that is not a grid neighbor.
! if (!isGridNbr(bmsg->id))
{
#if DEBUG_NEIGHBORLIST
--- 381,385 ----
#if ENABLE_NEIGHBOR_LIST_FILTER
// Reject beacons if it comes from a node that is not a grid neighbor.
! if ((call LocationMgrI.isProxy() && bmsg->id != call AddressMgrI.getVID()) || !isGridNbr(bmsg->id))
{
#if DEBUG_NEIGHBORLIST
- Previous message: [Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/wustl/tools/java/edu/wustl/mobilab/agilla
AgentInjector.java, 1.22.2.1, 1.22.2.2 Makefile, 1.9,
1.9.2.1 PromiscuousListener.java, 1.5,
1.5.2.1 SNInterface.java, 1.12.2.1, 1.12.2.2
- Next message: [Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/wustl/apps/Agilla/components
LocationUtils.nc, 1.3.2.1, 1.3.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-contrib-commits
mailing list