Hi,
 
In file MultihopWMEWMA.nc and in function void updateEst(TableEntry *Nbr)
 
there is this following line

newAve = ((uint16_t) 255 * (uint16_t)Nbr->received) / (uint16_t)usActTotal;

 

can any one tell me why the Nbr->received value is multiplied by 255.

TIA

 

Rahul

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to