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
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
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
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