Re: [Tinyos-help] error receiving packet

2010-02-03 Thread Michiel Konstapel
. Michiel From: tinyos-help-boun...@millennium.berkeley.edu [mailto:tinyos-help-boun...@millennium.berkeley.edu] On Behalf Of Arik Sapojnik Sent: dinsdag 2 februari 2010 17:38 To: wafa jaballah Cc: tinyos-help Subject: Re: [Tinyos-help] error receiving packet Wafa, It seems that your Data_Packet_t

Re: [Tinyos-help] error receiving packet

2010-02-03 Thread Arik Sapojnik
. Michiel *From:* tinyos-help-boun...@millennium.berkeley.edu [mailto: tinyos-help-boun...@millennium.berkeley.edu] *On Behalf Of *Arik Sapojnik *Sent:* dinsdag 2 februari 2010 17:38 *To:* wafa jaballah *Cc:* tinyos-help *Subject:* Re: [Tinyos-help] error receiving packet Wafa, It seems

Re: [Tinyos-help] error receiving packet

2010-02-03 Thread Michiel Konstapel
: [Tinyos-help] error receiving packet Michiel, It's a good point regarding the big buffer. But there are only one message_t for each AM type (correct me if I'm mistaken), and usually there are only few different AM types.Thus, I think this drawback is negligible and enlarges only the stack size

[Tinyos-help] error receiving packet

2010-02-02 Thread wafa jaballah
Hi all, As It was indicated in TEP , the default size of TOSH_DATA_LENGTH is 28 bytes. In my application, I use a data payload size of 38 bytes. So, I can redefine TOSH_DATA_LENGTH using the following command in Makefile -DTOSH_DATA_LENGTH=38 Is it true? Then , I define my data packet as

Re: [Tinyos-help] error receiving packet

2010-02-02 Thread Arik Sapojnik
Wafa, It seems that your Data_Packet_t size is (31 + DATA_SIZE). Is your DATA_SIZE less then 7? Anyway, I suggest you to set the TOSH_DATA_LENGTH to a high number (lets say 100). The actual packet size (in the air) is determined by the real data length, so you won't have an overhead. Arik On