[Tinyos-help] TOS_Msg length

Bhavish Aggarwal bhavishaggarwal at gmail.com
Sat Apr 19 21:44:10 PDT 2008


Hi,

I'm trying to ascertain the length of a TOS_Msg variable I've
typecasted to a self-defined struct.

The struct I use has 6 variables of 4 bytes each. Thus, the total
length of the TOS_Msg variable should be 24 + 10(headers) = 34. But
the length is shown to be 46.

I'm confused as to how this is so. I'd be thankful for help on this.

Bhavish


More information about the Tinyos-help mailing list