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, May 27, 2008 at 1:49 PM, Michael Schippling <[EMAIL PROTECTED]>
wrote:

> 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:51 AM, Daniel Pereira <[EMAIL PROTECTED]<mailto:
>> [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 (tos/types)
>>
>>    On Tue, May 27, 2008 at 12:02 PM, Joey Wilson
>>    <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>>     > I need to increase the packet size for my tinyos application to
>>    something
>>     > greater than the 28 byte default.  I am using tinyOS 2 and
>>    working with the
>>     > telosb platform.
>>     >
>>     > I used the tinyOS search engine
>>     >
>>    (http://www.google.com/coop/cse?cx=000490616372089452102%3Ajdf9nzpy7se
>> )
>>    and
>>     > found some information on how to increase the packet size, but
>>    there appear
>>     > to be various ways.  Can someone tell me the best/easiest way to
>>    increase
>>     > the packet size for telosb?
>>     >
>>     > Thanks for your help.
>>     >
>>     > -Joey
>>     >
>>     > _______________________________________________
>>     > Tinyos-help mailing list
>>     > Tinyos-help@millennium.berkeley.edu
>>    <mailto:Tinyos-help@millennium.berkeley.edu>
>>     >
>>
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>     >
>>
>>    d
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> Tinyos-help@millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to