[Tinyos-help] How to store and analyze data at a node.
ලසන්ති
lasa323 at gmail.com
Thu Jun 4 12:57:31 PDT 2009
Hi all,
I am trying to analyze data which are received from its neighbors. For
example, on a readDone event, node sends that data to its neighbors. then
each neighbor who received that data send a reply back with some new
information . then I need to analyze those replies. This process is done for
each data read.
*So, how can i store those replies? and what is the best time to analyze
those replies?*
Since i don't know the exact number of neighbors or in other words the exact
number of replies i cannot create an fixed sized array.
Dynamic arrays will solve the problem of unknown size of the array. But, in
that case, when do I start the analyzing? after some fixed time period???
since the process i explained at the beginning a repeats, i have no idea
about the best time period also.
I don't think that i can use ReadStream. Can I? ReadStream is used for *read
data* which are sampled with a high frequency. But my case is not related
with sampling data. I want to store receiving data.
Does anybody has an idea how to do this?
Is anything that i mentioned above incorrect.(My assumptions or anything)
Thank you very much.
Best of regards!
Lasanthi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090604/12823515/attachment.htm
More information about the Tinyos-help
mailing list