[Tinyos-help] no implementation in /platforms/micaz/chips/cc2420/sim/SimCC2420C.nc in Tinyos-2.x

Liu Haibin liu.haibin at gmail.com
Mon Jul 3 04:21:34 PDT 2006


Hi,

According to the document for TOSSIM in Tinyos-2.x, it only supports micaz
now and their implementation is under the "sim" directory.

[liuhb at tomcat tos]$ find . -name sim
./platforms/micaz/sim
./platforms/micaz/chips/cc2420/sim
./platforms/mica/sim
./chips/atm128/sim
./chips/atm128/pins/sim
./chips/atm128/spi/sim
./chips/atm128/timer/sim

I thought ./platforms/micaz/chips/cc2420/sim is the implementation for
cc2420, but the file SimCC2420C.nc under ./platforms/micaz/chips/cc2420/sim
is without implemenation (see the following).

Any idea why it is so? Where can I find the Tossim implementation for cc2420
in Tinyos-2.x? Many thanks.


Regards,
Haibin




/**
 * Simulated implementation of the CC2420 radio chip. It is an
 * SPI end point, and also signals some interrupts/GPIO pins.\
 * This is a pretty complicated component, so be aware that it
 * may be very helpful to have the CC2420 data sheet nearby.
 *
 * @author Philip Levis
 * @date   November 22 2005
 */

module SimCC2420C {

  provides {
    interface Init;
    interface Resource[uint8_t] as SpiResource;
    interface SPIByte;
    interface SPIPacket;
    interface GeneralIO as CCA;
    interface GeneralIO as CSN;
    interface GeneralIO as FIFO;
    interface GeneralIO as FIFOP;
    interface GeneralIO as RSTN;
    interface GeneralIO as SFD;
    interface GeneralIO as VREN;
    interface GpioCapture as CaptureSFD;
    interface GpioInterrupt as InterruptFIFOP;
  }

  uses {
    interface Resource[uint8_t] as SubSpiResource;
    interface ArbiterInfo as SpiUser;
    interface McuPowerState;
  }


}

implementation {



}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060703/216aeba9/attachment.htm


More information about the Tinyos-help mailing list