[Tinyos-help] CC2420 packet size

Abhishek Jain abhishekjain.itbhu at gmail.com
Tue Apr 3 17:14:13 PDT 2007


Yes, that I know. For eg, I can put MSG_LENGTH = x in the makefile of
my application (for telos motes) and it works. But I want to add new
fields to the tinyos header, so I want to increase the default "total"
packet size in general.

On 4/3/07, Tony Mancill <tmancill at wsu.edu> wrote:
> You can increase the data portion of the structure by defining
> TOSH_DATA_LENGTH in your Makefile.  For example:
>
> CFLAGS += -DTOSH_DATA_LENGTH=64
>
> tony
>
> Abhishek Jain wrote:
> > Hi,
> >
> > How can I change the default total packet size for CC2420 in
> > tinyos-1.x? As per the packet structure defined in AM.h for telos
> > motes, the default total size seems to be 40 bytes including 28 bytes
> > for the data payload and excluding the extra fields which are not sent
> > over the radio.
> >
> > thanks,
> > Abhishek
>
>


-- 
All you need in life is ignorance and confidence, and then success is sure.


More information about the Tinyos-help mailing list