[Tinyos-help] CTP: Motes don't send packets although routes are found

Omprakash Gnawali gnawali at cs.stanford.edu
Thu Apr 15 19:07:06 PDT 2010

On Tue, Apr 13, 2010 at 4:24 PM, Maissa Ben Jamaa
<maisa.benjamaa at gmail.com> wrote:
> Hello Omprakash,
> Glad to hear that you are interested in our work, this motivates us more.
> Thank you.
> I already tested CTP+4bit and it worked fine, I think that I have a bug
> somewhere in my code.
> By the way, I wanted to post a question to tinyos-help asking about some
> formula in 4bit especially this one:
> newEst = (255 * ne->rcvcnt) / totalPkt;
> Can you please tell me why you multiply the numerator with 255 and not with
> other value such as 100.

Just to get higher resolution. It gets converted to etx*10 before it
is actually used.

- om_p

More information about the Tinyos-help mailing list