You can use your own message size. The trick that I used is to resize the
message at compilation Time.
There's a TEP describing it, what you just have to do, is to add this parameter
in the makefile.
CFLAGS += DTOSH_DATA_LENGTH= X, where X is the new size of the payload you
desire (TOSH_DATA_LENGTH)
bye
> Date: Tue, 29 Jan 2008 12:50:19 -0700
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: [Tinyos-help] Increase of Tmote sky Tos_Msg size
> CC: [email protected]
>
> Make sure you are changing the right AM.h....
> I believe its this one for tmotes:
> C:\cygwin\opt\tinyos-1.1.7\tos\platform\telos\AM.h
>
> MS
>
> Edmund wrote:
> > Hi ,
> >
> > Does anyone knows how to increase the packet size of TOS_msg? I have
> > tried editing the AM.h TOSH_DATA_LENGTH to 34. But some how when I use
> > the Listen application to listen to the packets send, the number of
> > bytes in the packet is not increased. Anyone knows how to increase the
> > data inside the packet? Thank you.
> >
> >
> >
> > Regards,
> >
> > Edmund
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> --
> Platform: WinXP/Cygwin
> TinyOS version: 1.x, Boomerang
> Programmer: MIB510
> Device(s): Mica2, MicaZ, Tmote
> Sensor board: homebrew
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help