There Are two way to do that, either make a task and post it, or call send
directly within recieve method. It is possible to do that.
you should just care about the packet that you send, and send stack, make
sure to have some boolean value to raise busy flag for sending while
sendDone event is not triggered.

Regards, Ashkan

On Tue, Aug 17, 2010 at 10:42 AM, Hamidreza Ghafghazi <
[email protected]> wrote:

> dear all,
>
> Is it possible to call AMSend.send in the event void Receive.receive or
> not?
> If not, Is it possible to call a timer inside event void Receive.receive as
> an event in order to send the modified received data?
>
> Actually I want to receive some data and modify it and send it again to the
> other node immediately and I am looking for a solution.
> that would be so great if anybody could give me a hint.
>
> Thank you in advanced
> best regards,
>
> Hamidreza
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Best Regards
Ashkan Ekhtiari
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to