Re: [Tinyos-help] Payload length influence on energy consumption and padding

2009-01-09 Thread delphine christin
works very well and there is no more padding. Best,DelphineC> Date: Thu, 11 Dec 2008 14:51:53 -0800> From: zai...@ee.ucla.edu> To: felodin...@hotmail.com> Subject: Re: [Tinyos-help] Payload length influence on energy consumption and padding> CC: tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] Payload length influence on energy consumption and padding

2008-12-17 Thread João Carlos Giacomin
Giacomin Prof-DCC-UFLA * -- Original Message --- From: "Zainul M Charbiwala" To: "delphine christin" Cc: tinyos-help@millennium.berkeley.edu Sent: Thu, 11 Dec 2008 14:51:53 -0800 Subject: Re: [Tinyos-help] Payload length influence on energy cons

Re: [Tinyos-help] Payload length influence on energy consumption and padding

2008-12-11 Thread Zainul M Charbiwala
Hi Delphine, Avrora tries to emulate the behavior of the chips as much as possible. A Mica2 radio is byte based and I know of no routine in Avrora that adds padding bytes. I believe the padding comes from TinyOS's packet management. Try changing the value of TOSH_DATA_LENGTH in tos/types/message.h

[Tinyos-help] Payload length influence on energy consumption and padding

2008-12-11 Thread delphine christin
Hello, I would like to show that the payload length influences the radio energy consumption. For example, a 4 byte payload requires less power to be sent than a 28 byte payload. In order to show it, I use the following scenario: -Boot.booted: get the data to send and switch the radio on -s