hello plz i have 2 questions when sending a message and receiving it 
 
1-like in this command the message being sent is it pmsg? or it is ret=msg ???
 
event TOS_MsgPtr ReceiveCmdMsg.receive(TOS_MsgPtr pmsg){    TOS_MsgPtr ret = 
msg;    result_t retval;      retval = call ProcessCmd.execute(pmsg) ;    if 
(retval==SUCCESS) {      return ret;    } else {      return pmsg;    }
 
if the retval ==success the command return ret (=msg) is it the message that we 
are trying to send and receive ??
 
 
thx 
 
else the event return pmsg ,what does it refers to ?
 
thx alot 
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to