Re: [Tinyos-help] Size of message_t

2008-03-19 Thread Nilesh Mishra
It is possible that you might be reprogramming the receiver and sender with different MESSAGE_LEN values. Also did you change the size of the default packet size? it is 41 hence for using 100 you will need to change the value by providing a line as below in the makefile. CFLAGS += -DTOSH_DATA_LENG

[Tinyos-help] Size of message_t

2008-03-17 Thread Eli Gotesman
Hi All, I wrote the following program: one sensor sends data (an array of integers) and another sensor that receives I wrote the following header file that defines the structure of the message: #ifndef RSSISAMPLESC_H #define RSSISAMPLESC_H #define SAMPLES_NUM 1002 #define MESSAGE_LEN 100 enum