[Tinyos-help] The maximum value the length field in an Active Message

Michael Schippling schip at santafe.edu
Tue Dec 5 12:53:46 PST 2006


Search back on this list for a lot of discussion of max message lengths.
I believe you are correct about the 120ish value for mica2 though.
MS


He Zhao wrote:
> I'm running on TinyOS 1.x. I'm wondering what is the maxium value of the length field in an Active Message. In the definition of AM, this field is declared as an unsigned 8-bit integer, which means the maximum value should be 255. However, if I changed the constant TOSH_DATA_LENGTH in file AM.h to a certain large number, say 180, the message could not be sent. The radio just looks dead. My tests seems to show that the value of TOSH_DATA_LENGTH can not be greater than 127. Has anybody had the same experience? How can I get it fixed? Thanks alot.
> 
> 
> 
> --He
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


More information about the Tinyos-help mailing list