[Tinyos-help] list of values
wafa.jaballah at gmail.com
Fri Apr 2 08:59:41 PDT 2010
I want to compute the number of buffered packet every 2 second (for
example). I used a timer like this :
command void Receiver.ProcessData(Data_Packet_t *p, long rcv_time)
// the rest of the code
event void Timer1.fired()
event error_t Receiver.computeDataReady()
num = call Buffer.dataNum();
dbg("simC","NUMBER OF BUFFERED DATA PACKET IS %d \n", num);
Are there better methods to do this considering that I want the values
written in a file. Could I use python to do this?
Thanks for any suggestions.
Wafa Ben Jaballah
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tinyos-help