[Tinyos-devel] Sniffer

Chieh-Jan (Mike) Liang cliang4 at cs.jhu.edu
Thu Jul 5 11:32:07 PDT 2007


Just my two cents. What if we have just one application, and the user 
can include the flags they want in the Makefile? Since 
CC2420_NO_ADDRESS_RECOGNITION has been added, it seems to me the code 
for both SnifferCC2420 and BaseStationCC2420 are (almost) identical. 
Maybe I am missing something?

Thank you

Mike

David Moss wrote:
> Any objections to making a SnifferCC2420 application separate from 
> BaseStationCC2420?  Or should we just leave well enough alone?
> 
>  
> 
> SnifferCC2420:
> 
> ·         Does not acknowledge anything
> 
> ·         Address recognition is disabled so it receives all packets
> 
> ·         Takes on the behavior that BaseStationCC2420 has right now
> 
>  
> 
> BaseStationCC2420:
> 
> ·         Acknowledges packets
> 
> ·         Address recognition is enabled
> 
> ·         Point is to serve as a simple gateway between the PC and the 
> rest of the network.
> 
>  
> 
>  
> 
> Of course, one could create a third application out of either one of 
> these, where address recognition is disabled and software 
> acknowledgements are enabled.
> 
>  
> 
> -David
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-devel mailing list
> Tinyos-devel at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-devel


More information about the Tinyos-devel mailing list