[Tinyos-help] A question about the SurgeM Component in SurgeTelos
Application
Meiying Su
meiying.su at gmail.com
Wed Nov 22 02:54:45 PST 2006
Dear all ,
I am confused by the SurgeM compenent,it defined the interface Receive
as Bcast; but it was marked with "//",so the event Bcast.receive(...) cannot
be signaled .so that the SurgeTelos cannot change the mote
state,for exmple sleep or wake up.
i have noticed the message in SurgeM like this
// LEGACY CODE from previous Surge instances. No current use of
// BCast for SurgeTelos (will be added back in using Drip in the future)
#if 0
/* Command interpreter for broadcasts
*
*/
event TOS_MsgPtr Bcast.receive(TOS_MsgPtr pMsg, void* payload, uint16_t
payloadLen) {
SurgeCmdMsg *pCmdMsg = (SurgeCmdMsg *)payload;
...
}
#endif //BCast processing
why Bcast cannnot be used in the SurgeTelos application.
could you give me some comment?
any message will be appreciated.
Happy Thanksgiving!
Sophia Su
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061122/9f9b6158/attachment-0001.htm
More information about the Tinyos-help
mailing list