[Tinyos-help] message_t payload size
Ákos Maróy
darkeye at tyrell.hu
Wed Aug 29 01:24:38 PDT 2007
I edited to multihop oscilloscope application to include more
information, and I saw that there's a limit on the message payload size,
as defined in 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;
I wonder if it's feasable to extend the message size, and what the
consequencies are? should one send more smaller packets instead of one
bigger one?
Akos
More information about the Tinyos-help
mailing list