[Tinyos-help] evaluating time in telosB

wasif masood rwmasood at gmail.com
Tue Nov 9 05:58:44 PST 2010


you also need to reset the variable when the upper limit is reached.

On Tue, Nov 9, 2010 at 1:50 PM, wafa jaballah <wafa.jaballah at gmail.com>wrote:

> 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
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Wasif Masood
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20101109/279f06f1/attachment.htm 


More information about the Tinyos-help mailing list