I'm going to assume that there is a space between 32 and -D...
But what is TOSH_MAX_DATA_LENGTH, and why are you adding to it?
Also, I'm not sure if it makes a difference but PFLAGS get sent
to the NCC pre-compiler and CFLAGS only to the GCC compiler.
MS


Akashdeep Sodhi wrote:
> Hi
> am using this for increasing the size of my payload
> 
> CFLAGS += 
> -DTOSH_MAX_TASKS_LOG2=32-DTOSH_DATA_LENGTH=TOSH_MAX_DATA_LENGTH+18+2
> 
> if you want to see code of my receive section .i can provide you may be 
> you can suggest something by looking at the code....
> 
> thanks
> 
> 
>     Please send messages to the help list...
> 
>     The "legal" way to increase the payload size is to set TOSH_DATA_LENGTH
>     on the compile command line with something like this in the makefile:
> 
>     PFLAGS += -DTOSH_DATA_LENGTH=32
> 
>     If you did it another way you may have missed something.
> 
> 
>     As for getting to distant re-Motes, search for tinyos multi-hop
>     protocols.
>     Everybody and their uncle has a version and some of them work sometimes.
> 
>     MS
> 
> 
> 
> -- 
> Regards
> Akashdeep Singh Sodhi
> 
> 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to