Re: [Tinyos-help] Increase of Tmote sky Tos_Msg size

2008-03-04 Thread Lei Mlapom
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: tinyos-help@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: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: [Tinyos-help] Increase of Tmote sky Tos_Msg size
> CC: tinyos-help@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@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@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@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___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE: [Tinyos-help] Increase of Tmote sky Tos_Msg size

2008-01-29 Thread antonio gonga

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: tinyos-help@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@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@millennium.berkeley.edu
> 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
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Increase of Tmote sky Tos_Msg size

2008-01-29 Thread Michael Schippling

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@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@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Increase of Tmote sky Tos_Msg size

2008-01-29 Thread Kevin Klues
You need to increase this length and then make sure you actually send
something of that size.

Kevin

On Jan 29, 2008 10:08 AM, Edmund <[EMAIL PROTECTED]> 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@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
~Kevin
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help