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

Reply via email to