It depends upon the radio model you are using. I have dug up the archives and found a reply from Joe Palastre. The max length (radio buffering capacity) for CC1000 is 256 bytes whilst it is equal to 128 for the CC2420.
You can also have a look at the radio chip data sheet. Also, I think that you were talking about the "default" *not* "max" length. You should follow Faisal's reply. Hope this helps. Ittipong 2009/7/23 Faisal Aslam <[email protected]> > I think the maximum will be 256. It is because according to TEP 111 the > length field is one byte long. However, in practice you might not be > able to send packets that long because of RAM constraints. > By default it send packet of payload length 28. You can increase it by > setting TOSH_DATA_LENGTH at compile time. > I suggest do not change it at runtime but only compile time. > In your application Makefile add CFLAGS += -DTOSH_DATA_LENGTH=110 to > increase length to 110. > > best regards, > Faisal > > chikh omar wrote: > > what is the maximum length of message that we can send over the radio > > using AMsend(...)? and How to do if we which to send more than this max? > > > > > > *********************************************** > > Omar Cheikhrouhou > > **Engineer & Researcher @SENS Lab (Software Engineering and Network > > Security) > > Higher Institute of Technological Studies - Address : Mahdia's road Km > > 2.5 Sfax. BP 88 A - 3099 El Bustan Sfax Telephone : (+216)74 237425 > > Poste : 437** **Fax: : (+216)74 431 386* > > > > *Ph.D @ CES Lab (Computer and Embedded System)-University of Sfax, > > National School of Engineers BP W, Sfax, 3038, Tunisia , > > Fax:(+216)74665369 ** * > > > > *Coordinator C2i @ ISET Sfax (Certified C2i since 2008)* > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
