wasif masood wrote: > > It should not be a problem to port it, well, It has been some time that I > haven't used it so I am not sure whether it is the final copy that > I evaluated, so for you, please go through it, understand it and please do > let me know if you see any anomalies. >
Thank you, Wasif. It's very useful for us. At this time, maybe TinyOS does not provide any energy profiling mechanism to measure the energy consumption. So the best way is that we calculate the duration time when motes work in sending/receiving and idle states then multiply by the consumed current and voltage to get energy consumption. For the sending duration time, we can measure the time when AMSend.send() is called until the time AMSend.SendDone is signaled. But how to calculate the receiving duration time for each packet? because I don't know what is the actual time when mote receives the packet at physical layer, except the time mote has finished receiving the packet (AMReceiverC.Receive() is signaled) Thanks, Han Bin -- View this message in context: http://old.nabble.com/Energy-consumption-on-Telosb-tp34443559p34447722.html Sent from the TinyOS - Help mailing list archive at Nabble.com. _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
