On Tuesday 26 June 2007 04:40:30 am sara Khad wrote:
> Hi,
> I am wondering if anyone can tell the difference between BaseStartion
> and BaseStaionCC2420???

These comments only apply to the cc2420 radio.  The regular base station code 
will work with other radios, which may act differently than described here.

The cc2420 radio, by default, is configured so that it only sends "up" to the 
radio software those received packets that either match the mote's address or 
the network's broadcast address.  The BaseStationCC2420 code includes a 
custom CC2420ControlP.nc which turns off this functionality.  Otherwise, if 
you compare the contents of the two base station directories (tos2.0.1), they 
are functionally equivalent.  Both apps provide effectively equivalent 
mechanisms to ensure that the cc2420 does not send acknowledgements.

> When I run baseStationCC2420, it receives  all the packets within the
> radio even if the message does not suppose to go to the baseStation?
> what is going on? I do no understand what is the purpose of that?

It depends upon the application.  Perhaps the base station acts as a packet 
forwarder.  Perhaps it acts as a packet capture tool for diagnostics.  
Perhaps a network's routing layer uses 'snooped' packets to update its 
neigbor table.

>From an energy standpoint, if you only want the base station to see packets 
addressed to it, it's better to let the cc2420 do address decoding as done in 
the standard base station.

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to