[Tinyos-help] CC2420RadioM.nc

SS C freshfreefish at gmail.com
Wed Oct 24 16:31:51 PDT 2007


Hi all,

I'm modifying the sample code TOSBase to let it function as a receiver only.
The source is from my sensor. While I was modifying it, I found it related
to a radio componenet called CC2420RadioM. Because in the TOSBase code, I
don't want my radio send anything, it should only RECEIVE. However, if I try
to comment the line " interface BareSendMsg as RadioSend", tinyos will
return error

"In component `CC2420RadioM':
/opt/MoteWorks/tos/radio/cc2420/CC2420RadioM.nc: In function
`immedPacketSent':
/opt/MoteWorks/tos/radio/cc2420/CC2420RadioM.nc:472: Send.sendDone not
connected
/opt/MoteWorks/tos/radio/cc2420/CC2420RadioM.nc: In function `fSendAborted':
/opt/MoteWorks/tos/radio/cc2420/CC2420RadioM.nc:426: Send.sendDone not
connected"

Because in this radio module, it's predefined for the modules which are
going to use rf signal.

What should I do with this? Does anyone have experience on changing TOSBase
code to a receiver (stand-alone node) code? Thanks in advance,

Jessie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20071024/ab0aaa09/attachment.html


More information about the Tinyos-help mailing list