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
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to