[Tinyos-help] how to find out sendDone is for which send command?

Mohammad S. Hashemian m.hashemian at gmail.com
Wed Feb 25 17:18:39 PST 2009

Hi all,

In my program I use send command (in MhopSend component) three or more
times. When the sendDone event is fired, I want to know that this sendDone
is for which send command. How can I figure out this? In other words, how
can I access the sent data in sendDone command? I tried to use data field of
TOS_MsgPtr argument (m->data), but it seems that its data is different than
what I expect!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090225/fc262c68/attachment.htm 

More information about the Tinyos-help mailing list