Hi,
I don't know if it is a correct way, but I changed the
TOSH_DATA_LENGTH in the message.h (tos/types)
On Tue, May 27, 2008 at 12:02 PM, Joey Wilson <[EMAIL PROTECTED]> wrote:
> I need to increase the packet size for my tinyos application to something
> greater than the 28 byte default. I am u
Thanks. I had to change both files here to get it to work on the telosb:
tos/types/message.h
tos/chips/cc2420/cc2420.h
On Tue, May 27, 2008 at 11:51 AM, Daniel Pereira <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I don't know if it is a correct way, but I changed the
> TOSH_DATA_LENGTH in the message.h
You _should_ be able to do it with a compiler command line define
in the makefile to override TOSH_DATA_LENGTH...
MS
Joey Wilson wrote:
> Thanks. I had to change both files here to get it to work on the telosb:
>
> tos/types/message.h
> tos/chips/cc2420/cc2420.h
>
> On Tue, May 27, 2008 at 11:
Good idea. I added the following line to my MakeFile and it worked:
CFLAGS += -DTOSH_DATA_LENGTH=35
The only thing that should be noted here, is that if you wish to use
some of the other parts of the TOS toolchain, like the basestation
program, you need to change the core level files.
On Tue,