I think 28 is kind of near optimal length. The too big length means 
collisions and too small length mean greater overhead of header 
information per packet.

Please do not use ActiveMessageC to send or receive packets. Instead use 
AMSenderC and AMReceiverC.
Secondly, do not send a packet until sendDone of previous packets is called.

-- 
best regards,

Faisal Aslam
Ph.D. Candidate
University of Freiburg, Germany
http://cone.informatik.uni-freiburg.de/people/aslam/




王芳芳 wrote:
> Hi,
>  
> I wondered about why set the TOSH_DATA_LENGTH default value as 28B 
> ?The MTU should be 114B(127-11-2) or 115B(128-11-2)?
>  
> Meanwhile, I'm trying to test the packet losse rate between PC and 
> imote2 communication, i found that the packet losse rate is quite 
> unstable,vary from 0% to 80%, it seems not influenced by the packet 
> length nor the communication distance to much,it looks like random or 
> something.I'm so puzzled,could anyone tell me what's the problem?
>  
>  
> Thanks in advance
> Fiona
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


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

Reply via email to