On Fri, Mar 15, 2013 at 4:25 AM, Vandana Bhasin <[email protected]>wrote:

> Hi all,
>
>
> If the same mote has to read the data and while reading the data,  it gets
> a packet which it receives from another mote.
>

Please try again.    The above sentence doesn't parse and logically doesn't
make sense.


> How to implement this logic?
>
> How can this situation be handled?  I am aware that Read.read interface
> can be used for reading and Receive.receive for receiving the data packets
> from another mote. But what if the same mote has to handle both at the same
> time.
>

Both the above are signals so while they don't happen at the same time, you
can easily handle both.

If both events have occurred.   One will have its signal handler executed
and when it finishes the second event will have its signal handler
executed.    Both event will be processed as expected.


>
> I hope I have made my problem clear.
>
>
> Regards
>
> Vandana
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to