Sorry, I had it backwards. As you can see from the links below, there has been much confusion about it in the past. Sorry to add to it.
Regards, Kurt http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-October/020154.html http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-May/016860.html http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2008-March/032069.html http://mail.millennium.berkeley.edu/pipermail/tinyos-commits/2004-May/003329.html ----Original Message Follows---- From: Philip Levis <[EMAIL PROTECTED]> To: KURT PETERS <[EMAIL PROTECTED]> CC: [email protected] Subject: Re: [Tinyos-help] message_t length Date: Tue, 1 Jul 2008 09:05:04 -0700 On Jun 17, 2008, at 8:20 AM, KURT PETERS wrote: >Well, then, the advice about it being 28 is inaccurate. Last time I >checked, for TOS 2.x, the default was 29. >It's documented in one of the wikis. >Regards, It's 28. tos/types/message.h: fndef __MESSAGE_H__ #define __MESSAGE_H__ #include "platform_message.h" #ifndef TOSH_DATA_LENGTH #define TOSH_DATA_LENGTH 28 #endif #ifndef TOS_BCAST_ADDR #define TOS_BCAST_ADDR 0xFFFF #endif typedef nx_struct message_t { nx_uint8_t header[sizeof(message_header_t)]; nx_uint8_t data[TOSH_DATA_LENGTH]; nx_uint8_t footer[sizeof(message_footer_t)]; nx_uint8_t metadata[sizeof(message_metadata_t)]; } message_t; #endif message.h (END) _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
