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

Reply via email to