[Tinyos-devel] Sniffer

Kevin Klues klueska at gmail.com
Thu Jul 5 12:10:08 PDT 2007


If we go with the Makefile option, Make it clear in the documentation
for the app (maybe even in the makefile itself) what the options are
for compiling.

Kevin

On 7/5/07, David Moss <dmm at rincon.com> wrote:
> You're right - the difference is just Makefile stuff.  The question is would
> people prefer the two main types of basestation/sniffer behaviors to be
> pre-setup and separated, or would it make sense to leave everything alone
> and let the user decide based on how they edit the Makefile?
>
> Sounds like you're suggesting we lean more towards letting the user decide
> based on how they edit the Makefile options, and there's no problem with
> that.  Less apps to maintain.  Any other opinions?
>
> -David
>
>
> -----Original Message-----
> From: Chieh-Jan (Mike) Liang [mailto:cliang4 at cs.jhu.edu]
> Sent: Thursday, July 05, 2007 11:32 AM
> To: David Moss
> Cc: tinyos-devel at Millennium.Berkeley.EDU
> Subject: Re: [Tinyos-devel] Sniffer
>
> 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
>
>
> _______________________________________________
> Tinyos-devel mailing list
> Tinyos-devel at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-devel
>


-- 
~Kevin


More information about the Tinyos-devel mailing list