The module, which contains a sendMsg command, should have a sendDone event handler. The same module can signal (raise) a new event after after receives a sendDone event.

- Vinayak


On 3/1/06, Gina Upperman <[EMAIL PROTECTED]> wrote:

Vinayak,

 

Thanks for your email.  We thought about using the SendDone but are not sure exactly how that would work.  How can we access the SendDone event from our calling module?  Do you happen to have any sample program that you've used this in?

 

Thanks,

Gina

 

 

 

 


From: Vinayak Naik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 01, 2006 9:03 PM
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: [Tinyos-help] Multiple calls to radio

 

You would need to wait until you receive SendDone event.

- Vinayak

On 3/1/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:

We currently have a command in our main module that makes multiple calls to
the SendMsg.send() command via another module.  These calls are on
consecutive lines like so:

call RadioOut.output(value, 0x0002);
call RadioOut.output(value, 0x0003);

.where RadioOut is the interface that connects us to the module that calls
SendMsg.Send().

When we do this, the first message sends successfully and the second does
not.  Does anyone know why this is happening?  Do we need to wait for a
period of time between send calls?  Is there something we need to reset so
that the second call can happen?  What is the recommended way for sending
multiple messages in succession?


Thanks,
Gina Upperman
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


!DSPAM:4406605f9790239796697!


_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to