[Tinyos-help] Best way to increase packet size?

Michael Schippling schip at santafe.edu
Tue May 27 12:49:14 PDT 2008


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


More information about the Tinyos-help mailing list