[Tinyos-help] How to send several radio messages?

sofia aparicio apariciosofia at hotmail.com
Thu Jul 2 07:45:25 PDT 2009


Hello,

I want to send several radio messages using BareSendMsg.send.

If I write something like that it does not work:
timer.fired()
{
    result= call BareSendMsg.send(msg);
    wait(10 seconds);
    result1=BareSendMsg.send(msg);
    if (result==SUCCESS) leds red on;
    if (result1== SUCCESS) leds yellow on;
}

Only the red led is on, the yellow led is off. Do you know why?

I tried to send the second message in BareSendMsg.sendDone but I only receive the first message not the second one. 
Could you please tell me how does it work?

Thank you very much.

Sofia

_________________________________________________________________
Chatea sin límites en Messenger con la tarifa plana de Orange
http://serviciosmoviles.es.msn.com/messenger/orange.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090702/0663e3d6/attachment.htm 


More information about the Tinyos-help mailing list