[Tinyos-help] Best way to increase packet size?
Joey Wilson
doughywilson at gmail.com
Tue May 27 14:10:23 PDT 2008
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 <schip at santafe.edu>
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 <dpatricksp at gmail.com<mailto:
>> dpatricksp at gmail.com>> 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
>> <doughywilson at gmail.com <mailto:doughywilson at gmail.com>> 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 at millennium.berkeley.edu
>> <mailto:Tinyos-help at millennium.berkeley.edu>
>> >
>>
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>> >
>>
>> d
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> Tinyos-help at millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080527/99848029/attachment.htm
More information about the Tinyos-help
mailing list