[Tinyos-help] The maximum value the length field in an Active
Message
He Zhao
he.zhao at gmail.com
Tue Dec 5 08:53:17 PST 2006
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
More information about the Tinyos-help
mailing list