Fwd: [Tinyos-help] error while incorporating interface CC2420Packet;

Greg Hackmann gwh2 at cse.wustl.edu
Sun Dec 2 16:40:05 PST 2007


Kevin Klues wrote:
> I don't think getting the latest code will help you any.  I haven't
> dug into how the inner workings of the cc2420 are simulated by TOSSIM,
> but my guess is that they probably aren't.  I'm sure the radio
> communication model is probably followed pretty closely, but trying to
> call radio specific interface commands probably isn't supported.  I
> might be wrong though....

>From what I can tell, TOSSIM doesn't really emulate any radio hardware
in particular.  It uses a noise model based on empirical data to decide
if packets can be heard, but the "radio" itself is fairly simplistic
(e.g., turning the radio hardware on and off is instantaneous).  None of
the CC2420-specific interfaces are supported, so you can't use
CC2420Packet to adjust the power level.

If you want to simulate an application running on hardware with a CC2420
chip, take a look at Avrora (http://compilers.cs.ucla.edu/avrora/).  As
of last month, Avrora has "preliminary" emulation of MicaZ motes, which
use CC2420 radio hardware.

Greg Hackmann


More information about the Tinyos-help mailing list