On Tue, Dec 3, 2013 at 6:03 AM, nivedita datta <[email protected]>wrote:

> Sorry if my doubt is again trivial but I was unable to find any helpful
> solution for this on Google.
>

Actually not a bad question.


>
> I am working on sensor nodes communication & wanted to designate one node
> as the sink & all other nodes as source.
>

This is the scenerio that CTP (Collection Tree Protocol) was designed for.


>
> The source nodes here would periodically send the sensed data to the sink
> node & then go to sleep till the next interval. However, at any point of
> time, if needed, the sink node should be able to request for sensed data
> from the source nodes irrespective of whether they are awake or asleep.
>

Well that is problematic.

Depends on what you mean by sleep.  If just the CPU goes to sleep and the
radio is awake then the reception of a packet will wake the cpu up.

But if the radio is asleep, I don't see how the sleeping nodes will wake up
or receive the incoming packet.

So how exactly do you see this working?


>
> Any pointers on how to code for such a scenario.
>

First understand how things work. ....    then figure out how to code it.


>
> Thanks for your time & effort.
>
> Regards,
> Nivedita Datta
>
> _______________________________________________
> 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