Re: [Tinyos-help] DATA_LENGTH is eating my brain....................
wellnot exactly...but close... mica2 uses the tos/types/AM.h file for both radio and UART, the others (micaz at least) use a platform local AM.h for radio, but (usually) TOSBase translates the struct to the types/AM.h format for UART transmission. Could that be any more confusing? So if not using mica2 I beleive you need to change the length in both platform and types files. As to why it doesn't work...sorry, I never tried it myself. MS Andres Aberasturi wrote: Hi, The AM.h you have to change is in the directory tinyos\cygwin\opt\tinyos-1.x\tos\XXX\, where XXX is the platform you are using (micaz, mica2, telos, ...). Andrés. From: "primalfear 69" <[EMAIL PROTECTED]> To: tinyos-help Subject: [Tinyos-help] DATA_LENGTH is eating my brain Date: Thu, 26 Oct 2006 11:46:32 +0530 Hello everybody by default TOSH_DATA_LENGTH is 29.. i want to increase by some more say 50. am not able to get where i have to change i have made the following changes. *FILE NAME* *PATH* ** 1) AM.h tinyos\cygwin\opt\tinyos- 1.x\tos\types after changing the length to say 50... and installed in all the motes and found nothing is coming..:( am not able to get any packet :(( what could be the reason... ? is there any other place where i have to change something else too.. Is myAM.h has something to do with these..?? myAM.h could be found in tinyos\cygwin\opt\tinyos- 1.x\contrib\tinydiff\tos\system ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _ Acepta el reto MSN Premium: Correos más divertidos con fotos y textos increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] DATA_LENGTH is eating my brain....................
Hy Primalfear, if you want to know, which files are included you'll have to take a look at app.c in [yourApp]/build/[platform]. Just search for "Am.h" in that file and you'll find the path of the including header. A few lines beneath you also should see the enum assignment of "DATA_LENGTH". If you are using Boomerang try using "make tmote fileset" to generate a textfile "fileset.txt" in [yourApp]/build/tmote that lists the used components and headers including the location of each source file, e.g. "Am.h". Regards, OLE - Original Message - From: "Andres Aberasturi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Thursday, October 26, 2006 8:31 AM Subject: RE: [Tinyos-help] DATA_LENGTH is eating my brain Hi, The AM.h you have to change is in the directory tinyos\cygwin\opt\tinyos-1.x\tos\XXX\, where XXX is the platform you are using (micaz, mica2, telos, ...). Andrés. From: "primalfear 69" <[EMAIL PROTECTED]> To: tinyos-help Subject: [Tinyos-help] DATA_LENGTH is eating my brain Date: Thu, 26 Oct 2006 11:46:32 +0530 Hello everybody by default TOSH_DATA_LENGTH is 29.. i want to increase by some more say 50. am not able to get where i have to change i have made the following changes. *FILE NAME* *PATH* ** 1) AM.h tinyos\cygwin\opt\tinyos- 1.x\tos\types after changing the length to say 50... and installed in all the motes and found nothing is coming..:( am not able to get any packet :(( what could be the reason... ? is there any other place where i have to change something else too.. Is myAM.h has something to do with these..?? myAM.h could be found in tinyos\cygwin\opt\tinyos- 1.x\contrib\tinydiff\tos\system ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _ Acepta el reto MSN Premium: Correos más divertidos con fotos y textos increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
RE: [Tinyos-help] DATA_LENGTH is eating my brain....................
Hi, The AM.h you have to change is in the directory tinyos\cygwin\opt\tinyos-1.x\tos\XXX\, where XXX is the platform you are using (micaz, mica2, telos, ...). Andrés. From: "primalfear 69" <[EMAIL PROTECTED]> To: tinyos-help Subject: [Tinyos-help] DATA_LENGTH is eating my brain Date: Thu, 26 Oct 2006 11:46:32 +0530 Hello everybody by default TOSH_DATA_LENGTH is 29.. i want to increase by some more say 50. am not able to get where i have to change i have made the following changes. *FILE NAME* *PATH* ** 1) AM.h tinyos\cygwin\opt\tinyos- 1.x\tos\types after changing the length to say 50... and installed in all the motes and found nothing is coming..:( am not able to get any packet :(( what could be the reason... ? is there any other place where i have to change something else too.. Is myAM.h has something to do with these..?? myAM.h could be found in tinyos\cygwin\opt\tinyos- 1.x\contrib\tinydiff\tos\system ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _ Acepta el reto MSN Premium: Correos más divertidos con fotos y textos increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] DATA_LENGTH is eating my brain....................
Hello everybody by default TOSH_DATA_LENGTH is 29.. i want to increase by some more say 50. am not able to get where i have to change i have made the following changes. FILE NAME PATH 1) AM.h tinyos\cygwin\opt\tinyos-1.x\tos\types after changing the length to say 50... and installed in all the motes and found nothing is coming..:( am not able to get any packet :(( what could be the reason... ? is there any other place where i have to change something else too.. Is myAM.h has something to do with these..?? myAM.h could be found in tinyos\cygwin\opt\tinyos-1.x\contrib\tinydiff\tos\system ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help