Hi,

> For a mote in the field, is it the correct way to change the
> "TOSH_DATA_LENGTH" macro within the AM.h of some radio chip like the RF230
> so that I can include more data within my header file and send more data
> within one packet? What's the maximum data length of it? Is it possible to
> include about 200 bytes of data in one packet?  For the base program, what
> changes do I have to make to receive the long packet resulting to changes of
> the mote's setting?

This is certainly not the correct way to proceed. Because of the RF230
chip, you cannot transmit more than 127 bytes total in one packet,
including all the header data and CRC. Moreover, the longer your
packet is, the more likely that you will run into collisions and data
corruption, but maybe this is not an issue in practice, I have not
tried. I would suggest you to use the default settings and build a
multi-packet protocol on top of that to download or upload arbitrary
length datasets. Search the mailing list archives, I cannot give you
pointer on how to do this. But I am sure such projects exist for T2
and are platform independent.

Miklos
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to