Hello everyone...

I had asked this query earlier but since I got no reply yet..I am trying to
explain the problem in detail.If someone could help me I would be really
grateful.

I am trying to simulate data aggregation in tinyos-1.x

I have 6 nodes:
1 and 2 send their data to their leader i.e. node 3..similarly 4 and 5 send
data to node 6..
after about collecting three readings nodes 3 and 6 calculate the average
and send the aggregated data to base station i.e. node 0.


This thing is done entirely in simulation and works well for ONE time only.
After that nodes 3 and 6 continue to correctly calculate the average and
send data to base station,however it is never received.

 The thing is that when I am trying to implement the same logic without any
average calculation then it works fine.

To implement this entire logic I have added a few statements in receive and
send in AMStandard.

So is it possible that multiple sends are done consecutively and so packet
collision occurs, causing the packets to be dropped and not being received
by base station?

At times the program terminates with a segmentation fault ?
Any pointers where should I do this averaging thing ? Where does the problem
lie?

Thanks a lot in advance..

Hope to hear from you..

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

Reply via email to