[Tinyos-help] message received

lucky eyes engr_aqansari at hotmail.com
Mon Nov 1 07:21:16 PDT 2010



Hi all,

event TOS_MsgPtr ReceiveMsg.receive(TOS_MsgPtr m) {
    CounterMessage *message = (CounterMessage*)m->data;

   message->value1 = D1;
      
              message->value2 =D2   ;
                  message->value3 = D3;
         
    return m;
  }

D1,D2 and D3 are sent via broadcast in a message.Is it possible to
assign these values in  value1,value2 and value3?

I tried it and there is no error but i don't know It is assigned or not.


Best Wishes

AQAnsari
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20101101/5426a72f/attachment-0001.htm 


More information about the Tinyos-help mailing list