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

Reply via email to