[Tinyos-2-commits] CVS: tinyos-2.x/apps/BaseStation Makefile, 1.3, 1.4 README, 1.3, 1.4 README.txt, 1.3, 1.4

dmm rincon at users.sourceforge.net
Fri Jul 6 11:26:07 PDT 2007


Update of /cvsroot/tinyos/tinyos-2.x/apps/BaseStation
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv1936

Modified Files:
	Makefile README README.txt 
Log Message:
Updated README's to describe different options when compiling for the CC2420.  Updated the Makefile to include the new CC2420 configurations.  This does away with the need for a separate BaseStationCC2420 since no files need to be overridden.

Index: Makefile
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/BaseStation/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Makefile	7 Nov 2006 19:30:33 -0000	1.3
--- Makefile	6 Jul 2007 18:26:04 -0000	1.4
***************
*** 1,3 ****
--- 1,6 ----
  COMPONENT=BaseStationC
+ CFLAGS += -DCC2420_NO_ACKNOWLEDGEMENTS
+ CFLAGS += -DCC2420_NO_ADDRESS_RECOGNITION
+ 
  include $(MAKERULES)
  

Index: README
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/BaseStation/README,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** README	7 Nov 2006 19:30:33 -0000	1.3
--- README	6 Jul 2007 18:26:04 -0000	1.4
***************
*** 30,33 ****
--- 30,50 ----
                       in either direction
  
+ When using a CC2420 radio, several default preprocessor configurations
+ are defined in the Makefile:
+   * CC2420_NO_ACKNOWLEDGEMENTS
+     - Prevents the base station from falsly acknowledging packets
+   * CC2420_NO_ADDRESS_RECOGNITION
+     - Allows the base station to sniff packets from any transmitter
+ 
+ Other combinations can be defined to meet your application's needs:
+   * CC2420_NO_ADDRESS_RECOGNITION only
+     - Sniff all packets, but acknowledge packets only if they
+       are sent to the base station's address
+ 
+   * Removing all preprocessor definitions in the Makefile
+     - Only accept packets destined for the base station's address,
+       and acknowledge those packets
+ 
+ 
  Tools:
  
***************
*** 38,44 ****
  Known bugs/limitations:
  
- On CC2420 platforms, BaseStation can only overhear packets transmitted
- to it or to the broadcast address. For these platforms (e.g., micaz,
- telos, intel mote 2), you should use BaseStationCC2420.
- 
  
--- 55,57 ----

Index: README.txt
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/BaseStation/README.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** README.txt	7 Nov 2006 19:30:33 -0000	1.3
--- README.txt	6 Jul 2007 18:26:04 -0000	1.4
***************
*** 30,33 ****
--- 30,50 ----
                       in either direction
  
+ When using a CC2420 radio, several default preprocessor configurations
+ are defined in the Makefile:
+   * CC2420_NO_ACKNOWLEDGEMENTS
+     - Prevents the base station from falsly acknowledging packets
+   * CC2420_NO_ADDRESS_RECOGNITION
+     - Allows the base station to sniff packets from any transmitter
+ 
+ Other combinations can be defined to meet your application's needs:
+   * CC2420_NO_ADDRESS_RECOGNITION only
+     - Sniff all packets, but acknowledge packets only if they
+       are sent to the base station's address
+ 
+   * Removing all preprocessor definitions in the Makefile
+     - Only accept packets destined for the base station's address,
+       and acknowledge those packets
+ 
+ 
  Tools:
  
***************
*** 38,44 ****
  Known bugs/limitations:
  
- On CC2420 platforms, BaseStation can only overhear packets transmitted
- to it or to the broadcast address. For these platforms (e.g., micaz,
- telos, intel mote 2), you should use BaseStationCC2420.
- 
  
--- 55,57 ----



More information about the Tinyos-2-commits mailing list