[Tinyos-help] evaluating time in telosB

wafa jaballah wafa.jaballah at gmail.com
Tue Nov 9 04:50:10 PST 2010


Hello,

I want to evaluate a delay term in telosB motes. When simulating with
tossim, I used   the following code and I try to use it also when using
TelosB.


event error_t Receiver.authenticDataReady(Data_Packet_t *p, long auth_delay)
  {

    authentication_delay+=auth_delay;
      ............
      ................
    printf( " the authentication delay  is %d \n", authentication_delay);

        return SUCCESS;
  }


In Simulation , it is welle done.
But when I used my telosB motes in order to evaluate the delay, sometimes I
found logic values of delay,
and sometimes not. I found even negative values!!!!!!!!!
What it is wrong with this ?


I kindly appreciate your Help.
Thanks in Advance!


-- 

Best Regards,
Wafa Ben Jaballah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20101109/0000b2e5/attachment-0001.htm 


More information about the Tinyos-help mailing list