[Tinyos-help] sendDone() called before receive
Philip Levis
pal at cs.stanford.edu
Mon Apr 2 12:35:10 PDT 2007
On Apr 2, 2007, at 11:40 AM, Faisal Karim wrote:
> Hi Bibudh n all
>
> Im using at the moment TOSSIM for delay calculations and not using
> real motes.
> Therefore for delay calculation, truly i didnt think of time
> synchronization coz i was considering the global times ie
> tos_state.tos_time so i was assuming that subtracting the time of
> sendDone() from time of receive will give me some approximated form
> of delay time at the global simulator time.
What exactly are you trying to measure? Time from send() to receive
()? CPU processing time of the packet? Packet propagation time? MAC
backoff? Queue occupancy time?
> Second option can be to use -b=0 option of simulator to boot all
> nodes at same time to have some sort of sync.
> Any comments on this
Don't do it: CSMA will break in horrible ways.
Phil
More information about the Tinyos-help
mailing list