Jhon,
Thanks a lot, you are right. I didn't consider it before :), 
I got it in the CtpForwardingEngineP.nc

Best,
Fajar.

>
>
> Dari: JeongGil Ko (John) <[email protected]>
> Judul: Re: [Tinyos-help] EasyCollection with CTP (I need to count packets 
> loss)
> Kepada: "Fajar Lab" <[email protected]>
> Cc: [email protected]
> Tanggal: Jumat, 22 Juli, 2011, 3:05 AM
> Fajar,
> 
> Maybe due to the fact that CTP has retransmissions? :)
> 
> -John
> 
> On Jul 21, 2011, at 10:47 PM, Fajar Lab wrote:
> 
> > Dear all:
> > 
> > I need your help,
> > I tested EasyCollection from 
> > http://www.tinyos.net/dist-2.0.0/tinyos-2.x/doc/html/tutorial/lesson12.html
> > and tested it with this simple topology
> > 3 ---> 2--->1 (node 1 as a root)
> > 
> > Node 3 and 2 generate its own data and send it to the
> root, these are my topology.
> > 
> > test-1.txt
> > 1  2   0.0
> > 2  1   0.0
> > 2  3   0.0
> > 3  2   0.0
> > 
> > test-2.txt
> > 1  2   -45.0
> > 2  1   -45.0
> > 2  3   -45.0
> > 3  2   -45.0
> > 
> > test-3.txt
> > 1  2   -75.0
> > 2  1   -75.0
> > 2  3   -75.0
> > 3  2   -75.0
> > 
> > 
> > but I got same results with the 3 different
> topology(especially their gain values), like this :
> > 
> > Node 2 : 162 packets was sent  
> > Node 3 : 162 packets was sent
> > Node 0 : 324 packets was received
> > 0 packets loss
> > 
> > There is no packet loss, is the results correct?,
> > But, if I tried RadioCountToLeds example, with various
> gain values, I got some packets loss, where number of
> packets sent > number of packets received.
> > 
> > Since, I want to simulate my model with CTP and I need
> to count the packets loss for the model. So, I need there is
> packets loss occurred in my simulation.
> > 
> > may someone help me how to solve it.
> > Thanks in advance.
> > 
> > Fajar.
> > 
> > 
> > 
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > 
> 
> ------
> JeongGil Ko (John)
> Ph.D. Student
> Department of Computer Science
> Johns Hopkins University
> http://www.cs.jhu.edu/~jgko
> 
> 

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to