[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/cc2420/receive CC2420ReceiveP.nc, 1.8, 1.9
dmm
rincon at users.sourceforge.net
Fri May 16 09:03:49 PDT 2008
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/receive
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv3584
Modified Files:
CC2420ReceiveP.nc
Log Message:
Enabled broadcast address recognition in software.
Index: CC2420ReceiveP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/receive/CC2420ReceiveP.nc,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** CC2420ReceiveP.nc 14 May 2008 21:33:07 -0000 1.8
--- CC2420ReceiveP.nc 16 May 2008 16:03:45 -0000 1.9
***************
*** 447,453 ****
if(!(call CC2420Config.isAddressRecognitionEnabled())) {
return TRUE;
! }
! return (header->dest == call CC2420Config.getShortAddr());
}
}
--- 447,454 ----
if(!(call CC2420Config.isAddressRecognitionEnabled())) {
return TRUE;
! }
! return (header->dest == call CC2420Config.getShortAddr()
! || header->dest == AM_BROADCAST_ADDR);
}
}
More information about the Tinyos-2-commits
mailing list