There "used to be" a pad/no-pad option especially for this.
Are the nx_ types defined to always be no-pad?
thx
MS

Eric Decker wrote:
> 
> 
> On Mon, Jan 12, 2009 at 10:59 AM, Michael Schippling <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     You could change datax to:  nx_uint8_t datax[14]
>     and then use a string or array copy to set it.
>     You've only got 28 or 29 bytes (depending on the
>     TOS version and standard settings) to play with
>     in your message, and the other fields add up to
>     14 bytes already...or perhaps more if the int8's
>     are padded -- in fact I would group those two
>     int8's together in the hopes that the compiler
>     will not pad them.
> 
> 
> The compiler won't pad them. if they are bytes.
> 
> eric
>  
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to