Hi!
When trying to send more than 29 bytes, by specifying TOS_MSG = 50 at
compile time (it is explained here:
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-February/014814.html)
it works fine.
I have tried larger payloads to find tinyos limits... It seems to work for
70 Bytes of
Hi,
I don't think you are changing the AM.h file correctly.
Rather than changing the AM.h file,
leave it as it is and try
$ make micaz MSG_SIZE=50
instead of "make micaz"
For example,
$ make micaz install.1 mib510,/dev/ttyS0 MSG_SIZE=50
instead of
$ make micaz install.1 mib510,/dev/ttyS0
Make sure you are changing platform/micaz/AM.h
Also this will mean some horrible mess with the UART messages
which are what you define in types/AM.h
The other option is to use micaz messages all through, which
means modifying Framer.nc for TOSBase. There were some help
messages about this in Jan
Hi, all,I'm working on MICAz and MIB510 to find out the maximum payload (user's data) of a package. I found the parameter, TOSH_DATA_LENGTH, in the file of 'AM.h' and the default is 29. I changed it into some larger values, and then made a package in my code complying to the size. But, it doen't wo