[Tinyos-help] Accessing TOS_Msg fields from Java

Philip Levis pal at cs.stanford.edu
Sun Jan 14 13:29:53 PST 2007


On Jan 14, 2007, at 1:14 PM, Michael Schippling wrote:

> I just looked at the mica2 code and I think was wrong:
> Only TOS_Msg.length bytes of payload are transmitted.
>
> There's a bunch of swapping around of lengths but it looks
> like the Msg.length is used to xmit only that number of bytes.
> So, even if you have a large TOSH_DATA_LENGTH you don't
> loose bandwidth when sending small payloads.

This is correct; the last TinyOS version that transmitted fixed-size  
payloads was the pre-nesC implementation of the mica radio stack.

Phil


More information about the Tinyos-help mailing list