May I have your attention,please! This is my problem: i am trying to send a
packet that I designed.     typedef struct{ uint16_t a;

                   uint16_t b;

                              } Instructions;
now,how am I supposse to send it ? i did it like  this:   message_t  msg;

Instructions
Imsg;

memcpy(call AMSend.getPayload(&msg),&Iporuka,sizeof Iporuka);
if ((call AMSend.send(AM_BROADCAST_ADDR,&msg,sizeof Imsg;)==SUCCESS) call
Leds.led0On();

Led never came On!!!! Do youo have any suggestions,please!?
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to