[Tinyos-help] Increase of Tmote sky Tos_Msg size

Lei Mlapom lmuguira at yahoo.es
Tue Mar 4 07:21:24 PST 2008


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 <ask25019fe at hotmail.com>
Para: schip at santafe.edu; Edmund <versa83 at yahoo.com.sg>
CC: tinyos-help at millennium.berkeley.edu
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: schip at santafe.edu
> To: versa83 at yahoo.com.sg
> Subject: Re: [Tinyos-help] Increase of Tmote sky Tos_Msg size
> CC: tinyos-help at millennium.berkeley.edu
> 
> 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
> > Tinyos-help at millennium.berkeley.edu
> > 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
> Tinyos-help at millennium.berkeley.edu
> 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
Tinyos-help at millennium.berkeley.edu
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080304/2443fa24/attachment.html


More information about the Tinyos-help mailing list