Hi,
Which is the maximum possible value to TOSH_DATA_LENGTH if I am using micaz
platform with mesh?
Thanks
----- Mensaje original ----
De: antonio gonga <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED]; Edmund <[EMAIL PROTECTED]>
CC: [email protected]
Enviado: miércoles, 30 de enero, 2008 3:25:33
Asunto: RE: [Tinyos-help] Increase of Tmote sky Tos_Msg size
.hmmessage P
{
margin:0px;padding:0px;}
body.hmmessage
{
FONT-SIZE:10pt;FONT-FAMILY:Tahoma;}
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! MSN Messenger
-----Sigue archivo adjunto en el mensaje-----
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
______________________________________________
¿Con Mascota por primera vez? Sé un mejor Amigo. Entra en Yahoo! Respuestas
http://es.answers.yahoo.com/info/welcome_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help